ServiceClientGenerator.CoreAssemblyInfoUpdater.CoreAssemblyInfoUpdater C# (CSharp) Method

CoreAssemblyInfoUpdater() public method

public CoreAssemblyInfoUpdater ( GeneratorOptions options, GenerationManifest manifest ) : ServiceClientGenerator.Generators.NuGet
options GeneratorOptions
manifest GenerationManifest
return ServiceClientGenerator.Generators.NuGet
        public CoreAssemblyInfoUpdater(GeneratorOptions options, GenerationManifest manifest)
        {
            Manifest = manifest;
            Options = options;

            session = new Dictionary<string, object>
            {
                { "Version", Manifest.CoreVersion },
                { "FileVersion", Manifest.CoreFileVersion }
            };

            session["NuGetPreviewFlag"] = manifest.DefaultToPreview ? manifest.PreviewLabel : "";
            session["DisablePCLSupport"] = options.DisablePCLSupport;
        }