Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShareObjectDTO" /> class.
 /// </summary>
 /// <param name="option">Share option.</param>
 /// <param name="objectType">Object type.</param>
 /// <param name="objectId">Object unique identifier.</param>
 public ShareObjectDTO(ShareOptionOptionDTO option = default(ShareOptionOptionDTO), int?objectType = default(int?), string objectId = default(string))
 {
     this.Option     = option;
     this.ObjectType = objectType;
     this.ObjectId   = objectId;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShareObjectDTO" /> class.
 /// </summary>
 /// <param name="Option">Share option.</param>
 /// <param name="ObjectType">Object type.</param>
 /// <param name="ObjectId">Object unique identifier.</param>
 public ShareObjectDTO(ShareOptionOptionDTO Option = default(ShareOptionOptionDTO), int?ObjectType = default(int?), string ObjectId = default(string))
 {
     this.Option     = Option;
     this.ObjectType = ObjectType;
     this.ObjectId   = ObjectId;
 }