Exemplo n.º 1
0
 protected StoragePropertyAccessor(bool readOnly, PropertyChangeMetadata.PropertyGroup propertyChangeMetadataGroup = null, IEnumerable <Microsoft.Exchange.Data.PropertyDefinition> dependencies = null) : base(readOnly)
 {
     this.PropertyChangeMetadataGroup = propertyChangeMetadataGroup;
     this.Dependencies = (dependencies ?? ((IEnumerable <Microsoft.Exchange.Data.PropertyDefinition>)propertyChangeMetadataGroup));
 }
Exemplo n.º 2
0
 public DelegatedStoragePropertyAccessor(DelegatedPropertyAccessor <TStoreObject, TValue> .TryGetValueFunc getterDelegate, Action <TStoreObject, TValue> setterDelegate = null, DelegatedStoragePropertyAccessor <TStoreObject, TValue> .TryGetValueFromCollectionFunc propertyValueCollectionGetterDelegate = null, PropertyChangeMetadata.PropertyGroup propertyChangeMetadataGroup = null, params Microsoft.Exchange.Data.PropertyDefinition[] dependencies) : base(getterDelegate, setterDelegate)
 {
     this.propertyValueCollectionGetterDelegate = propertyValueCollectionGetterDelegate;
     this.PropertyChangeMetadataGroup           = propertyChangeMetadataGroup;
     this.Dependencies = ((dependencies.Length == 0) ? ((IEnumerable <Microsoft.Exchange.Data.PropertyDefinition>)propertyChangeMetadataGroup) : dependencies);
 }