/// <summary> /// Copy data from <paramref name="value"/> into this instance /// </summary> public MatchConfigurationMetadata(IRecordMatchingConfigurationMetadata value) { this.Version = 1; this.CreatedBy = value.CreatedBy; this.CreationTime = value.CreationTime.DateTime; this.State = value.State; this.Tags = new List <MatchConfigurationMetadataTag>(value.Tags.Select(o => new MatchConfigurationMetadataTag() { Key = o.Key, Value = o.Value })); }
/// <summary> /// Saving to assemblies not supported /// </summary> public IRecordMatchingConfiguration SetMetadata(string name, IRecordMatchingConfigurationMetadata metadata) { throw new NotSupportedException("Saving to assemblies is not supported"); }
/// <summary> /// Set metadata /// </summary> public IRecordMatchingConfiguration SetMetadata(string name, IRecordMatchingConfigurationMetadata metadata) { throw new NotSupportedException("This service does not support saving match configurations"); }