PostSharpAPI ReferencePost­Sharp.​SerializationIArguments­WriterSet­Value
Open sandboxFocus

IArgumentsWriter.SetValue Method

SetValue(String, Object, String)

Sets the value of an argument.

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

Argument name.

Object value

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

System.String scope

An optional prefix of name, similar to a namespace.