コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OutputTerminalModel"/> class.
 /// </summary>
 /// <param name="name">The user visible name of the terminal.</param>
 /// <param name="type">The data type of the terminal.</param>
 /// <param name="defaultSide">The default side of a node the terminal belongs on.</param>
 public OutputTerminalModel(string name, Type type, Direction defaultSide)
     : base(name, type, defaultSide)
 {
     SerializeableTypes.Add(GetType());
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CoalescingInputTerminalModel"/> class.
 /// </summary>
 /// <param name="name">The user visible name of the terminal.</param>
 /// <param name="type">The data type of the terminal.</param>
 /// <param name="defaultDirection">The default side of a node the terminal belongs on.</param>
 public CoalescingInputTerminalModel(string name, Type type, Direction defaultDirection)
     : base(name, type, defaultDirection)
 {
     SerializeableTypes.Add(GetType());
 }