Ejemplo n.º 1
0
 internal Parameter ExportArgument(DataSerialization.Argument argument, XmlQualifiedName dataType, Action <TraceMessage> traceEvent)
 {
     InformationModelFactory.Argument _ret = new InformationModelFactory.Argument()
     {
         DataType   = dataType,
         Identifier = new Nullable <int>(),
         Name       = argument.Name,
         ValueRank  = argument.ValueRank.GetValueRank(traceEvent)
     };
     if (argument.Description != null)
     {
         _ret.AddDescription(argument.Description.Locale, argument.Description.Text);
     }
     return(_ret);
 }
Ejemplo n.º 2
0
 internal Parameter ExportArgument(DataSerialization.Argument argument, XmlQualifiedName dataType, Action<TraceMessage> traceEvent)
 {
     InformationModelFactory.Argument _ret = new InformationModelFactory.Argument()
       {
     DataType = dataType,
     Identifier = new Nullable<int>(),
     Name = argument.Name,
     ValueRank = argument.ValueRank.GetValueRank(traceEvent)
       };
       if (argument.Description != null)
     _ret.AddDescription(argument.Description.Locale, argument.Description.Text);
       return _ret;
 }