namespace Chernobyl.Resources
{
///
/// An interface for handling resource processor options.
///
public interface IOption
{
}
///
/// A IResourceProcessor option that is used to load resources that are not
/// loaded from Streams but are named and loaded from a 3rd party API. For
/// example, XNA loads its own resources after they are added to the Visual
/// Studio project. The resource is then loaded using the name of the
/// resource. In this case, the Stream should be set to null.
///
public class ResourceName : IOption
{
///
/// Constructor.
///
/// The name of the resource to load.
public ResourceName(string name)
{
Name = name;
}
///
/// The name of the resource to load.
///
public string Name { get; protected set; }
}
}