Class TypeList
List of declaring types that are allowed.
Inheritance
System.Object
TypeList
Implements
System.Collections.Generic.IEnumerable<System.Type>
System.Collections.IEnumerable
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public class TypeList : Object, IEnumerable<Type>, IEnumerable
Methods
Add(Type)
Adds the specified type to the list of allowed types.
Declaration
public void Add(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Type to add to the list of allowed types. |
Add(Type, Boolean)
Adds the specified type to the list of allowed types, optionally including base types.
Declaration
public void Add(Type type, bool includeBase)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Type to add to the list of allowed types. |
System.Boolean | includeBase | Indicates whether to include base types, i.e. base classes and interfaces. |
Implements
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable