/// <summary>
        /// Initializes a new instance of the <see cref="SubsettingExampleLocations"/> class.
        /// </summary>
        public SubsettingExampleLocations(IApplicationPreferences applicationPreferences)
        {
            var generationUi = applicationPreferences.GetValue(SubsettingExampleGenerationUILocationPreference);
            ExternalSubsetGenerationUri = new Uri(generationUi, UriKind.RelativeOrAbsolute);

            mSubsettingExampleUriFormat = applicationPreferences.GetValue(SubsettingExampleDisplayRecordUrlPreference);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="SubsettingExampleLocations"/> class.
        /// </summary>
        public SubsettingExampleLocations(IApplicationPreferences applicationPreferences)
        {
            var generationUi = applicationPreferences.GetValue(SubsettingExampleGenerationUILocationPreference);

            ExternalSubsetGenerationUri = new Uri(generationUi, UriKind.RelativeOrAbsolute);

            mSubsettingExampleUriFormat = applicationPreferences.GetValue(SubsettingExampleDisplayRecordUrlPreference);
        }
示例#3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AcxiomConstants"/> class.
        /// </summary>
        public AcxiomConstants(IApplicationPreferences applicationPreferences)
        {
            var generationUi = applicationPreferences.GetValue(GenerationUILocationPreference);

            ExternalSubsetGenerationUri   = new Uri(generationUi, UriKind.RelativeOrAbsolute);
            AcxiomDaodExternalContextRoot = applicationPreferences.GetValue(DaodExternalContextRoot);
            AcxiomDaodXmlSourcePath       = applicationPreferences.GetValue(DaodXmlSourcePath);
            AcxiomDaodTransformSourcePath = applicationPreferences.GetValue(DaodTransformSourcePath);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="AcxiomConstants"/> class.
 /// </summary>
 public AcxiomConstants(IApplicationPreferences applicationPreferences)
 {
     var generationUi = applicationPreferences.GetValue(GenerationUILocationPreference);
     ExternalSubsetGenerationUri = new Uri(generationUi, UriKind.RelativeOrAbsolute);
     AcxiomDaodExternalContextRoot = applicationPreferences.GetValue(DaodExternalContextRoot);
     AcxiomDaodXmlSourcePath = applicationPreferences.GetValue(DaodXmlSourcePath);
     AcxiomDaodTransformSourcePath = applicationPreferences.GetValue(DaodTransformSourcePath);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DomainToolsConstants"/> class.
 /// </summary>
 public DomainToolsConstants(IApplicationPreferences applicationPreferences)
 {
     var generationUi = applicationPreferences.GetValue(SubsettingExampleGenerationUILocationPreference);
     ExternalSubsetGenerationUri = new Uri(generationUi, UriKind.RelativeOrAbsolute);
 }
示例#6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DomainToolsConstants"/> class.
        /// </summary>
        public DomainToolsConstants(IApplicationPreferences applicationPreferences)
        {
            var generationUi = applicationPreferences.GetValue(SubsettingExampleGenerationUILocationPreference);

            ExternalSubsetGenerationUri = new Uri(generationUi, UriKind.RelativeOrAbsolute);
        }