C# Class BetterExplorer.Utilities

Mostrar archivo Open project: Gainedge/BetterExplorer

Public Methods

Method Description
AppDirectoryItem ( string FileName ) : string
CombinePaths ( List paths, string separatorvalue = ";", bool checkforfolders = false ) : string
GetRegistryValue ( string Name, string DefaultValue ) : Object
Load ( string filename ) : System.Windows.ResourceDictionary

Move somewhere else later

RemoveExtensionsFromFile ( string file, string ext ) : string
SetRegistryValue ( string Name, object Value ) : void
SetRegistryValue ( string Name, object Value, RegistryValueKind Kind ) : void

Private Methods

Method Description
Build_MenuItem ( Object header = null, Object tag = null, Object icon = null, string name = null, object ToolTip = null, bool focusable = true, bool checkable = false, bool isChecked = false, string GroupName = null, System onClick = null ) : Fluent.MenuItem
GetValueOnly ( string property, string value ) : string
Utilities ( ) : System

Method Details

AppDirectoryItem() public static method

public static AppDirectoryItem ( string FileName ) : string
FileName string
return string

CombinePaths() public static method

public static CombinePaths ( List paths, string separatorvalue = ";", bool checkforfolders = false ) : string
paths List
separatorvalue string
checkforfolders bool
return string

GetRegistryValue() public static method

public static GetRegistryValue ( string Name, string DefaultValue ) : Object
Name string
DefaultValue string
return Object

Load() public static method

Move somewhere else later
public static Load ( string filename ) : System.Windows.ResourceDictionary
filename string
return System.Windows.ResourceDictionary

RemoveExtensionsFromFile() public static method

public static RemoveExtensionsFromFile ( string file, string ext ) : string
file string
ext string
return string

SetRegistryValue() public static method

public static SetRegistryValue ( string Name, object Value ) : void
Name string
Value object
return void

SetRegistryValue() public static method

public static SetRegistryValue ( string Name, object Value, RegistryValueKind Kind ) : void
Name string
Value object
Kind RegistryValueKind
return void