Summary
Returns
System.Type[1] { type }.
The array is kept in a field marked with [System.ThreadStaticAttribute], so it is thread safe
but cannot be used recursively within a single thread.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- ReflectionUtilities
Syntax
public static Type[] OneType(Type type)
Parameters
| Name | Type | Description |
|---|---|---|
| type | Type |
Return Value
| Type | Description |
|---|---|
| Type[] |