Skip to content

scoping and inheritance

vijay@envivo edited this page Oct 21, 2023 · 4 revisions

Scoping and Inheritance

An important note before you get started.

Fresnel follows all of the standard behaviour of .NET for scoping and inheritance:

  • Anything that is public becomes visible in the UI
  • Anything that is internal or private is not visible
  • Interfaces and Abstract Types cannot be created
  • If a property (or method parameter) accepts a polymorphic type, any subclass can be used

NB: Pay special attention to any polymorphic behaviour. Be thoughtful when creating inheritance hierarchies within your model, and check that subtypes don't cause undesired effects (Liskov Substitution Principle).

Clone this wiki locally