Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Catel - Part 4 of n: Unit testing with Catel

, 28 Jan 2011 CPOL
This article explains how to write unit tests for MVVM using Catel.
Catel-04_01-unittesting.zip
src
Catel.Articles.04 - Unit testing
Models
Properties
Settings.settings
Resources
Images
add.png
delete.png
edit.png
group.png
UI
Data
Converters
ViewModels
Windows
Catel.Articles.04 - Unit testing.Test
Models
Properties
UI
ViewModels
Catel.Articles.Base
Data
Attributes
Properties
Settings.settings
Resources
Images
CatenaLogic.png
Preview.png
Run.png
ShowCode.png
UI
Controls
Helpers
ViewModels
Windows
Catel.Core
Attributes
ClassDiagrams
DataObjectBase.cd
SavableDataObjectBase.cd
Collections
Helpers
ComponentModel
Data
Attributes
Exceptions
Interfaces
Diagnostics
Extensions
Helpers
Exceptions
Helpers
IO
Exceptions
IoC
LLBLGen
Log4net
Appender
Extensions
Helpers
MVVM
Commands
Interfaces
Exceptions
Services
EventArgs
Exceptions
Interfaces
ViewModels
Attributes
Interfaces
Properties
Reflection
Exceptions
Extensions
Helpers
Runtime
Serialization
Attributes
Helpers
Security
Cryptography
Helpers
Catel.Examples.Models
Properties
Catel.Examples.PersonApplication
Properties
Settings.settings
Resources
Images
add.png
delete.png
edit.png
group.png
UI
Data
Converters
ViewModels
Windows
Catel.Examples.Silverlight
Properties
Resources
Images
add.png
delete.png
edit.png
group.png
UI
Data
Converters
Pages
ViewModels
Windows
Catel.Examples.Silverlight.Web
Catel.Examples.Silverlight.Web.csproj.user
ClientBin
Properties
Catel.FxCop
Catel.Silverlight
Diagnostics
log4net
Core
MVVM
Commands
Services
ViewModels
Properties
Catel.Core
Catel.Windows
Reflection
Themes
Generic
Assets
Old
Windows
Controls
Data
Converters
Helpers
Helpers
Catel.Silverlight.Test
Properties
Catel.Silverlight.Test.Web
Catel.Silverlight.Test.Web.csproj.user
ClientBin
Properties
Catel.snk
Catel.Templates.WpfApplication
Properties
Settings.settings
UI
Controls
ViewModels
Windows
Catel.Templates.WpfItemTemplates
Properties
UI
Controls
ViewModels
Windows
Catel.Test
Collections
Convert
Data
Helpers
IO
MVVM
UI
ViewModels
Properties
Reflection
Runtime
Serialization
Security
Cryptography
Test References
Catel.Windows.accessor
Windows
Data
Converters
Catel.vsmdi
Catel.Windows
ClassDiagrams
ViewModelBase.cd
Collections
Extensions
Helpers
MVVM
Commands
Services
Test
UI
ViewModels
Properties
Settings.settings
Resources
Images
Add.png
ClearOutput.png
Edit.png
Error.png
Loading.gif
Preview.png
Remove.png
Save.png
TipOfTheDay.png
Warning.png
Themes
Aero
ExpressionDark
Assets
Generic
Assets
Controls
Jetpack
Assets
background.png
Old
SunnyOrange
Assets
Windows
Controls
Extensions
LinkLabel
StackGrid
Data
Converters
Helpers
Documents
Extensions
Extensions
Helpers
Input
Markup
Media
Effects
EmptyEffect
EmptyEffect.fx
EmptyEffect.ps
EmptyEffect.fx
GrayscaleEffect
GrayscaleEffect.fx
GrayscaleEffect.ps
Extensions
Imaging
Extensions
Windows
DataWindow
TipOfTheDay
Local.testsettings
Settings.StyleCop
TraceAndTestImpact.testsettings
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Catel.Windows.Properties {
    using System;
    
    
    /// <summary>
    ///   A strongly-typed resource class, for looking up localized strings, etc.
    /// </summary>
    // This class was auto-generated by the StronglyTypedResourceBuilder
    // class via a tool like ResGen or Visual Studio.
    // To add or remove a member, edit your .ResX file then rerun ResGen
    // with the /str option, or rebuild your VS project.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class TraceMessages {
        
        private static global::System.Resources.ResourceManager resourceMan;
        
        private static global::System.Globalization.CultureInfo resourceCulture;
        
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal TraceMessages() {
        }
        
        /// <summary>
        ///   Returns the cached ResourceManager instance used by this class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Catel.Windows.Properties.TraceMessages", typeof(TraceMessages).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }
        
        /// <summary>
        ///   Overrides the current thread's CurrentUICulture property for all
        ///   resource lookups using this strongly typed resource class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to attach to input thread (Win32 code &apos;{0}&apos;).
        /// </summary>
        internal static string AttachThreadInputFailed {
            get {
                return ResourceManager.GetString("AttachThreadInputFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Registered view model &apos;{0}&apos; with &apos;{1}&apos;.
        /// </summary>
        internal static string AutomaticallyRegisteredViewModel {
            get {
                return ResourceManager.GetString("AutomaticallyRegisteredViewModel", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Cannot automatically construct view model &apos;{0}&apos;, next try will be on the DataContext change.
        /// </summary>
        internal static string CannotConstructViewModelNextTryOnDataContextChange {
            get {
                return ResourceManager.GetString("CannotConstructViewModelNextTryOnDataContextChange", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Couln&apos;t find style definition for &apos;{0}&apos;, creating style forwarder.
        /// </summary>
        internal static string CannotFindStyleDefinitionCreatingForwarder {
            get {
                return ResourceManager.GetString("CannotFindStyleDefinitionCreatingForwarder", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Cannot set owner window to itself, no owner window set.
        /// </summary>
        internal static string CannotSetOwnerWindowToItself {
            get {
                return ResourceManager.GetString("CannotSetOwnerWindowToItself", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Cannot transfer value from Control to ViewModel because ViewModel is null.
        /// </summary>
        internal static string CannotTransferValueFromControlToViewModelBecauseViewModelIsNull {
            get {
                return ResourceManager.GetString("CannotTransferValueFromControlToViewModelBecauseViewModelIsNull", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Cannot transfer value from ViewModel to Control because ViewModel is null.
        /// </summary>
        internal static string CannotTransferValueFromViewModelToControlBecauseViewModelIsNull {
            get {
                return ResourceManager.GetString("CannotTransferValueFromViewModelToControlBecauseViewModelIsNull", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to cast &apos;{0}&apos; to an object of type &apos;{1}&apos;.
        /// </summary>
        internal static string CastFailed {
            get {
                return ResourceManager.GetString("CastFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Cleared all warnings and errors caused by &apos;{0}&apos; since this is caused by a DataContext issue in the .NET Framework.
        /// </summary>
        internal static string ClearedAllWarningsAndErrorsOfObject {
            get {
                return ResourceManager.GetString("ClearedAllWarningsAndErrorsOfObject", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Found closable parent ({0}), using the Closed event instead of the Unloaded event of the control itself to clean up.
        /// </summary>
        internal static string ClosableParentFoundThusUsingClosedEvent {
            get {
                return ResourceManager.GetString("ClosableParentFoundThusUsingClosedEvent", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to close application &apos;{0}&apos;.
        /// </summary>
        internal static string CloseApplicationFailed {
            get {
                return ResourceManager.GetString("CloseApplicationFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Completing the style info for &apos;{0}&apos; with the additional info from the default style definition.
        /// </summary>
        internal static string CompletingStyleInfo {
            get {
                return ResourceManager.GetString("CompletingStyleInfo", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Configured IoC container via configuration file.
        /// </summary>
        internal static string ConfiguredIoCContainerViaConfigurationFile {
            get {
                return ResourceManager.GetString("ConfiguredIoCContainerViaConfigurationFile", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Configuring IoC container via configuration file.
        /// </summary>
        internal static string ConfiguringIoCContainerViaConfigurationFile {
            get {
                return ResourceManager.GetString("ConfiguringIoCContainerViaConfigurationFile", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Converter parameter cannot be null, default value &apos;{0}&apos; will be used.
        /// </summary>
        internal static string ConverterParameterIsNullSoDefaultIsUsed {
            get {
                return ResourceManager.GetString("ConverterParameterIsNullSoDefaultIsUsed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Couldn&apos;t find the generic definition for &apos;{0}&apos;.
        /// </summary>
        internal static string CouldNotFindGenericDefinition {
            get {
                return ResourceManager.GetString("CouldNotFindGenericDefinition", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Could not resolve type &apos;{0}&apos;.
        /// </summary>
        internal static string CouldNotResolveType {
            get {
                return ResourceManager.GetString("CouldNotResolveType", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Could not split &apos;{0}&apos; for style &apos;{1}&apos; to determine the type of the &apos;BasedOn&apos; attribute.
        /// </summary>
        internal static string CouldNotSplitStyleToDetermineTypeOfBasedOnAttribute {
            get {
                return ResourceManager.GetString("CouldNotSplitStyleToDetermineTypeOfBasedOnAttribute", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Created a &apos;{0}&apos; control to viewmodel mapping from &apos;{1}&apos; to &apos;{2}&apos;.
        /// </summary>
        internal static string CreatedControlToViewModelMapping {
            get {
                return ResourceManager.GetString("CreatedControlToViewModelMapping", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Default handler for http-scheme not valid in Windows.
        /// </summary>
        internal static string DefaultHandlerForHttpNotRegistered {
            get {
                return ResourceManager.GetString("DefaultHandlerForHttpNotRegistered", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to DependencyProperty field &apos;{0}&apos; not found on &apos;{1}&apos;, not using the right naming convention?.
        /// </summary>
        internal static string DependencyPropertyFieldNotFound {
            get {
                return ResourceManager.GetString("DependencyPropertyFieldNotFound", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to deserialize object &apos;{0}&apos;.
        /// </summary>
        internal static string DeserializationFailed {
            get {
                return ResourceManager.GetString("DeserializationFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to detach from input thread.
        /// </summary>
        internal static string DetachThreadInputFailed {
            get {
                return ResourceManager.GetString("DetachThreadInputFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Disabled hardware acceleration for &apos;{0}&apos;.
        /// </summary>
        internal static string DisabledHardwareAcceleration {
            get {
                return ResourceManager.GetString("DisabledHardwareAcceleration", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to disconnect all items inside an IEnumerable.
        /// </summary>
        internal static string DisconnectEnumerableFailed {
            get {
                return ResourceManager.GetString("DisconnectEnumerableFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to enable the validation for the binding on &apos;{0}&apos;.
        /// </summary>
        internal static string EnableValidationOnBindingFailed {
            get {
                return ResourceManager.GetString("EnableValidationOnBindingFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to ensure application resources.
        /// </summary>
        internal static string EnsureApplicationResourcesFailed {
            get {
                return ResourceManager.GetString("EnsureApplicationResourcesFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to add a default style (&apos;{0}&apos;) definition to the list of styles.
        /// </summary>
        internal static string FailedToAddDefaultStyleToDefaultStylesList {
            get {
                return ResourceManager.GetString("FailedToAddDefaultStyleToDefaultStylesList", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to complete the style for &apos;{0}&apos;.
        /// </summary>
        internal static string FailedToCompleteStyle {
            get {
                return ResourceManager.GetString("FailedToCompleteStyle", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to configure IoC container.
        /// </summary>
        internal static string FailedToConfigureIoCContainer {
            get {
                return ResourceManager.GetString("FailedToConfigureIoCContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to create style forwarder for &apos;{0}&apos;.
        /// </summary>
        internal static string FailedToCreateStyleForwarder {
            get {
                return ResourceManager.GetString("FailedToCreateStyleForwarder", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to detect the view model services automatically.
        /// </summary>
        internal static string FailedToDetectViewModelServicesAutomatically {
            get {
                return ResourceManager.GetString("FailedToDetectViewModelServicesAutomatically", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to disabled hardware acceleration because visual &apos;{0}&apos; does not yet have a handle.
        /// </summary>
        internal static string FailedToDisableHardwareAcceleration {
            get {
                return ResourceManager.GetString("FailedToDisableHardwareAcceleration", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to find the framework element where style &apos;{0}&apos; is based on.
        /// </summary>
        internal static string FailedToFindFrameworkElementWhereStyleIsBasedOn {
            get {
                return ResourceManager.GetString("FailedToFindFrameworkElementWhereStyleIsBasedOn", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to get the types of assembly &apos;{0}&apos;.
        /// </summary>
        internal static string FailedToGetTypesOfAssembly {
            get {
                return ResourceManager.GetString("FailedToGetTypesOfAssembly", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to get the field value of &apos;{0}&apos; on &apos;{1}&apos; as DependencyProperty object, probably the wrong type (not DependencyProperty) or value is actually null.
        /// </summary>
        internal static string FailedToGetValueAsDependencyProperty {
            get {
                return ResourceManager.GetString("FailedToGetValueAsDependencyProperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to invoke OnPropertyChanged.
        /// </summary>
        internal static string FailedToInvokeOnPropertyChanged {
            get {
                return ResourceManager.GetString("FailedToInvokeOnPropertyChanged", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to register type &apos;{0}&apos;.
        /// </summary>
        internal static string FailedToRegisterType {
            get {
                return ResourceManager.GetString("FailedToRegisterType", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to start process to open &apos;{0}&apos;.
        /// </summary>
        internal static string FailedToStartProcess {
            get {
                return ResourceManager.GetString("FailedToStartProcess", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to transfer value from control property &apos;{0}&apos; to the view model property &apos;{1}&apos; for the ControlToViewModelMapping.
        /// </summary>
        internal static string FailedToTransferValueForControlToViewModelMapping {
            get {
                return ResourceManager.GetString("FailedToTransferValueForControlToViewModelMapping", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to focus element &apos;{0}&apos;.
        /// </summary>
        internal static string FocusElementFailed {
            get {
                return ResourceManager.GetString("FocusElementFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to focus next focusable element.
        /// </summary>
        internal static string FocusNextElementFailed {
            get {
                return ResourceManager.GetString("FocusNextElementFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to focus parent &apos;{0}&apos;.
        /// </summary>
        internal static string FocusParentFailed {
            get {
                return ResourceManager.GetString("FocusParentFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Forcing hardware rendering for pixel shader &apos;{0}&apos;.
        /// </summary>
        internal static string ForcingHardwareRenderingForPixelShader {
            get {
                return ResourceManager.GetString("ForcingHardwareRenderingForPixelShader", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Forcing software rendering for pixel shader &apos;{0}&apos;.
        /// </summary>
        internal static string ForcingSoftwareRenderingForPixelShader {
            get {
                return ResourceManager.GetString("ForcingSoftwareRenderingForPixelShader", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Found the parent view model container &apos;{0}&apos; for &apos;{1}&apos;.
        /// </summary>
        internal static string FoundParentViewModelContainer {
            get {
                return ResourceManager.GetString("FoundParentViewModelContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Hardware acceleration cannot yet be turned off for visual &apos;{0}&apos;, but will be as soon as the visual is loaded.
        /// </summary>
        internal static string HardwareAccelerationCannotBeDisabledYet {
            get {
                return ResourceManager.GetString("HardwareAccelerationCannotBeDisabledYet", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Hiding please wait window.
        /// </summary>
        internal static string HidingPleaseWaitWindow {
            get {
                return ResourceManager.GetString("HidingPleaseWaitWindow", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Ignored property changed event for Control.&apos;{0}&apos;.
        /// </summary>
        internal static string IgnoredPropertyChangedEventForControl {
            get {
                return ResourceManager.GetString("IgnoredPropertyChangedEventForControl", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Ignored property changed event for ViewModel.&apos;{0}&apos;.
        /// </summary>
        internal static string IgnoredPropertyChangedEventForViewModel {
            get {
                return ResourceManager.GetString("IgnoredPropertyChangedEventForViewModel", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Ignore next property changed event for Control.&apos;{0}&apos;.
        /// </summary>
        internal static string IgnoringNextPropertyChangedEventForControlProperty {
            get {
                return ResourceManager.GetString("IgnoringNextPropertyChangedEventForControlProperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Ignore next property changed event for ViewModel.&apos;{0}&apos;.
        /// </summary>
        internal static string IgnoringNextPropertyChangedEventForViewModelProperty {
            get {
                return ResourceManager.GetString("IgnoringNextPropertyChangedEventForViewModelProperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Initialized view model container to manage ControlToViewModel mappings.
        /// </summary>
        internal static string InitializedViewModelContainer {
            get {
                return ResourceManager.GetString("InitializedViewModelContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Initializing view model container to manage ControlToViewModel mappings.
        /// </summary>
        internal static string InitializingViewModelContainer {
            get {
                return ResourceManager.GetString("InitializingViewModelContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Invalid PixelShader Encountered. Occurs when the render thread cannot process the pixel shader..
        /// </summary>
        internal static string InvalidPixelShaderEncountered {
            get {
                return ResourceManager.GetString("InvalidPixelShaderEncountered", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to load text.
        /// </summary>
        internal static string LoadTextFailed {
            get {
                return ResourceManager.GetString("LoadTextFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to invoke method &apos;{0}&apos; on object &apos;{1}&apos;.
        /// </summary>
        internal static string MethodInvokeFailed {
            get {
                return ResourceManager.GetString("MethodInvokeFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to No closable parent found, using the Unloaded event of the control itself to clean up, which is buggy.
        /// </summary>
        internal static string NoClosableParentFoundThusUsingUnloadedEvent {
            get {
                return ResourceManager.GetString("NoClosableParentFoundThusUsingUnloadedEvent", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to No constructor with view model (of type &apos;{0}&apos;) injection found, trying default constructor.
        /// </summary>
        internal static string NoConstructorWithViewModelInjectionFound {
            get {
                return ResourceManager.GetString("NoConstructorWithViewModelInjectionFound", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to No InfoBarMessageControl is found in the visual tree of &apos;{0}&apos;, consider using the SkipSearchingForInfoBarMessageControl property to improve performance.
        /// </summary>
        internal static string NoInfoBarMessageControlIsFoundConsiderUsingSkipSearchingForInfoBarMessageControlProperty {
            get {
                return ResourceManager.GetString("NoInfoBarMessageControlIsFoundConsiderUsingSkipSearchingForInfoBarMessageControlP" +
                        "roperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Window &apos;{0}&apos; does not have an injection or default constructor, does cannot be constructed.
        /// </summary>
        internal static string NoInjectionOrDefaultConstructorFoundForWindow {
            get {
                return ResourceManager.GetString("NoInjectionOrDefaultConstructorFoundForWindow", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Couldn&apos;t find parent view model container.
        /// </summary>
        internal static string NotFoundParentViewModelContainer {
            get {
                return ResourceManager.GetString("NotFoundParentViewModelContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to object &apos;{0}&apos; is in the ignore list, thus messages will not be handled.
        /// </summary>
        internal static string ObjectIsInIgnoreListThusMessagesWillNotBeHandled {
            get {
                return ResourceManager.GetString("ObjectIsInIgnoreListThusMessagesWillNotBeHandled", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to OnLoaded in &apos;{0}&apos;.
        /// </summary>
        internal static string OnLoadedInObject {
            get {
                return ResourceManager.GetString("OnLoadedInObject", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to OnUnloaded in &apos;{0}&apos;.
        /// </summary>
        internal static string OnUnloadedInObject {
            get {
                return ResourceManager.GetString("OnUnloadedInObject", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Parent view model &apos;{0}&apos; is canceled, cancelling view model &apos;{1}&apos; as well.
        /// </summary>
        internal static string ParentViewModelIsCanceledThusCancelingViewModelToo {
            get {
                return ResourceManager.GetString("ParentViewModelIsCanceledThusCancelingViewModelToo", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Parent view model &apos;{0}&apos; is saved, saving view model &apos;{1}&apos; as well.
        /// </summary>
        internal static string ParentViewModelIsSavedThusSavingViewModel {
            get {
                return ResourceManager.GetString("ParentViewModelIsSavedThusSavingViewModel", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to parse &apos;{0}&apos; as &apos;{1}&apos;.
        /// </summary>
        internal static string ParseFailed {
            get {
                return ResourceManager.GetString("ParseFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to convert path &apos;{0}&apos; to a folder name.
        /// </summary>
        internal static string PathConversionFailed {
            get {
                return ResourceManager.GetString("PathConversionFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Pixel shaders are disabled, using default one that is safe.
        /// </summary>
        internal static string PixelShadersAreDisabled {
            get {
                return ResourceManager.GetString("PixelShadersAreDisabled", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Null-values are not allowed when not using ValidationEventAction.ClearAll.
        /// </summary>
        internal static string ProcessValidationCannotHandleNullValues {
            get {
                return ResourceManager.GetString("ProcessValidationCannotHandleNullValues", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Property &apos;{0}&apos; is decorated with the ControlToViewModelAttribute, creating a mapping.
        /// </summary>
        internal static string PropertyDecoratedWithControlToViewModelAttribute {
            get {
                return ResourceManager.GetString("PropertyDecoratedWithControlToViewModelAttribute", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Registered all DataWindow&lt;TViewModel&gt; implementations automatically.
        /// </summary>
        internal static string RegisteredAllDataWindowImplementationsAutomatically {
            get {
                return ResourceManager.GetString("RegisteredAllDataWindowImplementationsAutomatically", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Registered default service implementations for IoC container.
        /// </summary>
        internal static string RegisteredDefaultServiceImplementationsForIoCContainer {
            get {
                return ResourceManager.GetString("RegisteredDefaultServiceImplementationsForIoCContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Registered view model &apos;{0}&apos; in combination with &apos;{1}&apos; in the UIVisualizerService.
        /// </summary>
        internal static string RegisteredViewModelInUIVisualizerService {
            get {
                return ResourceManager.GetString("RegisteredViewModelInUIVisualizerService", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Registering all DataWindow&lt;TViewModel&gt; implementations automatically.
        /// </summary>
        internal static string RegisteringAllDataWindowImplementationsAutomatically {
            get {
                return ResourceManager.GetString("RegisteringAllDataWindowImplementationsAutomatically", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Registering default service implementations for IoC container.
        /// </summary>
        internal static string RegisteringDefaultServiceImplementationsForIoCContainer {
            get {
                return ResourceManager.GetString("RegisteringDefaultServiceImplementationsForIoCContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Restoring data context binding to &apos;{0}&apos;.
        /// </summary>
        internal static string RestoringDataContext {
            get {
                return ResourceManager.GetString("RestoringDataContext", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to retrieve the grabber information. Tried {0} times.
        /// </summary>
        internal static string RetrieveGrabberInformationFailed {
            get {
                return ResourceManager.GetString("RetrieveGrabberInformationFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Searching for an instance of the InfoBarMessageControl.
        /// </summary>
        internal static string SearchingForInfoBarMessageControl {
            get {
                return ResourceManager.GetString("SearchingForInfoBarMessageControl", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Showing please wait window.
        /// </summary>
        internal static string ShowingPleaseWaitWindow {
            get {
                return ResourceManager.GetString("ShowingPleaseWaitWindow", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Skipping the search for an instance of the InfoBarMessageControl.
        /// </summary>
        internal static string SkippingSearchForInfoBarMessageControl {
            get {
                return ResourceManager.GetString("SkippingSearchForInfoBarMessageControl", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to No longer ignoring next property changed event for Control.&apos;{0}&apos;.
        /// </summary>
        internal static string StoppedIgnoringNextPropertyChangedEventForControlProperty {
            get {
                return ResourceManager.GetString("StoppedIgnoringNextPropertyChangedEventForControlProperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to No longer ignoring next property changed event for ViewModel.&apos;{0}&apos;.
        /// </summary>
        internal static string StoppedIgnoringNextPropertyChangedEventForViewModelProperty {
            get {
                return ResourceManager.GetString("StoppedIgnoringNextPropertyChangedEventForViewModelProperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Style &apos;{0}&apos; does not have the &apos;BasedOn&apos; attribute defined.
        /// </summary>
        internal static string StyleDoesNotHaveBasedOnAttributeDefined {
            get {
                return ResourceManager.GetString("StyleDoesNotHaveBasedOnAttributeDefined", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Style &apos;{0}&apos; is based on type &apos;{1}&apos;.
        /// </summary>
        internal static string StyleIsBasedOnType {
            get {
                return ResourceManager.GetString("StyleIsBasedOnType", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Subscribed to parent view model &apos;{0}&apos;.
        /// </summary>
        internal static string SubscribedToParentViewModel {
            get {
                return ResourceManager.GetString("SubscribedToParentViewModel", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Subscribed to real DataContext via dependency property &apos;{0}&apos;.
        /// </summary>
        internal static string SubscribedToRealDataContextViaDependencyProperty {
            get {
                return ResourceManager.GetString("SubscribedToRealDataContextViaDependencyProperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Subscribed to real DataContext via INotifyPropertyChanged.
        /// </summary>
        internal static string SubscribedToRealDataContextViaINotifyPropertyChanged {
            get {
                return ResourceManager.GetString("SubscribedToRealDataContextViaINotifyPropertyChanged", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Failed to subscribe to event &apos;{0}&apos;.
        /// </summary>
        internal static string SubscribeEventFailed {
            get {
                return ResourceManager.GetString("SubscribeEventFailed", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Successfully resolved type &apos;{0}&apos; as &apos;{1}&apos;.
        /// </summary>
        internal static string SuccessfullyResolvedType {
            get {
                return ResourceManager.GetString("SuccessfullyResolvedType", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Transferred value successfully.
        /// </summary>
        internal static string TransferredValue {
            get {
                return ResourceManager.GetString("TransferredValue", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Transferring value of {0}.{1} to {2}.{3}.
        /// </summary>
        internal static string TransferringValue {
            get {
                return ResourceManager.GetString("TransferringValue", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Type &apos;{0}&apos; is not a FrameworkElement type, thus cannot be used.
        /// </summary>
        internal static string TypeIsNotAFrameworkElementType {
            get {
                return ResourceManager.GetString("TypeIsNotAFrameworkElementType", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Uninitialized view model &apos;{0}&apos;.
        /// </summary>
        internal static string UninitializedViewModel {
            get {
                return ResourceManager.GetString("UninitializedViewModel", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Uninitialized view model container to manage ControlToViewModel mappings.
        /// </summary>
        internal static string UninitializedViewModelContainer {
            get {
                return ResourceManager.GetString("UninitializedViewModelContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Uninitializing view model &apos;{0}&apos;.
        /// </summary>
        internal static string UninitializingViewModel {
            get {
                return ResourceManager.GetString("UninitializingViewModel", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Uninitializing view model container to manage ControlToViewModel mappings.
        /// </summary>
        internal static string UninitializingViewModelContainer {
            get {
                return ResourceManager.GetString("UninitializingViewModelContainer", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Unregistered view model &apos;{0}&apos; in UIVisualizerService.
        /// </summary>
        internal static string UnregisteredViewModelInUIVisualizerService {
            get {
                return ResourceManager.GetString("UnregisteredViewModelInUIVisualizerService", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Unsubscribed from parent view model.
        /// </summary>
        internal static string UnsubscribedFromParentViewModel {
            get {
                return ResourceManager.GetString("UnsubscribedFromParentViewModel", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Unsubscribed from real DataContext via dependency property &apos;{0}&apos;.
        /// </summary>
        internal static string UnsubscribedFromRealDataContextViaDependencyProperty {
            get {
                return ResourceManager.GetString("UnsubscribedFromRealDataContextViaDependencyProperty", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Unsubscribed from real DataContext via INotifyPropertyChanged.
        /// </summary>
        internal static string UnsubscribedFromRealDataContextViaINotifyPropertyChanged {
            get {
                return ResourceManager.GetString("UnsubscribedFromRealDataContextViaINotifyPropertyChanged", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Updated DataContext to use the view model via dispatcher.
        /// </summary>
        internal static string UpdatedDataContextViaDispatcher {
            get {
                return ResourceManager.GetString("UpdatedDataContextViaDispatcher", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Updating DataContext via dispatcher because control is already loaded, but no DataContext was provided initially.
        /// </summary>
        internal static string UpdatingDataContextViaDispatcher {
            get {
                return ResourceManager.GetString("UpdatingDataContextViaDispatcher", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to View model &apos;{0}&apos; is automatically constructed by DataContext change.
        /// </summary>
        internal static string ViewModelAutomaticallyConstructedByDataContextChange {
            get {
                return ResourceManager.GetString("ViewModelAutomaticallyConstructedByDataContextChange", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Cannot create view model &apos;{0}&apos; automatically by the DataContext change.
        /// </summary>
        internal static string ViewModelNotAutomaticallyConstructedByDataContextChange {
            get {
                return ResourceManager.GetString("ViewModelNotAutomaticallyConstructedByDataContextChange", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Cannot create view model &apos;{0}&apos; automatically by the DataContext change because there is no constructor with type &apos;{1}&apos;.
        /// </summary>
        internal static string ViewModelNotAutomaticallyConstructedByDataContextChangeBecauseThereIsNoConstructor {
            get {
                return ResourceManager.GetString("ViewModelNotAutomaticallyConstructedByDataContextChangeBecauseThereIsNoConstructo" +
                        "r", resourceCulture);
            }
        }
    }
}

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Geert van Horrik
Software Developer CatenaLogic
Netherlands Netherlands
I am Geert van Horrik, and I have studied Computer Science in the Netherlands.
 
I love to write software using .NET (especially the combination of WPF and C#). I am also the lead developer of Catel, an open-source application development framework for WPF, Silverlight, WP7 and WinRT with the focus on MVVM.
 
I have my own company since January 1st 2007, called CatenaLogic. This company develops commercial and non-commercial software.
 
To download (or buy) applications I have written, visit my website: http://www.catenalogic.com
Follow on   Twitter

| Advertise | Privacy | Mobile
Web01 | 2.8.141022.1 | Last Updated 28 Jan 2011
Article Copyright 2011 by Geert van Horrik
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid