Пример #1
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">Operation properties display</param>
 /// <param name="origin">The intended executor of the
 /// operation.</param>
 /// <param name="isDataAction">If the operation is a data action (for
 /// data plane rbac).</param>
 public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), string origin = default(string), bool?isDataAction = default(bool?))
 {
     Name         = name;
     Display      = display;
     Origin       = origin;
     IsDataAction = isDataAction;
     CustomInit();
 }
Пример #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">Operation properties display</param>
 public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay))
 {
     Name    = name;
     Display = display;
     CustomInit();
 }