/// <summary>
 /// Initializes a new instance of the Operation class.
 /// </summary>
 /// <param name="name">Operation name: {provider}/{resource}/{read |
 /// write | action | delete}</param>
 /// <param name="display">The object that represents the
 /// operation.</param>
 /// <param name="origin">The intended executor of the
 /// operation.</param>
 /// <param name="properties">Additional descriptions for the
 /// operation.</param>
 public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), string origin = default(string), object properties = default(object))
 {
     Name       = name;
     Display    = display;
     Origin     = origin;
     Properties = properties;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the Operation class.
 /// </summary>
 /// <param name="name">Operation name: {provider}/{resource}/{read |
 /// write | action | delete}</param>
 /// <param name="display">The object that represents the
 /// operation.</param>
 public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay))
 {
     Name    = name;
     Display = display;
     CustomInit();
 }