示例#1
0
 static private Func <bool> GetValidateFunc(IPluginIn pluginIn, bool autoValidate)
 {
     if (autoValidate)
     {
         return(() => { return pluginIn.PinIsChanged; });
     }
     return(() => { return pluginIn.Validate(); });
 }
示例#2
0
 private static void SetInputProperties(IPluginIn input, InputAttribute attribute)
 {
     SetIOProperties(input, attribute);
     input.AutoValidate = attribute.AutoValidate;
 }
示例#3
0
 public DiffInputPin(IIOFactory factory, IPluginIn pluginIn, BufferedIOStream <T> stream)
     : base(factory, pluginIn, stream)
 {
 }
示例#4
0
 public DiffInputPin(IIOFactory factory, IPluginIn pluginIn, IInStream <T> stream)
     : this(factory, pluginIn, new BufferedInputIOStream <T>(stream))
 {
 }
示例#5
0
 public InputPin(IIOFactory factory, IPluginIn pluginIn, MemoryIOStream <T> stream)
     : base(factory, pluginIn, stream)
 {
 }