static private Func <bool> GetValidateFunc(IPluginFastIn pluginFastIn, bool autoValidate) { if (autoValidate) { return(() => { return true; }); } // Fast value pins always return false for PinIsChanged, we therefor need to return true here manually. return(() => { pluginFastIn.Validate(); return true; }); }
private static void SetInputProperties(IPluginFastIn input, InputAttribute attribute) { SetIOProperties(input, attribute); input.AutoValidate = attribute.AutoValidate; }