18 namespace DynVarManagement {
24 private bool everythingDynamic;
32 private bool everythingStatic;
40 get {
return this.everythingDynamic; }
41 set { this.everythingDynamic = value; }
48 get {
return this.everythingStatic; }
49 set { this.everythingStatic = value; }
53 #region SingletonDesignPattern
63 private static DynVarOptions instance;
87 typeExpression1.IsDynamic = typeExpression2.IsDynamic =
true;
92 typeExpression1.IsDynamic = typeExpression2.IsDynamic =
false;
95 typeExpression1.IsDynamic = typeExpression2.IsDynamic = typeExpression1.IsDynamic | typeExpression2.IsDynamic;
101 typeExpression.IsDynamic =
true;
106 typeExpression.IsDynamic =
false;
109 typeExpression.IsDynamic = isDynamic;
Abstract class that represents all different types.
void AssignDynamism(TypeExpression typeExpression1, TypeExpression typeExpression2)
To assign the IsDynamicProperty
static DynVarOptions Instance
Unique class instance (Singleton)
Offers the global options of the dynamic behaviour configuration.
void AssignDynamism(TypeExpression typeExpression, bool isDynamic)
bool EverythingDynamic
To ignore all the dyn files, setting all the references to dynamic.
bool EverythingStatic
To ignore all the dyn files, setting all the references to dynamic.