Open sandboxFocus

Property Parameters

Parameters

Gets the list of parameters of the current Method, Constructor, Property or Indexer or throws an exception if the advice does not target a method, constructor, property or indexer.

Declaration
IParameterList Parameters { get; }
Property Value
Type Description
IParameterList
Remarks

Access parameter values using indexer syntax: meta.Target.Parameters[0].Value or meta.Target.Parameters["paramName"].Value. You can also modify parameter values before calling meta.Proceed(), and the modified values will be passed to the original implementation.

See Also