Parses the assembly signature from a string.
Namespace:
Gallio.Common.ReflectionAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static AssemblySignature Parse( string str ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Parse ( _ str As String _ ) As AssemblySignature |
Parameters
- str
- Type: System..::.String
The string to parse.
Return Value
The parsed signature.
Remarks
The string takes the form of following forms:
- "AssemblyName"
- "AssemblyName, Version=1.2.0.0"
- "AssemblyName, Version=1.2.0.0-1.3.65535.65535"
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if str is null. |
| System..::.ArgumentException | Thrown if str is malformed. |
