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