/// <inheritdoc/> public void AddPossibleType(IObjectGraphType type) { if (type == null) { throw new ArgumentNullException(nameof(type)); } this.IsValidInterfaceFor(type, throwError: true); PossibleTypes.Add(type); }
/// <inheritdoc/> public void AddPossibleType(IObjectGraphType type) { PossibleTypes.Add(type); }