/// <summary> /// Adds the handler. /// </summary> private void AddHandler(UnmanagedCallbackOp op, InLongOutLongFunc func, bool allowUninitialized = false) { _inLongOutLongHandlers[(int)op] = new InLongOutLongHandler(func, allowUninitialized); }
/// <summary> /// Initializes a new instance of the <see cref="InLongOutLongHandler"/> struct. /// </summary> public InLongOutLongHandler(InLongOutLongFunc handler, bool allowUninitialized) { Handler = handler; AllowUninitialized = allowUninitialized; }