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

A Prism 4 Application Checklist

, 5 Apr 2011
The article provides a step-by-step explanation of how to set up a Prism application.
Prism4Demo.zip
Prism4Demo
Prism4Demo.Common
BaseClasses
bin
Events
obj
Debug
TempPE
Prism4Demo.Common.csproj.user
Properties
Prism4Demo.Library
FsTools
FsTaskButton.dll
Prism
Microsoft.Practices.Prism.dll
Microsoft.Practices.Prism.UnityExtensions.dll
Microsoft.Practices.ServiceLocation.dll
Microsoft.Practices.Unity.dll
Ribbon
RibbonControlsLibrary.dll
Prism4Demo.ModuleA
bin
Commands
obj
Debug
TempPE
Views
Prism4Demo.ModuleA.csproj.user
Properties
Settings.settings
Services
ViewModels
Views
Images
LargeIcon.png
module_a.png
SmallIcon.png
Prism4Demo.ModuleB
bin
Commands
obj
Debug
TempPE
Views
Prism4Demo.ModuleB.csproj.user
Properties
Settings.settings
Services
ViewModels
Views
Images
LargeIcon.png
module_b.png
SmallIcon.png
Prism4Demo
bin
obj
x86
Debug
TempPE
Views
Prism4Demo.csproj.user
Properties
Settings.settings
Services
Utility
ViewModels
Views
Images
LargeIcon.png
new.png
open.png
print.png
ribbon.png
save.png
SmallIcon.png
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Microsoft.Practices.Prism.UnityExtensions</name>
    </assembly>
    <members>
        <member name="T:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources">
            <summary>
              A strongly-typed resource class, for looking up localized strings, etc.
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.ResourceManager">
            <summary>
              Returns the cached ResourceManager instance used by this class.
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.Culture">
            <summary>
              Overrides the current thread's CurrentUICulture property for all
              resource lookups using this strongly typed resource class.
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.AddingUnityBootstrapperExtensionToContainer">
            <summary>
              Looks up a localized string similar to Adding UnityBootstrapperExtension to container..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.BootstrapperSequenceCompleted">
            <summary>
              Looks up a localized string similar to Bootstrapper sequence completed..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.ConfiguringDefaultRegionBehaviors">
            <summary>
              Looks up a localized string similar to Configuring default region behaviors..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.ConfiguringModuleCatalog">
            <summary>
              Looks up a localized string similar to Configuring module catalog..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.ConfiguringRegionAdapters">
            <summary>
              Looks up a localized string similar to Configuring region adapters..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.ConfiguringServiceLocatorSingleton">
            <summary>
              Looks up a localized string similar to Configuring ServiceLocator singleton..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.ConfiguringUnityContainer">
            <summary>
              Looks up a localized string similar to Configuring the Unity container..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.CreatingModuleCatalog">
            <summary>
              Looks up a localized string similar to Creating module catalog..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.CreatingShell">
            <summary>
              Looks up a localized string similar to Creating the shell..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.CreatingUnityContainer">
            <summary>
              Looks up a localized string similar to Creating Unity container..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.InitializingModules">
            <summary>
              Looks up a localized string similar to Initializing modules..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.InitializingShell">
            <summary>
              Looks up a localized string similar to Initializing the shell..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.LoggerCreatedSuccessfully">
            <summary>
              Looks up a localized string similar to Logger was created successfully..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.NotOverwrittenGetModuleEnumeratorException">
            <summary>
              Looks up a localized string similar to The method &apos;GetModuleEnumerator&apos; of the bootstrapper must be overwritten in order to use the default module initialization logic..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.NullLoggerFacadeException">
            <summary>
              Looks up a localized string similar to The ILoggerFacade is required and cannot be null..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.NullModuleCatalogException">
            <summary>
              Looks up a localized string similar to The IModuleCatalog is required and cannot be null in order to initialize the modules..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.NullUnityContainerException">
            <summary>
              Looks up a localized string similar to The IUnityContainer is required and cannot be null..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.RegisteringFrameworkExceptionTypes">
            <summary>
              Looks up a localized string similar to Registering Framework Exception Types..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.SettingTheRegionManager">
            <summary>
              Looks up a localized string similar to Setting the RegionManager..
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.TypeMappingAlreadyRegistered">
            <summary>
              Looks up a localized string similar to Type &apos;{0}&apos; was already registered by the application. Skipping....
            </summary>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.Properties.Resources.UpdatingRegions">
            <summary>
              Looks up a localized string similar to Updating Regions..
            </summary>
        </member>
        <member name="T:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper">
            <summary>
            Base class that provides a basic bootstrapping sequence that
            registers most of the Composite Application Library assets
            in a <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/>.
            </summary>
            <remarks>
            This class must be overriden to provide application specific configuration.
            </remarks>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.Run(System.Boolean)">
            <summary>
            Run the bootstrapper process.
            </summary>
            <param name="runWithDefaultConfiguration">If <see langword="true"/>, registers default Composite Application Library services in the container. This is the default behavior.</param>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.ConfigureServiceLocator">
            <summary>
            Configures the LocatorProvider for the <see cref="T:Microsoft.Practices.ServiceLocation.ServiceLocator"/>.
            </summary>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.RegisterFrameworkExceptionTypes">
            <summary>
            Registers in the <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> the <see cref="T:System.Type"/> of the Exceptions
            that are not considered root exceptions by the <see cref="T:Microsoft.Practices.Prism.ExceptionExtensions"/>.
            </summary>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.ConfigureContainer">
            <summary>
            Configures the <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/>. May be overwritten in a derived class to add specific
            type mappings required by the application.
            </summary>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.InitializeModules">
            <summary>
            Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
            </summary>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.CreateContainer">
            <summary>
            Creates the <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> that will be used as the default container.
            </summary>
            <returns>A new instance of <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/>.</returns>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.RegisterTypeIfMissing(System.Type,System.Type,System.Boolean)">
            <summary>
            Registers a type in the container only if that type was not already registered.
            </summary>
            <param name="fromType">The interface type to register.</param>
            <param name="toType">The type implementing the interface.</param>
            <param name="registerAsSingleton">Registers the type as a singleton.</param>
        </member>
        <member name="P:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapper.Container">
            <summary>
            Gets the default <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> for the application.
            </summary>
            <value>The default <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> instance.</value>
        </member>
        <member name="T:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapperExtension">
            <summary>
            Implements a <see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> that checks if a specific type was registered with the container.
            </summary>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapperExtension.IsTypeRegistered(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
            <summary>
            Evaluates if a specified type was registered in the container.
            </summary>
            <param name="container">The container to check if the type was registered in.</param>
            <param name="type">The type to check if it was registered.</param>
            <returns><see langword="true"/> if the <paramref name="type"/> was registered with the container.</returns>
            <remarks>
            In order to use this extension, you must first call <see cref="M:Microsoft.Practices.Unity.UnityContainerExtensions.AddNewExtension``1(Microsoft.Practices.Unity.IUnityContainer)"/> 
            and specify <see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> as the extension type.
            </remarks>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapperExtension.Initialize">
            <summary>
            Initializes the container with this extension's functionality.
            </summary>
        </member>
        <member name="T:Microsoft.Practices.Prism.UnityExtensions.UnityServiceLocatorAdapter">
            <summary>
            Defines a <seealso cref="T:Microsoft.Practices.Unity.IUnityContainer"/> adapter for the <see cref="T:Microsoft.Practices.ServiceLocation.IServiceLocator"/> interface to be used by the Composite Application Library.
            </summary>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityServiceLocatorAdapter.#ctor(Microsoft.Practices.Unity.IUnityContainer)">
            <summary>
            Initializes a new instance of <see cref="T:Microsoft.Practices.Prism.UnityExtensions.UnityServiceLocatorAdapter"/>.
            </summary>
            <param name="unityContainer">The <seealso cref="T:Microsoft.Practices.Unity.IUnityContainer"/> that will be used
            by the <see cref="M:Microsoft.Practices.Prism.UnityExtensions.UnityServiceLocatorAdapter.DoGetInstance(System.Type,System.String)"/> and <see cref="M:Microsoft.Practices.Prism.UnityExtensions.UnityServiceLocatorAdapter.DoGetAllInstances(System.Type)"/> methods.</param>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityServiceLocatorAdapter.DoGetInstance(System.Type,System.String)">
            <summary>
            Resolves the instance of the requested service.
            </summary>
            <param name="serviceType">Type of instance requested.</param>
            <param name="key">Name of registered service you want. May be null.</param>
            <returns>The requested service instance.</returns>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityServiceLocatorAdapter.DoGetAllInstances(System.Type)">
            <summary>
            Resolves all the instances of the requested service.
            </summary>
            <param name="serviceType">Type of service requested.</param>
            <returns>Sequence of service instance objects.</returns>
        </member>
        <member name="T:Microsoft.Practices.Prism.UnityExtensions.UnityContainerHelper">
            <summary>
            Extensions methods to extend and facilitate the usage of <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/>.
            </summary>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityContainerHelper.IsTypeRegistered(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
            <summary>
            Returns whether a specified type has a type mapping registered in the container.
            </summary>
            <param name="container">The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to check for the type mapping.</param>
            <param name="type">The type to check if there is a type mapping for.</param>
            <returns><see langword="true"/> if there is a type mapping registered for <paramref name="type"/>.</returns>
            <remarks>In order to use this extension method, you first need to add the
            <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> extension to the <see cref="T:Microsoft.Practices.Prism.UnityExtensions.UnityBootstrapperExtension"/>.
            </remarks>        
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityContainerHelper.TryResolve``1(Microsoft.Practices.Unity.IUnityContainer)">
            <summary>
            Utility method to try to resolve a service from the container avoiding an exception if the container cannot build the type.
            </summary>
            <param name="container">The cointainer that will be used to resolve the type.</param>
            <typeparam name="T">The type to resolve.</typeparam>
            <returns>The instance of <typeparamref name="T"/> built up by the container.</returns>
        </member>
        <member name="M:Microsoft.Practices.Prism.UnityExtensions.UnityContainerHelper.TryResolve(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
            <summary>
            Utility method to try to resolve a service from the container avoiding an exception if the container cannot build the type.
            </summary>
            <param name="container">The cointainer that will be used to resolve the type.</param>
            <param name="typeToResolve">The type to resolve.</param>
            <returns>The instance of <paramref name="typeToResolve"/> built up by the container.</returns>
        </member>
    </members>
</doc>

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

David Veeneman
Software Developer (Senior) Foresight Systems
United States United States
David Veeneman is a financial planner and software developer. He is the author of "The Fortune in Your Future" (McGraw-Hill 1998). His company, Foresight Systems, develops planning and financial software.

| Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 5 Apr 2011
Article Copyright 2011 by David Veeneman
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid