C# Class nHydrate.Generator.Common.Util.ResourceHelper

Mostrar archivo Open project: nHydrate/nHydrate Class Usage Examples

Private Properties

Property Type Description
ResourceHelper System

Public Methods

Method Description
GetFloat ( string key ) : float
GetInt ( string key ) : int
GetResourceFileAsIcon ( System assembly, string resourcePath ) : Icon
GetResourceFileAsImage ( System assembly, string resourcePath ) : Image
GetResourceFileAsStream ( System assembly, string resourcePath ) : Stream
GetResourceFileAsString ( System assembly, string resourcePath ) : string
GetResourceHelper ( string resourceFullName, Type callingObjectType ) : ResourceHelper
GetString ( string key ) : string

Private Methods

Method Description
ResourceHelper ( string resourceFullName, Assembly assembly ) : System

Method Details

GetFloat() public method

public GetFloat ( string key ) : float
key string
return float

GetInt() public method

public GetInt ( string key ) : int
key string
return int

GetResourceFileAsIcon() public static method

public static GetResourceFileAsIcon ( System assembly, string resourcePath ) : Icon
assembly System
resourcePath string
return System.Drawing.Icon

GetResourceFileAsImage() public static method

public static GetResourceFileAsImage ( System assembly, string resourcePath ) : Image
assembly System
resourcePath string
return Image

GetResourceFileAsStream() public static method

public static GetResourceFileAsStream ( System assembly, string resourcePath ) : Stream
assembly System
resourcePath string
return Stream

GetResourceFileAsString() public static method

public static GetResourceFileAsString ( System assembly, string resourcePath ) : string
assembly System
resourcePath string
return string

GetResourceHelper() public static method

public static GetResourceHelper ( string resourceFullName, Type callingObjectType ) : ResourceHelper
resourceFullName string
callingObjectType System.Type
return ResourceHelper

GetString() public method

public GetString ( string key ) : string
key string
return string