Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelConfigurationDTO" /> class.
 /// </summary>
 /// <param name="PredefinedProfile">Predefined profile for model.</param>
 /// <param name="Mask">Predefined Profile.</param>
 /// <param name="ShowOption">Possible values:  0: EmptyProfile  1: PredefinedProfile  2: Mask .</param>
 /// <param name="DocumentCacheId">File forTtemplate.</param>
 /// <param name="PreviewDocumentCacheId">File for preview template.</param>
 /// <param name="FieldsModule">Fields.</param>
 /// <param name="Id">Identifier.</param>
 /// <param name="Description">Description.</param>
 /// <param name="User">Author.</param>
 /// <param name="UserDescription">Author&#39;s model name.</param>
 /// <param name="Type">Possible values:  1: Public  2: Private .</param>
 /// <param name="FileName">Original File Name.</param>
 /// <param name="LockModality">Possible values:  0: Unblocked  1: Blocked .</param>
 /// <param name="PredefinedProfileId">Predefined Profile Identifier.</param>
 /// <param name="GroupId">Group Identifier.</param>
 /// <param name="GroupName">Model&#39;s group name.</param>
 /// <param name="Extension">Extensione File.</param>
 /// <param name="OpenAfterProfilation">Open File After to Profiliing.</param>
 /// <param name="MaskId">Mask Identifier.</param>
 /// <param name="PreviewFileName">File Name of the original preview file.</param>
 public ModelConfigurationDTO(PredefinedProfileDTO PredefinedProfile = default(PredefinedProfileDTO), MaskDTO Mask = default(MaskDTO), int?ShowOption = default(int?), string DocumentCacheId = default(string), string PreviewDocumentCacheId = default(string), List <FieldsModuleDTO> FieldsModule = default(List <FieldsModuleDTO>), int?Id = default(int?), string Description = default(string), int?User = default(int?), string UserDescription = default(string), int?Type = default(int?), string FileName = default(string), int?LockModality = default(int?), int?PredefinedProfileId = default(int?), int?GroupId = default(int?), string GroupName = default(string), string Extension = default(string), bool?OpenAfterProfilation = default(bool?), string MaskId = default(string), string PreviewFileName = default(string))
 {
     this.PredefinedProfile = PredefinedProfile;
     this.Mask                   = Mask;
     this.ShowOption             = ShowOption;
     this.DocumentCacheId        = DocumentCacheId;
     this.PreviewDocumentCacheId = PreviewDocumentCacheId;
     this.FieldsModule           = FieldsModule;
     this.Id                   = Id;
     this.Description          = Description;
     this.User                 = User;
     this.UserDescription      = UserDescription;
     this.Type                 = Type;
     this.FileName             = FileName;
     this.LockModality         = LockModality;
     this.PredefinedProfileId  = PredefinedProfileId;
     this.GroupId              = GroupId;
     this.GroupName            = GroupName;
     this.Extension            = Extension;
     this.OpenAfterProfilation = OpenAfterProfilation;
     this.MaskId               = MaskId;
     this.PreviewFileName      = PreviewFileName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelConfigurationDTO" /> class.
 /// </summary>
 /// <param name="predefinedProfile">Predefined profile for model.</param>
 /// <param name="mask">Predefined Profile.</param>
 /// <param name="showOption">Possible values:  0: EmptyProfile  1: PredefinedProfile  2: Mask .</param>
 /// <param name="documentCacheId">File in cache for template.</param>
 /// <param name="previewDocumentCacheId">File in cache for preview template.</param>
 /// <param name="fieldsModule">Fields.</param>
 /// <param name="id">Identifier.</param>
 /// <param name="description">Description.</param>
 /// <param name="user">Author.</param>
 /// <param name="userDescription">Author&#39;s model name.</param>
 /// <param name="type">Possible values:  1: Public  2: Private .</param>
 /// <param name="fileName">Original File Name.</param>
 /// <param name="lockModality">Possible values:  0: Unblocked  1: Blocked .</param>
 /// <param name="predefinedProfileId">Predefined Profile Identifier.</param>
 /// <param name="groupId">Group Identifier.</param>
 /// <param name="groupName">Model&#39;s group name.</param>
 /// <param name="extension">Extensione File.</param>
 /// <param name="openAfterProfilation">Open File After to Profiliing.</param>
 /// <param name="maskId">Mask Identifier.</param>
 /// <param name="previewFileName">File Name of the original preview file.</param>
 public ModelConfigurationDTO(PredefinedProfileDTO predefinedProfile = default(PredefinedProfileDTO), MaskDTO mask = default(MaskDTO), int?showOption = default(int?), string documentCacheId = default(string), string previewDocumentCacheId = default(string), List <FieldsModuleDTO> fieldsModule = default(List <FieldsModuleDTO>), int?id = default(int?), string description = default(string), int?user = default(int?), string userDescription = default(string), int?type = default(int?), string fileName = default(string), int?lockModality = default(int?), int?predefinedProfileId = default(int?), int?groupId = default(int?), string groupName = default(string), string extension = default(string), bool?openAfterProfilation = default(bool?), string maskId = default(string), string previewFileName = default(string))
 {
     this.PredefinedProfile = predefinedProfile;
     this.Mask                   = mask;
     this.ShowOption             = showOption;
     this.DocumentCacheId        = documentCacheId;
     this.PreviewDocumentCacheId = previewDocumentCacheId;
     this.FieldsModule           = fieldsModule;
     this.Id                   = id;
     this.Description          = description;
     this.User                 = user;
     this.UserDescription      = userDescription;
     this.Type                 = type;
     this.FileName             = fileName;
     this.LockModality         = lockModality;
     this.PredefinedProfileId  = predefinedProfileId;
     this.GroupId              = groupId;
     this.GroupName            = groupName;
     this.Extension            = extension;
     this.OpenAfterProfilation = openAfterProfilation;
     this.MaskId               = maskId;
     this.PreviewFileName      = previewFileName;
 }