Example #1
0
        static DynamicPropertyCollection()
        {
            var handler = new AttributeMemoService <DynamicPropertyCollection>
                          .AttributeHandler(t => t.SetupDynamicProperties());

            attrMemoService.RegisterHandler <HasDynamicPropertiesAttribute>(handler, true);
        }
Example #2
0
        static UpdatableObject()
        {
            var handler = new AttributeMemoService <UpdatableObject> .AttributeHandler(
                obj => { obj.ManuallyUpdate = true; });

            attrMemoService.RegisterHandler <ManualUpdateAttribute>(handler);
        }
 static PartialEngineAdapter()
 {
     var handler = new AttributeMemoService<PartialEngineAdapter>.AttributeHandler(o => o.IsPartial = true);
     attrMemoService.RegisterHandler<PartialEngineAttribute>(handler);
 }
 static UpdatableObject()
 {
     var handler = new AttributeMemoService<UpdatableObject>.AttributeHandler(
         obj => { obj.ManuallyUpdate = true; });
     attrMemoService.RegisterHandler<ManualUpdateAttribute>(handler);
 }
        static PartialEngineAdapter()
        {
            var handler = new AttributeMemoService <PartialEngineAdapter> .AttributeHandler(o => o.IsPartial = true);

            attrMemoService.RegisterHandler <PartialEngineAttribute>(handler);
        }