Exemple #1
0
 /// <summary>
 /// Creates new instance of this type.
 /// </summary>
 /// <param name="name">Name of the port.</param>
 /// <param name="displayName">Display name of this port.</param>
 /// <param name="description">Description of this port.</param>
 /// <param name="enumConfig">Enumeration config.</param>
 /// <param name="defaultValue">Default value to use.</param>
 public NativeInputPortConfiguration
     (string name, string displayName, string description, string enumConfig, Native.FlowInputData defaultValue)
 {
     this.Name         = Marshal.StringToHGlobalUni(name);
     this.HumanName    = Marshal.StringToHGlobalUni(displayName);
     this.Description  = Marshal.StringToHGlobalUni(description);
     this.EnumConfig   = Marshal.StringToHGlobalUni(enumConfig);
     this.DefaultValue = defaultValue;
 }
 /// <summary>
 /// Creates new instance of this type.
 /// </summary>
 /// <param name="name">Name of the port.</param>
 /// <param name="displayName">Display name of this port.</param>
 /// <param name="description">Description of this port.</param>
 /// <param name="enumConfig">Enumeration config.</param>
 /// <param name="defaultValue">Default value to use.</param>
 public NativeInputPortConfiguration(string name, string displayName, string description, string enumConfig, Native.FlowInputData defaultValue)
 {
     this.Name = Marshal.StringToHGlobalUni(name);
     this.HumanName = Marshal.StringToHGlobalUni(displayName);
     this.Description = Marshal.StringToHGlobalUni(description);
     this.EnumConfig = Marshal.StringToHGlobalUni(enumConfig);
     this.DefaultValue = defaultValue;
 }