|
using System.ComponentModel;
namespace Selen.WorkflowDesigner.Storage.Contracts
{
public class WorkflowStorageData : INotifyPropertyChanged
{
private IDesignerModel designerModel;
private IWorkflowType workflowType;
public IDesignerModel DesignerModel
{
get
{
return designerModel;
}
set
{
designerModel = value;
this.On_PropertyChanged("DesignerModel");
}
}
public IWorkflowType WorkflowType
{
get
{
return workflowType;
}
set
{
workflowType = value;
this.On_PropertyChanged("WorkflowType");
}
}
private void On_PropertyChanged(string name)
{
if (this.PropertyChanged != null)
{
this.PropertyChanged(this, new PropertyChangedEventArgs(name));
}
}
public event PropertyChangedEventHandler PropertyChanged;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.