示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SafeInvoker"/> class.
 /// </summary>
 /// <param name="del">
 /// The float2D setter delegate.
 /// </param>
 /// <param name="o">
 /// The responsible object.
 /// </param>
 public SafeInvoker(Setter2D del, object o = null)
 {
     this.underlyingDelegate = del;
     if (o != null)
     {
         this.SetObject(o);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SafeInvoker"/> class.
 /// </summary>
 /// <param name="del">
 /// The float2D setter delegate.
 /// </param>
 /// <param name="o">
 /// The responsible object.
 /// </param>
 public SafeInvoker(Setter2D del, object o = null)
 {
     this.underlyingDelegate = del;
     if (o != null)
     {
         this.SetObject(o);
     }
 }