TryGetValue(out T)
Gets the value of the current project, if PostSharp is processing a project.
Declaration
public bool TryGetValue(out T value)Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value of the current project, or the default value of |
Returns
| Type | Description |
|---|---|
| bool |
|
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | PostSharp runs, but is not processing a project in the current thread. |