public UnknownComponentConfigurationObject(IDictionary <string, object> componentSpecificConfiguration, IUnknownComponentConfigurationObject that) : base(componentSpecificConfiguration, typeof(TSpecification)) { if ((object)componentSpecificConfiguration == null) { throw new ArgumentNullException(nameof(componentSpecificConfiguration)); } if ((object)that == null) { throw new ArgumentNullException(nameof(that)); } if ((object)base.ComponentSpecificConfiguration != null && (object)that.ComponentSpecificConfiguration != null) { foreach (KeyValuePair <string, object> keyValuePair in that.ComponentSpecificConfiguration) { base.ComponentSpecificConfiguration.Add(keyValuePair.Key, keyValuePair.Value); } } this.ComponentAssemblyQualifiedTypeName = that.ComponentAssemblyQualifiedTypeName; this.Parent = that.Parent; this.Surround = that.Surround; }
public UnknownComponentConfigurationObject(IUnknownComponentConfigurationObject that) : this(new Dictionary <string, object>(), that) { }