KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Launcher.Utils.ConfigurationUtils Class Reference

A bundle of methods to tune executable configuration file More...

Static Public Member Functions

static void FixAssemblyVersions (string serviceFolder, string executionFileName, Dictionary< PackageIdentity, IEnumerable< string >> packageFiles)
 Fixes service configuration file to pass possible version conflicts in dependent assemblies More...
 
static string ReadTextResource (Assembly assembly, string resourceName)
 Reads texts resource More...
 

Detailed Description

A bundle of methods to tune executable configuration file

Definition at line 31 of file ConfigurationUtils.cs.

Member Function Documentation

◆ FixAssemblyVersions()

static void KlusterKite.NodeManager.Launcher.Utils.ConfigurationUtils.FixAssemblyVersions ( string  serviceFolder,
string  executionFileName,
Dictionary< PackageIdentity, IEnumerable< string >>  packageFiles 
)
static

Fixes service configuration file to pass possible version conflicts in dependent assemblies

Parameters
serviceFolderThe folder with installed service
executionFileNameThe service executable file name without extension
packageFilesThe list of installed packages and their files

Definition at line 45 of file ConfigurationUtils.cs.

◆ ReadTextResource()

static string KlusterKite.NodeManager.Launcher.Utils.ConfigurationUtils.ReadTextResource ( Assembly  assembly,
string  resourceName 
)
static

Reads texts resource

Parameters
assemblyThe resource containing assembly
resourceNameThe resource name
Returns
The resource contents

Definition at line 160 of file ConfigurationUtils.cs.


The documentation for this class was generated from the following file: