namespace Caliburn.Micro.Core {
using System.Collections.Generic;
///
/// Class to specify settings for configuring type mappings by the ViewLocator or ViewModelLocator
///
public class TypeMappingConfiguration {
///
/// The default subnamespace for Views. Used for creating default subnamespace mappings. Defaults to "Views".
///
public string DefaultSubNamespaceForViews = "Views";
///
/// The default subnamespace for ViewModels. Used for creating default subnamespace mappings. Defaults to "ViewModels".
///
public string DefaultSubNamespaceForViewModels = "ViewModels";
///
/// Flag to indicate whether or not the name of the Type should be transformed when adding a type mapping. Defaults to true.
///
public bool UseNameSuffixesInMappings = true;
///
/// The format string used to compose the name of a type from base name and name suffix
///
public string NameFormat = @"{0}{1}";
///
/// Flag to indicate if ViewModel names should include View suffixes (i.e. CustomerPageViewModel vs. CustomerViewModel)
///
public bool IncludeViewSuffixInViewModelNames = true;
///
/// List of View suffixes for which default type mappings should be created. Applies only when UseNameSuffixesInMappings = true.
/// Default values are "View", "Page"
///
public List ViewSuffixList = new List(new[] { "View", "Page" });
///
/// The name suffix for ViewModels. Applies only when UseNameSuffixesInMappings = true. The default is "ViewModel".
///
public string ViewModelSuffix = "ViewModel";
}
}