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(); }
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); }
public ListProperty(StratabaseBackedModel owner, string propertyName) { m_owner = owner; this.Access = owner.SB.GenerateListPropertyAccess <TElement>(owner.Id, propertyName); this.Access.ValueChanged += this.Access_OnValueChanged; }