/// <summary>
 /// Initializes a new instance of the Operation class.
 /// </summary>
 /// <param name="name">Operation name:
 /// {provider}/{resource}/{operation}</param>
 /// <param name="isDataAction">Indicates whether the operation is a
 /// data action</param>
 /// <param name="display">The object that represents the
 /// operation.</param>
 public Operation(string name = default(string), bool?isDataAction = default(bool?), OperationDisplay display = default(OperationDisplay))
 {
     Name         = name;
     IsDataAction = isDataAction;
     Display      = display;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the Operation class.
 /// </summary>
 /// <param name="name">Operation name:
 /// {provider}/{resource}/{operation}</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();
 }