Beispiel #1
0
 protected virtual AdaptedListProperty <TStrataElementValue, TAdaptedElementValue> GenerateAdaptedListProperty <TStrataElementValue, TAdaptedElementValue> (string propName, StrataListPropertyAdapter <TStrataElementValue, TAdaptedElementValue> .ConvertAccessToOutput factory)
 {
     return(new AdaptedListProperty <TStrataElementValue, TAdaptedElementValue>(this, propName, factory));
 }
Beispiel #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);
 }