Repository navigation
scoping and inheritance
vijay@envivo edited this page Oct 21, 2023
·
4 revisions
An important note before you get started.
Fresnel follows all of the standard behaviour of .NET for scoping and inheritance:
- Anything that is
publicbecomes visible in the UI - Anything that is
internalorprivateis 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).
Copyright © 2022-2026 Envivo Software
-
Objects
-
Configuring your Model
-
Testing your model
-
Other features