protected override void Context()
 {
     _metaDataKeyValue = new MetaDataKeyValue {
         Key = "Key", Value = "Value"
     };
     base.Context();
 }
 protected override void Context()
 {
     _metaDataKeyValue = new MetaDataKeyValue {
         Key = "Key", Value = "Value"
     };
     base.Context();
     _dataRepository.ExtendedProperties.Add(new ExtendedProperty <string> {
         Name = "Key", Value = "Value"
     });
 }
 protected AddOrRemoveObservedDataMetaDataAbstractCommand(DataRepository observedData, MetaDataKeyValue metaDataKeyValue)
     : base(observedData)
 {
     _metaDataKeyValue = metaDataKeyValue;
     _observedDataId   = _observedData.Id;
 }
 public AddObservedDataMetaDataCommand(DataRepository observedData, MetaDataKeyValue metaDataKeyValue)
     : base(observedData, metaDataKeyValue)
 {
     CommandType = Command.CommandTypeAdd;
 }
Esempio n. 5
0
 public RemoveObservedDataMetaDataCommand(DataRepository observedData, MetaDataKeyValue metaDataKeyValue)
     : base(observedData, metaDataKeyValue)
 {
     CommandType = Command.CommandTypeDelete;
 }