static DynamicPropertyCollection() { var handler = new AttributeMemoService <DynamicPropertyCollection> .AttributeHandler(t => t.SetupDynamicProperties()); attrMemoService.RegisterHandler <HasDynamicPropertiesAttribute>(handler, true); }
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); }