Exemplo n.º 1
0
        public PerformanceModel(PropBagTypeSafetyMode typeSafetyMode, IPropStoreAccessServiceCreator <UInt32, String> storeCreator, IPropFactory factory, string fullClassName) : base(typeSafetyMode, storeCreator, factory, null)
        {
            AddProp <object>("PropObject");

            AddProp <string>("PropString", null, null, initialValue: "");

            AddPropObjComp <string>("PropStringUseRefComp");

            AddProp <bool>("PropBool", null, null, initialValue: false);

            AddProp <int>("PropInt");

            AddProp <TimeSpan>("PropTimeSpan");

            AddProp <Uri>("PropUri");

            AddProp <Lazy <int> >("PropLazyInt");

            AddProp <Nullable <int> >("PropNullableInt", null, null, initialValue: -1);

            AddProp <ICollection <int> >("PropICollectionInt", null, null, initialValue: null);
        }
Exemplo n.º 2
0
 public PerformanceModel(PropBagTypeSafetyMode typeSafetyMode, IPropStoreAccessServiceCreator <UInt32, String> storeCreator) : this(typeSafetyMode, storeCreator, null, null)
 {
 }
Exemplo n.º 3
0
 public PerformanceModel(IPropStoreAccessServiceCreator <UInt32, String> storeCreator) : this(PropBagTypeSafetyMode.AllPropsMustBeRegistered, storeCreator, null, null)
 {
 }