예제 #1
0
 public Property(StratabaseBackedModel owner, string propertyName)
 {
     m_owner     = owner;
     this.Access = owner.SB.GeneratePropertyAccess <T>(owner.Id, propertyName);
     this.Access.ValueChanged += this.Access_OnValueChanged;
     this.ResetCache();
 }
예제 #2
0
 public AdaptedListProperty(StratabaseBackedModel owner, string propertyName, StrataListPropertyAdapter <TStrataElementValue, TAdaptedElementValue> .ConvertAccessToOutput factory)
 {
     m_accessWraper = new ListProperty <TStrataElementValue>(owner, propertyName);
     m_adapter      = new StrataListPropertyAdapter <TStrataElementValue, TAdaptedElementValue>(m_accessWraper.Access, factory);
 }
예제 #3
0
 public ListProperty(StratabaseBackedModel owner, string propertyName)
 {
     m_owner     = owner;
     this.Access = owner.SB.GenerateListPropertyAccess <TElement>(owner.Id, propertyName);
     this.Access.ValueChanged += this.Access_OnValueChanged;
 }