Method Add
Add(Type[], Boolean)
Creates a new TypeSet with the supplied types
added to the types in this TypeSet.
If includeSubClasses
is true, all
subclasses of the matched types will also be added.
Declaration
public TypeSet Add(Type[] types, bool includeSubClasses)
Parameters
Type | Name | Description |
---|---|---|
System.Type[] | types | The System.Types to include in the new TypeSet. |
System.Boolean | includeSubClasses | Indicates whether subclasses of the specified |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the supplied |
Add(Type[])
Declaration
public TypeSet Add(Type[] types)
Parameters
Type | Name | Description |
---|---|---|
System.Type[] | types | The System.Types to include in the new TypeSet. |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the supplied |
Add(Type, Boolean)
Creates a new TypeSet with the supplied type
added to the types in this TypeSet.
If includeSubClasses
is true, all
subclasses of the matched types will also be added.
Declaration
public TypeSet Add(Type type, bool includeSubClasses)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The System.Type to include in the new TypeSet. |
System.Boolean | includeSubClasses | Indicates whether subclasses of the specified |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the supplied |
Add(Type)
Declaration
public TypeSet Add(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The System.Type to include in the new TypeSet. |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the supplied |
Add(String[], Boolean)
Creates a new TypeSet that includes all types that match the
supplied typeNames
and all types in this TypeSet.
If includeSubClasses
is true, all
subclasses of the matched types will also be added.
Declaration
public TypeSet Add(string[] typeNames, bool includeSubClasses)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | typeNames | An array containing the names of the |
System.Boolean | includeSubClasses | Indicates whether subclasses of the matched types should also be added. |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the matched types, in addition to the types in this TypeSet. |
Add(String[])
Creates a new TypeSet that includes all types that match the
supplied typeNames
and all types in this TypeSet.
Declaration
public TypeSet Add(string[] typeNames)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | typeNames | An array containing the names of the |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the matched types, in addition to the types in this TypeSet. |
Add(String, Boolean)
Creates a new TypeSet that includes all types that match the
supplied typeName
and all types in this TypeSet.
If includeSubClasses
is true
, all
subclasses of the matched types will also be added.
Declaration
public TypeSet Add(string typeName, bool includeSubClasses)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName | The names of the |
System.Boolean | includeSubClasses | Indicates whether subclasses of the matched types should also be added. |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the matched types, in addition to the types in this TypeSet. |
Add(String)
Creates a new TypeSet that includes all types that match the
supplied typeName
and all types in this TypeSet.
Declaration
public TypeSet Add(string typeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName | The names of the |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the matched types, in addition to the types in this TypeSet. |