Пример #1
0
        public void AddPossibleType(IObjectGraphType type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            this.IsValidInterfaceFor(type, throwError: true);
            PossibleTypes.Add(type);
        }
Пример #2
0
 public void AddPossibleType(IObjectGraphType type)
 {
     PossibleTypes.Add(type);
 }