Creates a type name from a type.
Namespace:
Gallio.Common.ReflectionAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public TypeName( Type type ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ type As Type _ ) |
Parameters
- type
- Type: System..::.Type
The type.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if type is null. |
| System..::.ArgumentException | Thrown if type does not have a valid FullName property (for example, it represents a generic type parameter). |
