C# Class FourRoads.Common.TelligentCommunity.Components.EmbeddedResourcesBase

Exibir arquivo Open project: 4-Roads/FourRoads.TelligentCommunity

Public Methods

Method Description
EnumerateReosurces ( string resourcePath, string extension, Action action ) : void
GetStream ( string resourceName ) : Stream
GetString ( string resourceName ) : string

Protected Methods

Method Description
GetResourceStream ( Assembly assembly, string path ) : Stream
GetResourceString ( Assembly assembly, string path ) : string

Method Details

EnumerateReosurces() public method

public EnumerateReosurces ( string resourcePath, string extension, Action action ) : void
resourcePath string
extension string
action Action
return void

GetResourceStream() protected static method

protected static GetResourceStream ( Assembly assembly, string path ) : Stream
assembly System.Reflection.Assembly
path string
return Stream

GetResourceString() protected static method

protected static GetResourceString ( Assembly assembly, string path ) : string
assembly System.Reflection.Assembly
path string
return string

GetStream() public method

public GetStream ( string resourceName ) : Stream
resourceName string
return Stream

GetString() public method

public GetString ( string resourceName ) : string
resourceName string
return string