public SliceSettingData(string slicerConfigName, string presentationName, DataEditTypes dataEditType, string extraSettings = "", string helpText = "")
 {
     this.ExtraSettings    = extraSettings;
     this.SlicerConfigName = slicerConfigName;
     this.PresentationName = presentationName;
     this.DataEditType     = dataEditType;
     this.HelpText         = LocalizedString.Get(helpText);
 }
        public OrganizerSettingsData(string slicerConfigName, string presentationName, DataEditTypes dataEditType, string extraSettings = "", string helpText = "")
        {
			this.ExtraSettings = extraSettings;
            this.SlicerConfigName = slicerConfigName;
            this.PresentationName = presentationName;
            this.DataEditType = dataEditType;
			this.HelpText = new LocalizedString(helpText).Translated;
        }
示例#3
0
 public SliceSettingData(string slicerConfigName, string presentationName, DataEditTypes dataEditType, string helpText = "")
 {
     // During deserialization Json.net has to call this constructor but may fail to find the optional ExtraSettings
     // value. When this occurs, it passes null overriding the default empty string. To ensure empty string instead
     // of null, we conditionally reassign "" if null
     this.SlicerConfigName = slicerConfigName;
     this.PresentationName = presentationName;
     this.DataEditType     = dataEditType;
     this.HelpText         = helpText.Localize();
 }
		public SliceSettingData(string slicerConfigName, string presentationName, DataEditTypes dataEditType, string extraSettings = "", string helpText = "")
		{
			this.ExtraSettings = extraSettings;
			this.SlicerConfigName = slicerConfigName;
			this.PresentationName = presentationName;
			this.DataEditType = dataEditType;
			this.HelpText = LocalizedString.Get(helpText);
		}
 public OrganizerSettingsData(string slicerConfigName, string presentationName, DataEditTypes dataEditType, string extraSettings = "", string helpText = "")
 {
     this.ExtraSettings    = extraSettings;
     this.SlicerConfigName = slicerConfigName;
     this.PresentationName = presentationName;
     this.DataEditType     = dataEditType;
     this.HelpText         = new LocalizedString(helpText).Translated;
 }