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