public FieldDefinitionDetailsViewData(ProjectFirmaModels.Models.ClassificationSystem fieldDefinitionData, bool showEditLink, string editUrl, HtmlString defaultDefinitionHtmlString, string fieldDefinitionLabel)
 {
     _fieldDefinitionData = fieldDefinitionData;
     ShowEditLink         = showEditLink;
     EditUrl = editUrl;
     DefaultDefinitionHtmlString = defaultDefinitionHtmlString;
     FieldDefinitionLabel        = fieldDefinitionLabel;
 }
 public EditProjectClassificationsForProjectViewData(ProjectFirmaModels.Models.Project project, ProjectFirmaModels.Models.ClassificationSystem classificationSystem)
 {
     ProjectName          = project.GetDisplayName();
     ClassificationSystem = classificationSystem;
 }
Пример #3
0
 public void UpdateModel(ProjectFirmaModels.Models.ClassificationSystem classificationSystem)
 {
     classificationSystem.ClassificationSystemListPageContentHtmlString = ClassificationSystemPageContentHtmlString == null || string.IsNullOrWhiteSpace(ClassificationSystemPageContentHtmlString.ToString()) ? null : ClassificationSystemPageContentHtmlString;
 }
Пример #4
0
 public EditPageContentViewModel(ProjectFirmaModels.Models.ClassificationSystem classificationSystem)
 {
     ClassificationSystemPageContentHtmlString = classificationSystem != null ? classificationSystem.ClassificationSystemListPageContentHtmlString : null;
 }