Class ResourceLoader
Provides the abstract base class for operators that load specific resources into the resource manager.
public abstract class ResourceLoader : Transform<ResourceConfigurationCollection, ResourceConfigurationCollection>
- Inheritance
-
ResourceLoader
- Derived
- Inherited Members
Methods
GetResources()
Returns the set of resources to be loaded into the resource manager.
protected abstract IEnumerable<IResourceConfiguration> GetResources()
Returns
- IEnumerable<IResourceConfiguration>
A collection of IResourceConfiguration objects to be loaded into the resource manager.
Process(IObservable<ResourceConfigurationCollection>)
Appends a new set of resources to be loaded into the resource manager.
public override IObservable<ResourceConfigurationCollection> Process(IObservable<ResourceConfigurationCollection> source)
Parameters
source
IObservable<ResourceConfigurationCollection>A sequence of ResourceConfigurationCollection objects with which the loader resources will be combined.
Returns
- IObservable<ResourceConfigurationCollection>
A sequence of ResourceConfigurationCollection objects which can be used to load resources into the resource manager.
Process(IObservable<ResourceManager>)
Bundles a set of resources to be loaded into the resource manager.
public IObservable<ResourceConfigurationCollection> Process(IObservable<ResourceManager> source)
Parameters
source
IObservable<ResourceManager>A sequence of ResourceManager objects into which the resources will be loaded.
Returns
- IObservable<ResourceConfigurationCollection>
A sequence of ResourceConfigurationCollection objects which can be used to load resources into the resource manager.