This project has moved. For the latest updates, please go here.

Method Parameter Element

The Method Parameter element describes the parameter of the method.

Format

<Parameter name="..." type="..." isViewModel="..."/>

Attributes

Name Type Required Description
name string yes The name of the parameter of the method
type string yes The type (including the namespace) of the parameter. This parameter is passed on to the wrapped method. Therefore the type should match the type of the wrapped method parameter; there should be a implicit conversion available or the parameter should be marked with the isViewModel attribute set to true to use the ToModel mapping method.
isViewModel boolean no When true the parameter will be mapped to the Model class that will then be passed on to the wrapped method.

Child Elements

  • None

Last edited Jun 20, 2010 at 1:24 PM by Erno_de_Weerd, version 2

Comments

No comments yet.