コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the Operation class.
 /// </summary>
 /// <param name="name">The name of the operation.</param>
 /// <param name="display">The display information of the
 /// operation.</param>
 /// <param name="origin">The intended executor of the operation.
 /// Possible values include: 'User', 'System'</param>
 public Operation(string name, OperationDisplay display, string origin = default(string))
 {
     Name    = name;
     Display = display;
     Origin  = origin;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the Operation class.
 /// </summary>
 /// <param name="name">The name of the operation.</param>
 /// <param name="display">The display information of the
 /// operation.</param>
 /// <param name="properties">The additional properties.</param>
 /// <param name="origin">The intended executor of the operation.
 /// Possible values include: 'User', 'System'</param>
 public Operation(string name, OperationDisplay display, object properties = default(object), string origin = default(string))
 {
     Name       = name;
     Display    = display;
     Properties = properties;
     Origin     = origin;
     CustomInit();
 }