Пример #1
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>
 /// <param name="isDataAction">Whether or not this is a data plane
 /// operation</param>
 /// <param name="origin">The origin</param>
 /// <param name="properties">Properties of the operation</param>
 public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), bool?isDataAction = default(bool?), string origin = default(string), OperationProperties properties = default(OperationProperties))
 {
     Name         = name;
     Display      = display;
     IsDataAction = isDataAction;
     Origin       = origin;
     Properties   = properties;
     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();
 }