Inheritance: ValueAttribute
Example #1
0
 /// Constructor
 public CommandParameter(ParameterInfo pi)
 {
     _name = pi.Name;
     _paramType = pi.ParameterType;
     _paramAttribute = Attribute.GetCustomAttribute(pi, typeof(ParameterAttribute)) as ParameterAttribute;
 }
Example #2
0
 /// Constructor
 public CommandParameter(ParameterInfo pi)
 {
     _name           = pi.Name;
     _paramType      = pi.ParameterType;
     _paramAttribute = Attribute.GetCustomAttribute(pi, typeof(ParameterAttribute)) as ParameterAttribute;
 }