Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Serialization / IArguments­Writer / Set­Value

Method SetValue

SetValue(String, Object, String)

Sets the value of an argument.

Declaration
void SetValue(string name, object value, string scope = null)
Parameters
Type Name Description
String name

Argument name.

Object value

Argument value. The value can be null or must be serializable.

String scope

An optional prefix of name, similar to a namespace.