using Stylet;
namespace Artemis.Core.LayerBrushes
{
///
/// Represents a view model for a brush configuration window
///
public abstract class BrushConfigurationViewModel : Screen
{
///
/// Creates a new instance of the class
///
///
protected BrushConfigurationViewModel(BaseLayerBrush layerBrush)
{
LayerBrush = layerBrush;
}
///
/// Creates a new instance of the class with a validator
///
///
///
protected BrushConfigurationViewModel(BaseLayerBrush layerBrush, IModelValidator validator) : base(validator)
{
LayerBrush = layerBrush;
}
///
/// Gets the layer brush this view model is associated with
///
public BaseLayerBrush LayerBrush { get; }
}
}