Esempio n. 1
0
        public void AddPossibleType(IObjectGraphType type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

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