Method AddNamespaces
AddNamespaces(ICollection<String>, Boolean)
Creates a new TypeSet that includes all types in the specified namespaces
and all types in this TypeSet.
If includeSubClasses
is true
, all
subclasses of the matched types will also be added.
Declaration
public TypeSet AddNamespaces(ICollection<string> namespaces, bool includeSubClasses)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.String> | namespaces | The namespaces 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. |
AddNamespaces(ICollection<String>)
Creates a new TypeSet that includes all types in the specified namespaces and all types in this TypeSet.
Declaration
public TypeSet AddNamespaces(ICollection<string> namespaces)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.String> | namespaces | The namespaces of the |
Returns
Type | Description |
---|---|
TypeSet | A new TypeSet that contains the matched types, in addition to the types in this TypeSet. |