BanksySan
BanksySan

Reputation: 28510

Difference between Arguments and Inputs in IMethodInvocation

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

Both are types of IParameterCollection.

Upvotes: 2

Views: 1057

Answers (1)

gabsferreira
gabsferreira

Reputation: 3137

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

Upvotes: 1

Related Questions