Nexus.Client.ModManagement.CategoryManager.CategoryManager C# (CSharp) Method

CategoryManager() public method

A simple constructor that initializes the object with its dependencies.
public CategoryManager ( string p_strModInstallDirectory, string p_strCategoryPath ) : System
p_strModInstallDirectory string The path of the directory where all of the mods are installed.
p_strCategoryPath string The path from which to load the categories.
return System
		public CategoryManager(string p_strModInstallDirectory, string p_strCategoryPath)
		{
			ModInstallDirectory = p_strModInstallDirectory.Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar).Trim(Path.DirectorySeparatorChar) + Path.DirectorySeparatorChar;
			CategoryPath = Path.Combine(ModInstallDirectory, p_strCategoryPath);
			CategoryFilePath = Path.Combine(CategoryPath, CATEGORY_FILE);
		}