Exemple #1
0
        public void AddPossibleType(IObjectGraphType type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            this.IsValidInterfaceFor(type, throwError: true);
            PossibleTypes.Add(type);
        }
Exemple #2
0
 public void AddPossibleType(IObjectGraphType type)
 {
     PossibleTypes.Add(type);
 }