System.Linq.Dynamic.ExpressionParser.AddInterface C# (CSharp) Method

AddInterface() private static method

private static AddInterface ( ICollection types, Type type ) : void
types ICollection
type System.Type
return void
		private static void AddInterface(ICollection<Type> types, Type type)
		{
			if (types.Contains(type))
				return;
			types.Add(type);
			foreach (Type t in type.GetInterfaces())
			{
				AddInterface(types, t);
			}
		}
ExpressionParser