C# Class Endjin.Core.ResourceRegistration.ResourceRegistry

Inheritance: IResourceRegistry
ファイルを表示 Open project: endjin/Endjin.Composition

Public Methods

Method Description
GetResource ( string name ) : Stream
GetResourcesAt ( string root ) : IEnumerable
RegisterResource ( string name, Assembly assembly, string resourceKey ) : void
ResourceDirectoryExists ( string root ) : bool
ResourceExists ( string name ) : bool

Private Methods

Method Description
RegisterCollision ( string name, ResourceRegistration registration ) : void

Method Details

GetResource() public method

public GetResource ( string name ) : Stream
name string
return Stream

GetResourcesAt() public method

public GetResourcesAt ( string root ) : IEnumerable
root string
return IEnumerable

RegisterResource() public method

public RegisterResource ( string name, Assembly assembly, string resourceKey ) : void
name string
assembly System.Reflection.Assembly
resourceKey string
return void

ResourceDirectoryExists() public method

public ResourceDirectoryExists ( string root ) : bool
root string
return bool

ResourceExists() public method

public ResourceExists ( string name ) : bool
name string
return bool