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

IArgumentsWriter.SetValue Method

SetValue(String, Object, String)

Sets the value of an argument.

void SetValue(string name, object value, string scope = null)
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.