/// <summary>
 /// Initializes a new instance of the <see cref="MorestachioFormatterModel"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="inputType">Type of the input.</param>
 /// <param name="outputType">Type of the output.</param>
 /// <param name="inputDescription">The input description.</param>
 /// <param name="output">The output.</param>
 /// <param name="function">The function.</param>
 public MorestachioFormatterModel(string name, string description,
                                  Type inputType,
                                  Type outputType,
                                  InputDescription[] inputDescription,
                                  string output,
                                  MethodInfo function,
                                  MultiFormatterInfoCollection metaData)
     : this(name, description, inputType, inputDescription, output, function, metaData)
 {
     OutputType = outputType;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MorestachioFormatterModel"/> class.
 /// </summary>
 public MorestachioFormatterModel(string name, string description,
                                  Type inputType,
                                  Type outputType,
                                  InputDescription[] inputDescription,
                                  string output,
                                  MethodInfo function,
                                  MultiFormatterInfoCollection metaData,
                                  bool isGlobalFormatter,
                                  bool linkFunctionTarget)
     : this(name, description, inputType, inputDescription, output, function, metaData, isGlobalFormatter, linkFunctionTarget)
 {
     OutputType = outputType;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MorestachioFormatterModel"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="inputType">Type of the input.</param>
 /// <param name="inputDescription">The input description.</param>
 /// <param name="output">The output.</param>
 /// <param name="function">The function.</param>
 public MorestachioFormatterModel(
     string name,
     string description,
     Type inputType,
     InputDescription[] inputDescription,
     string output,
     MethodInfo function,
     MultiFormatterInfoCollection metaData)
 {
     Name             = name;
     Description      = description;
     InputDescription = inputDescription;
     Output           = output;
     Function         = function;
     InputType        = inputType;
     MetaData         = metaData;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MorestachioFormatterModel"/> class.
 /// </summary>
 public MorestachioFormatterModel(
     string name,
     string description,
     Type inputType,
     InputDescription[] inputDescription,
     string output,
     MethodInfo function,
     MultiFormatterInfoCollection metaData,
     bool isGlobalFormatter,
     bool linkFunctionTarget)
 {
     Name               = name;
     Description        = description;
     InputDescription   = inputDescription;
     Output             = output;
     Function           = function;
     InputType          = inputType;
     MetaData           = metaData;
     IsGlobalFormatter  = isGlobalFormatter;
     LinkFunctionTarget = linkFunctionTarget;
 }