internal SupportedEnumerableTypes(Type type, EnumerableInterface enumerableInterface, EnumerableInterfaceKind enumerableInterfaceKind, bool isReadOnly, Type typeToBuild) { this.Type = type; this.IsReadOnly = isReadOnly; this.EnumerableInterfaceKind = enumerableInterfaceKind; this.EnumerableInterface = enumerableInterface; this.TypeToBuild = typeToBuild; }
static void AddType(Type type, EnumerableInterface enumerableInterface, EnumerableInterfaceKind enumerableInterfaceKind, bool isReadOnly, Type typeToBuild) { Types.Add(type, new SupportedEnumerableTypes(type, enumerableInterface, enumerableInterfaceKind, isReadOnly, typeToBuild)); }