public WxeParameterDeclaration(string name, bool required, WxeParameterDirection direction, Type type)
 {
     _name      = name;
     _required  = required;
     _direction = direction;
     _type      = type;
 }
Beispiel #2
0
 public WxePageParameterAttribute(int index, string name, Type type, bool required, WxeParameterDirection direction)
 {
     _index     = index;
     _name      = name;
     _type      = type;
     _required  = required;
     _direction = direction;
 }
 private WxeParameterAttribute(int index, bool?required, WxeParameterDirection direction)
 {
     _index     = index;
     _required  = required;
     _direction = direction;
 }
 /// <summary>
 /// Declares a property as WXE function parameter.
 /// </summary>
 /// <param name="index"> Index of the parameter within the function's parameter list. </param>
 /// <param name="required"> Speficies whether this parameter must be specified (an not
 ///     be <see langword="null"/>). Default is <see langword="true"/> for value types
 ///     and <see langword="false"/> for reference types. </param>
 /// <param name="direction"> Declares the parameter as input or output parameter, or both. </param>
 public WxeParameterAttribute(int index, bool required, WxeParameterDirection direction)
     : this(index, (bool?)required, direction)
 {
 }
 public WxeParameterAttribute(int index, WxeParameterDirection direction)
     : this(index, null, direction)
 {
 }
Beispiel #6
0
 public WxePageParameterAttribute(int index, string name, Type type, WxeParameterDirection direction)
     : this(index, name, type, false, direction)
 {
 }