Method SubtractNamespaces
SubtractNamespaces(ICollection<String>, Boolean)
Creates a new TypeSet with all types in the specified namespaces
removed from the types in this TypeSet.
If includeSubClasses is true, all
subclasses of the matched types will also be removed.
Declaration
public TypeSet SubtractNamespaces(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 removed. |
Returns
| Type | Description |
|---|---|
| TypeSet | A new TypeSet that contains the types in this TypeSet, but with the specified types removed. |
SubtractNamespaces(ICollection<String>)
Creates a new TypeSet with all types in the specified namespaces removed from the types in this TypeSet.
Declaration
public TypeSet SubtractNamespaces(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 types in this TypeSet, but with the specified types removed. |