Ejemplo n.º 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();
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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;
 }