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