Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Serialization / IArguments­Reader / Get­Value

Method GetValue

GetValue<T>(String, String)

Reads a value from the collection, and throws an exception if the value does not exist.

Declaration
T GetValue<T>(string name, string scope = null)
Parameters
Type Name Description
String name

Argument name.

String scope

An optional prefix of name, similar to a namespace.

Returns
Type Description
T

The value of the argument named name in the given optional scope.

Type Parameters
Name Description
T

Value type.