/// <summary> /// Initializes a new instance of the Operation class. /// </summary> /// <param name="name">Name of the operation being performed on this /// object</param> /// <param name="display">Contains the localized display information /// for this operation</param> /// <param name="isDataAction">Gets or sets a value indicating whether /// the operation is a data action or not</param> /// <param name="origin">Origin of the operation</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(); }
/// <summary> /// Initializes a new instance of the Operation class. /// </summary> /// <param name="name">Name of the operation being performed on this /// object</param> /// <param name="display">Contains the localized display information /// for this operation</param> public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay)) { Name = name; Display = display; CustomInit(); }