using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DTS.Common { /// /// The object definition which is adding to the Main Region. /// public class ViewDefinition { /// /// Gets the region name in which a view is displayed. /// public string RegionName { get; private set; } /// /// Gets the type the View's interface. /// public Type ViewInterfaceType { get; private set; } /// /// Gets the type the View. /// // public Type ViewType { get; private set; } /// /// Gets the type of the viewmodel's interface. /// public Type ViewModelInterfaceType { get; private set; } /// /// Gets the type of the viewmodel. /// /// Region name /// Type of the View's interface to be registered. /// Type of the View Model to be registered. public ViewDefinition(string regionName, Type viewInterfaceType, Type viewModelInterfaceType) { RegionName = regionName; ViewInterfaceType = viewInterfaceType; ViewModelInterfaceType = viewModelInterfaceType; } ///// ///// Creates a new instance of the object. ///// Creates a new instance of the object. ///// ///// Type of the View's interface to be registered. ///// Type of the View to be registered. ///// Type of the viewmodel's interface to be registered. ///// Type of the viewmodel to be registered. ////public ViewDefinition(Type viewInterfaceType, Type viewType, Type viewModelInterfaceType, Type viewModelType) //{ // ViewInterfaceType = viewInterfaceType; // ViewType = viewType; // ViewModelInterfaceType = viewModelInterfaceType; // ViewModelType = viewModelType; //} private ViewDefinition() { } } }