2

What is the different between the Arguments collection and the Inputs collection in the IMethodInvocation interface?

Both are types of IParameterCollection.

BanksySan
  • 27,362
  • 33
  • 117
  • 216

1 Answers1

1

The Arguments collection contains all parameters to the call: in, out and byref.

The Inputs collection gets the inputs for this call.

Source: http://msdn.microsoft.com/en-us/library/microsoft.practices.unity.interceptionextension.imethodinvocation.inputs.aspx and http://msdn.microsoft.com/en-us/library/microsoft.practices.unity.interceptionextension.imethodinvocation.arguments.aspx

gabsferreira
  • 3,089
  • 7
  • 37
  • 61