Prism The CompositeCommand composes one or more ICommands. Initializes a new instance of . Initializes a new instance of . Indicates when the command activity is going to be monitored. Adds a command to the collection and signs up for the event of it. If this command is set to monitor command activity, and implements the interface, this method will subscribe to its event. The command to register. Removes a command from the collection and removes itself from the event of it. The command to unregister. Forwards to the registered commands and returns if all of the commands return . Data used by the command. If the command does not require data to be passed, this object can be set to . if all of the commands return ; otherwise, . Occurs when any of the registered commands raise . Forwards to the registered commands. Data used by the command. If the command does not require data to be passed, this object can be set to . Evaluates if a command should execute. The command to evaluate. A value indicating whether the command should be used when evaluating and . If this command is set to monitor command activity, and implements the interface, this method will return if the command's property is ; otherwise it always returns . Gets the list of all the registered commands. A list of registered commands. This returns a copy of the commands subscribed to the CompositeCommand. Raises on the UI thread so every command invoker can requery to check if the can execute. Handler for IsActiveChanged events of registered commands. The sender. EventArgs to pass to the event. An whose delegates do not take any parameters for and . Creates a new instance of with the to invoke on execution. The to invoke when is called. Creates a new instance of with the to invoke on execution and a to query for determining if the command can execute. The to invoke when is called. The to invoke when is called Executes the command. Determines if the command can be executed. Returns if the command can execute,otherwise returns . Handle the internal invocation of Command Parameter Handle the internal invocation of if the Command Can Execute, otherwise Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications. The object type containing the property specified in the expression. The property expression. Example: ObservesProperty(() => PropertyName). The current instance of DelegateCommand Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications. The property expression. Example: ObservesCanExecute(() => PropertyName). The current instance of DelegateCommand An whose delegates can be attached for and . Creates a new instance of a , specifying both the execute action and the can execute function. Occurs when changes occur that affect whether or not the command should execute. Raises so every command invoker can requery . Raises so every command invoker can requery to check if the command can execute. Note that this will trigger the execution of once for each invoker. Handle the internal invocation of Command Parameter Handle the internal invocation of if the Command Can Execute, otherwise Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications. The object type containing the property specified in the expression. The property expression. Example: ObservesProperty(() => PropertyName). Gets or sets a value indicating whether the object is active. if the object is active; otherwise . Fired if the property changes. This raises the event. An whose delegates can be attached for and . Parameter type. The constructor deliberately prevents the use of value types. Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings. Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values. Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property. public MyClass() { this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit); } private bool CanSubmit(int? customerId) { return (customerId.HasValue && customers.Contains(customerId.Value)); } Initializes a new instance of . Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate. will always return true. Initializes a new instance of . Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate. Delegate to execute when CanExecute is called on the command. This can be null. When both and are . Executes the command and invokes the provided during construction. Data used by the command. Determines if the command can execute by invoked the provided during construction. Data used by the command to determine if it can execute. if this command can be executed; otherwise, . Handle the internal invocation of Command Parameter Handle the internal invocation of if the Command Can Execute, otherwise Observes a property that implements INotifyPropertyChanged, and automatically calls DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications. The type of the return value of the method that this delegate encapsulates The property expression. Example: ObservesProperty(() => PropertyName). The current instance of DelegateCommand Observes a property that is used to determine if this command can execute, and if it implements INotifyPropertyChanged it will automatically call DelegateCommandBase.RaiseCanExecuteChanged on property changed notifications. The property expression. Example: ObservesCanExecute(() => PropertyName). The current instance of DelegateCommand Provide a way to observe property changes of INotifyPropertyChanged objects and invokes a custom action when the PropertyChanged event is fired. Observes a property that implements INotifyPropertyChanged, and automatically calls a custom action on property changed notifications. The given expression must be in this form: "() => Prop.NestedProp.PropToObserve". Expression representing property to be observed. Ex.: "() => Prop.NestedProp.PropToObserve". Action to be invoked when PropertyChanged event occurs. Represents each node of nested properties expression and takes care of subscribing/unsubscribing INotifyPropertyChanged.PropertyChanged listeners on it. Defines a contract for specifying values associated with a unique key. Adds the specified key and value to the parameter collection. The key of the parameter to add. The value of the parameter to add. Determines whether the contains the specified . The key to search the parameters for existence. true if the contains a parameter with the specified key; otherwise, false. Gets the number of parameters contained in the . Gets a collection containing the keys in the . Gets the parameter associated with the specified . The type of the parameter to get. The key of the parameter to find. A matching value of if it exists. Gets the parameter associated with the specified . The type of the parameter to get. The key of the parameter to find. An of all the values referenced by key. Gets the parameter associated with the specified . The type of the parameter to get. The key of the parameter to get. When this method returns, contains the parameter associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. true if the contains a parameter with the specified key; otherwise, false. Gets the parameter associated with the specified key (legacy). The key of the parameter to get. A matching value if it exists. A dictionary of lists. The key to use for lists. The type of the value held by lists. If a list does not already exist, it will be created automatically. The key of the list that will hold the value. Adds a value to a list with the given key. If a list does not already exist, it will be created automatically. The key of the list that will hold the value. The value to add to the list under the given key. Removes all entries in the dictionary. Determines whether the dictionary contains the specified value. The value to locate. true if the dictionary contains the value in any list; otherwise, false. Determines whether the dictionary contains the given key. The key to locate. true if the dictionary contains the given key; otherwise, false. Retrieves the all the elements from the list which have a key that matches the condition defined by the specified predicate. The filter with the condition to use to filter lists by their key. The elements that have a key that matches the condition defined by the specified predicate. Retrieves all the elements that match the condition defined by the specified predicate. The filter with the condition to use to filter values. The elements that match the condition defined by the specified predicate. Removes a list by key. The key of the list to remove. if the element was removed. Removes a value from the list with the given key. The key of the list where the value exists. The value to remove. Removes a value from all lists where it may be found. The value to remove. Gets a shallow copy of all values in all lists. List of values. Gets the list of keys in the dictionary. Collection of keys. Gets or sets the list associated with the given key. The access always succeeds, eventually returning an empty list. The key of the list to access. The list associated with the key. Gets the number of lists in the dictionary. Value indicating the values count. See for more information. See for more information. See for more information. See for more information. See for more information. See for more information. See for more information. See for more information. See for more information. See for more information. This is a generic parameters base class used for Dialog Parameters and Navigation Parameters. Default constructor. Constructs a list of parameters. Query string to be parsed. Searches Parameter collection and returns value if Collection contains key. Otherwise returns null. The key for the value to be returned. The value of the parameter referenced by the key; otherwise null. The count, or number, of parameters in collection. Returns an IEnumerable of the Keys in the collection. Adds the key and value to the parameters collection. The key to reference this value in the parameters collection. The value of the parameter to store. Checks collection for presence of key. The key to check in the collection. true if key exists; else returns false. Gets an enumerator for the KeyValuePairs in parameter collection. Enumerator. Returns the value of the member referenced by key. The type of object to be returned. The key for the value to be returned. Returns a matching parameter of if one exists in the Collection. Returns an IEnumerable of all parameters. The type for the values to be returned. The key for the values to be returned. Returns a IEnumerable of all the instances of type . Checks to see if the parameter collection contains the value. The type for the values to be returned. The key for the value to be returned. Value of the returned parameter if it exists. Converts parameter collection to a parameter string. A string representation of the parameters. Adds a collection of parameters to the local parameter list. An IEnumerable of KeyValuePairs to add to the current parameter list. Extension methods for Navigation or Dialog parameters Searches for The type of the parameter to return A collection of parameters to search The key of the parameter to find A matching value of if it exists Searches for value referenced by A collection of parameters to search The key of the parameter to find The type of the parameter to return A matching value of if it exists Unable to convert the value of Type Searches for value referenced by The type of the parameter to return A collection of parameters to search The key of the parameter to find The value of parameter to return Success if value is found; otherwise returns false Searches for value referenced by The type of the parameter to return A collection of parameters to search The key of the parameter to find An IEnumerable{T} of all the values referenced by key Checks to see if key exists in parameter collection IEnumerable to search The key to search the for existence true if key exists; false otherwise Extends to invoke the delegate in a background thread. Creates a new instance of . A reference to a delegate of type . When or are . When the target of is not of type . Invokes the specified in an asynchronous thread by using a . The action to execute. Extends to invoke the delegate in a background thread. The type to use for the generic and types. Creates a new instance of . A reference to a delegate of type . A reference to a delegate of type . When or are . When the target of is not of type , or the target of is not of type . Invokes the specified in an asynchronous thread by using a . The action to execute. The payload to pass while invoking it. Generic arguments class to pass to event handlers that need to receive data. The type of data to pass. Initializes the DataEventArgs class. Information related to the event. Gets the information related to the event. Information related to the event. Represents a reference to a that may contain a to the target. This class is used internally by the Prism Library. Initializes a new instance of . The original to create a reference for. If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target. If the passed is not assignable to . Gets the (the target) referenced by the current object. if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object. Checks if the (the target) referenced by the current object are equal to another . This is equivalent with comparing with , only more efficient. The other delegate to compare with. True if the target referenced by the current object are equal to . Extends to invoke the delegate in a specific . Creates a new instance of . A reference to a delegate of type . The synchronization context to use for UI thread dispatching. When or are . When the target of is not of type . Invokes the specified asynchronously in the specified . The action to execute. Extends to invoke the delegate in a specific . The type to use for the generic and types. Creates a new instance of . A reference to a delegate of type . A reference to a delegate of type . The synchronization context to use for UI thread dispatching. When or are . When the target of is not of type , or the target of is not of type . Invokes the specified asynchronously in the specified . The action to execute. The payload to pass while invoking it. Implements . Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance. The type of event to get. This must inherit from . A singleton instance of an event object of type . Defines a base class to publish and subscribe to events. Allows the SynchronizationContext to be set by the EventAggregator for UI Thread Dispatching Gets the list of current subscriptions. The current subscribers. Adds the specified to the subscribers' collection. The subscriber. The that uniquely identifies every subscriber. Adds the subscription to the internal list and assigns it a new . Calls all the execution strategies exposed by the list of . The arguments that will be passed to the listeners. Before executing the strategies, this class will prune all the subscribers from the list that return a when calling the method. Removes the subscriber matching the . The returned by while subscribing to the event. Returns if there is a subscriber matching . The returned by while subscribing to the event. if there is a that matches; otherwise . Forces the PubSubEvent to remove any subscriptions that no longer have an execution strategy. Provides a way to retrieve a to execute an action depending on the value of a second filter predicate that returns true if the action should execute. Creates a new instance of . A reference to a delegate of type . When or are . When the target of is not of type . Gets the target that is referenced by the . An or if the referenced target is not alive. Gets or sets a that identifies this . A token that identifies this . Gets the execution strategy to publish this event. An with the execution strategy, or if the is no longer valid. If is no longer valid because it was garbage collected, this method will return . Otherwise it will return a delegate that evaluates the and if it returns will then call . The returned delegate holds a hard reference to the target delegates. As long as the returned delegate is not garbage collected, the references delegates won't get collected either. Invokes the specified synchronously when not overridden. The action to execute. An is thrown if is null. Provides a way to retrieve a to execute an action depending on the value of a second filter predicate that returns true if the action should execute. The type to use for the generic and types. Creates a new instance of . A reference to a delegate of type . A reference to a delegate of type . When or are . When the target of is not of type , or the target of is not of type . Gets the target that is referenced by the . An or if the referenced target is not alive. Gets the target that is referenced by the . An or if the referenced target is not alive. Gets or sets a that identifies this . A token that identifies this . Gets the execution strategy to publish this event. An with the execution strategy, or if the is no longer valid. If or are no longer valid because they were garbage collected, this method will return . Otherwise it will return a delegate that evaluates the and if it returns will then call . The returned delegate holds hard references to the and target delegates. As long as the returned delegate is not garbage collected, the and references delegates won't get collected either. Invokes the specified synchronously when not overridden. The action to execute. The payload to pass while invoking it. An is thrown if is null. Represents a reference to a . Gets the referenced object. A instance if the target is valid; otherwise . Defines an interface to get instances of an event type. Gets an instance of an event type. The type of event to get. An instance of an event object of type . Defines a contract for an event subscription to be used by . Gets or sets a that identifies this . A token that identifies this . Gets the execution strategy to publish this event. An with the execution strategy, or if the is no longer valid. Defines a class that manages publication and subscription to events. Subscribes a delegate to an event that will be published on the . will maintain a to the target of the supplied delegate. The delegate that gets executed when the event is published. A that uniquely identifies the added subscription. The PubSubEvent collection is thread-safe. Subscribes a delegate to an event. PubSubEvent will maintain a to the Target of the supplied delegate. The delegate that gets executed when the event is raised. Specifies on which thread to receive the delegate callback. A that uniquely identifies the added subscription. The PubSubEvent collection is thread-safe. Subscribes a delegate to an event that will be published on the . The delegate that gets executed when the event is published. When , the keeps a reference to the subscriber so it does not get garbage collected. A that uniquely identifies the added subscription. If is set to , will maintain a to the Target of the supplied delegate. If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior. The PubSubEvent collection is thread-safe. Subscribes a delegate to an event. The delegate that gets executed when the event is published. Specifies on which thread to receive the delegate callback. When , the keeps a reference to the subscriber so it does not get garbage collected. A that uniquely identifies the added subscription. If is set to , will maintain a to the Target of the supplied delegate. If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior. The PubSubEvent collection is thread-safe. Publishes the . Removes the first subscriber matching from the subscribers' list. The used when subscribing to the event. Returns if there is a subscriber matching . The used when subscribing to the event. if there is an that matches; otherwise . Defines a class that manages publication and subscription to events. The type of message that will be passed to the subscribers. Subscribes a delegate to an event that will be published on the . will maintain a to the target of the supplied delegate. The delegate that gets executed when the event is published. A that uniquely identifies the added subscription. The PubSubEvent collection is thread-safe. Subscribes a delegate to an event that will be published on the The delegate that gets executed when the event is raised. Filter to evaluate if the subscriber should receive the event. A that uniquely identifies the added subscription. Subscribes a delegate to an event. PubSubEvent will maintain a to the Target of the supplied delegate. The delegate that gets executed when the event is raised. Specifies on which thread to receive the delegate callback. A that uniquely identifies the added subscription. The PubSubEvent collection is thread-safe. Subscribes a delegate to an event that will be published on the . The delegate that gets executed when the event is published. When , the keeps a reference to the subscriber so it does not get garbage collected. A that uniquely identifies the added subscription. If is set to , will maintain a to the Target of the supplied delegate. If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior. The PubSubEvent collection is thread-safe. Subscribes a delegate to an event. The delegate that gets executed when the event is published. Specifies on which thread to receive the delegate callback. When , the keeps a reference to the subscriber so it does not get garbage collected. A that uniquely identifies the added subscription. If is set to , will maintain a to the Target of the supplied delegate. If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior. The PubSubEvent collection is thread-safe. Subscribes a delegate to an event. The delegate that gets executed when the event is published. Specifies on which thread to receive the delegate callback. When , the keeps a reference to the subscriber so it does not get garbage collected. Filter to evaluate if the subscriber should receive the event. A that uniquely identifies the added subscription. If is set to , will maintain a to the Target of the supplied delegate. If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexpected behavior. The PubSubEvent collection is thread-safe. Publishes the . Message to pass to the subscribers. Removes the first subscriber matching from the subscribers' list. The used when subscribing to the event. Returns if there is a subscriber matching . The used when subscribing to the event. if there is an that matches; otherwise . Subscription token returned from on subscribe. Initializes a new instance of . Indicates whether the current object is equal to another object of the same type. if the current object is equal to the parameter; otherwise, . An object to compare with this object. Determines whether the specified is equal to the current . true if the specified is equal to the current ; otherwise, false. The to compare with the current . The parameter is null.2 Serves as a hash function for a particular type. A hash code for the current . 2 Disposes the SubscriptionToken, removing the subscription from the corresponding . Specifies on which thread a subscriber will be called. The call is done on the same thread on which the was published. The call is done on the UI thread. The call is done asynchronously on a background thread. Interface that defines if the object instance is active and notifies when the activity changes. Gets or sets a value indicating whether the object is active. if the object is active; otherwise . Notifies that the value for property has changed. The tracks the current instance of the Container used by your Application Gets the current . Gets the Sets the Container Factory to use if the Current is null NOTE: We want to use Lazy Initialization in case the container is first created prior to Prism initializing which could be the case with Shiny Used for Testing to Reset the Current Container A collection of Errors encountered by while attempting to resolve a given type. Provides a list of 's affected. This could include for Registered View's Provides a common exception class to be used by when encountering a resolution exception The message provided by when no registration was found with the container The message provided by when the implementing type is abstract The message provided by when multiple constructors were found in the implementing type The message provided by when no public constructors were found in the implementing type The message provided by when no public constructors were found in the implementing type The message provided by when we have no clue why the container failed. Please file an issue with the Prism team if you encounter a ContainerResolutionException with this message Creates a new instance of the The failed Service that was attempted to be resolved. The actual thrown by the Container. Creates a new instance of the The failed Service that was attempted to be resolved. The Service Name/Key used to resolve the Service Type. The actual thrown by the Container. Gets the ServiceType Gets the Service Key if one was used to resolve the ServiceType This is most commonly the key used to resolve a View for Navigation. Gets a Dictionary of errors and their corresponding types to help diagnose possible issues that resulted in the ContainerResolutionException. A mapping types that encountered given exceptions in the resolution process. A strongly typed container extension The underlying root container The instance of the wrapped container A generic abstraction for what Prism expects from a container Used to perform any final steps for configuring the extension that may be required by the container. Resolves Services from the Container Resolves a given The service The resolved Service Resolves a given The service Typed parameters to use when resolving the Service The resolved Service Resolves a given The service The service name/key used when registering the The resolved Service Resolves a given The service The service name/key used when registering the Typed parameters to use when resolving the Service The resolved Service Creates a new scope Gets the Current Scope Provides Generic Type extensions for the Resolves a given The service The current The resolved Service Resolves a given The service The current Typed parameters to use when resolving the Service The resolved Service Resolves a given The service The current The service name/key used when registering the Typed parameters to use when resolving the Service The resolved Service Resolves a given The service The current The service name/key used when registering the The resolved Service Determines if a given service is registered The service The instance of the true if the service is registered. Determines if a given service is registered with the specified name The service The instance of the The service name or key used true if the service is registered. The registering container Registers an instance of a given The service that is being registered The instance of the service or The instance Registers an instance of a given with the specified name or key The service that is being registered The instance of the service or The name or key to register the service The instance Registers a Singleton with the given service and mapping to the specified implementation . The service The implementation The instance Registers a Singleton with the given service and mapping to the specified implementation . The service The implementation The name or key to register the service The instance Registers a Singleton with the given service factory delegate method. The service The delegate method. The instance Registers a Singleton with the given service factory delegate method. The service The delegate method using . The instance Registers a Singleton Service which implements service interfaces The implementation . The service 's. The instance Registers all interfaces if none are specified. Registers a Transient with the given service and mapping to the specified implementation . The service The implementation The instance Registers a Transient with the given service and mapping to the specified implementation . The service The implementation The name or key to register the service The instance Registers a Transient Service using a delegate method The service The delegate method. The instance Registers a Transient Service using a delegate method The service The delegate method using . The instance Registers a Transient Service which implements service interfaces The implementing . The service 's. The instance Registers all interfaces if none are specified. Registers a scoped service The service The implementation The instance Registers a scoped service using a delegate method. The service The delegate method. The instance Registers a scoped service using a delegate method. The service . The delegate method. The instance Determines if a given service is registered The service true if the service is registered. Determines if a given service is registered with the specified name The service The service name or key used true if the service is registered. Provides Generic Type extensions for the Registers an instance of a given The service that is being registered The instance of the The instance of the service or The instance Registers an instance of a given with the specified name or key The service that is being registered The instance of the The instance of the service or The name or key to register the service The instance Registers a Singleton with the given . The instance of the The concrete The instance Registers a Singleton with the given service and mapping to the specified implementation . The service The implementation The instance of the The instance Registers a Singleton with the given service and mapping to the specified implementation . The service The implementation The instance of the The name or key to register the service The instance Registers a Singleton with the given . The instance of the The concrete The instance Registers a Singleton with the given service factory delegate method. The service The instance of the The delegate method. The instance Registers a Singleton with the given service factory delegate method. The service The instance of the The delegate method using . The instance Registers a Singleton Service which implements service interfaces The implementation . The instance of the The service 's. The instance Registers all interfaces if none are specified. Registers a Transient with the given . The instance of the The concrete The instance Registers a Transient with the given . The instance of the The concrete The instance Registers a Transient with the given . The instance of the The concrete The name or key to register the service The instance Registers a Singleton with the given . The instance of the The concrete The name or key to register the service The instance Registers a Transient with the given service and mapping to the specified implementation . The service The implementation The instance of the The instance Registers a Transient with the given service and mapping to the specified implementation . The service The implementation The instance of the The name or key to register the service The instance Registers a Transient Service using a delegate method The service The instance of the The delegate method. The instance Registers a Transient Service using a delegate method The service The instance of the The delegate method using . The instance Registers a Transient Service which implements service interfaces The implementing The instance of the The service 's. The instance Registers all interfaces if none are specified. Registers a scoped service. The instance of the The concrete . The instance Registers a scoped service. The service The instance of the The instance Registers a scoped service The service The implementation The instance of the The instance Registers a scoped service using a delegate method. The service The instance of the The delegate method. The instance Registers a scoped service using a delegate method. The service The instance of the The delegate method. The instance Determines if a given service is registered The service The instance of the true if the service is registered. Determines if a given service is registered with the specified name The service The instance of the The service name or key used true if the service is registered. Used to resolve the registered implementation type for a given key Locates the registered implementation for a give key Registration Key Implementation Locates the registered implementation for a give key Service Type Implementation Internal extensions to get the registered implementation for Regions Locates the registered implementation for a give key The Registration Key Implementation Locates the registered implementation for a give key The Service Type Implementation Defines a Container Scope Gets or Sets the IsAttached property. Indicates that Prism is tracking the scope Represents the exception that is thrown when there is a circular dependency between modules during the module loading process. Initializes a new instance of the class. Initializes a new instance of the class with the specified error message. The message that describes the error. Initializes a new instance of the class with the specified error message and inner exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception. Initializes the exception with a particular module, error message and inner exception that happened. The name of the module. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a reference if no inner exception is specified. Initializes a new instance of the class with the serialization data. Holds the serialized object data about the exception being thrown. Contains contextual information about the source or destination. Exception thrown when a module is declared twice in the same catalog. Initializes a new instance of the class. Initializes a new instance of the class. The exception message. Initializes a new instance of the class. The exception message. The inner exception. Initializes a new instance of the class with a specified error message. The name of the module. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The name of the module. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. Initializes a new instance of the class with the serialization data. Holds the serialized object data about the exception being thrown. Contains contextual information about the source or destination. Defines the contract for the modules deployed in the application. Used to register types with the container that will be used by your application. Notifies the module that it has been initialized. This is the expected catalog definition for the ModuleManager. The ModuleCatalog holds information about the modules that can be used by the application. Each module is described in a ModuleInfo class, that records the name, type and location of the module. Gets all the classes that are in the . Return the list of s that depends on. The to get the An enumeration of that depends on. Returns the collection of s that contain both the s in , but also all the modules they depend on. The modules to get the dependencies for. A collection of that contains both all s in and also all the they depend on. Initializes the catalog, which may load and validate the modules. Adds a to the . The to add. The for easily adding multiple modules. extensions. Checks to see if the exists in the true if the Module exists. Catalog. The to check for. Exists the specified catalog and name. true if the Module exists. Catalog. Name. Gets the current of the . The to check. Catalog. Gets the current of the . Catalog. Name. Checks to see if the is already initialized. true, if initialized, false otherwise. Catalog. The to check. Checks to see if the is already initialized. true, if initialized, false otherwise. Catalog. Name. Marker interface that allows both s and s to be added to the from code and XAML. Set of properties for each Module The module names this instance depends on. Gets or Sets the The name of the module The module's type A string ref is a location reference to load the module as it may not be already loaded in the Appdomain in some cases may need to be downloaded. This is only used for WPF Gets or Sets the current A collection of for the Modules used by the application When Prism should Initialize the module A string ref is a location reference to load the module as it may not be already loaded in the Appdomain in some cases may need to be downloaded. This is only used for WPF Declares a service which initializes the modules into the application. Initializes the specified module. The module to initialize Defines the interface for the service that will retrieve and initialize the application's modules. Gets all the classes that are in the . Initializes the modules marked as on the . Loads and initializes the module on the with the name . Name of the module requested for initialization. Raised repeatedly to provide progress as modules are downloaded. Raised when a module is loaded or fails to load. Common extensions for the Checks to see if the exists in the true if the Module exists. The . The to check for. Exists the specified catalog and name. true if the Module exists. Catalog. Name. Gets the current of the . The to check. The . Gets the current of the . The . Name. Checks to see if the is already initialized. true, if initialized, false otherwise. The . The to check. Checks to see if the is already initialized. true, if initialized, false otherwise. The . Name. Loads and initializes the module in the . The to load. The . Specifies on which stage the Module group will be initialized. The module will be initialized when it is available on application start-up. The module will be initialized when requested, and not automatically on application start-up. Provides completion information after a module is loaded, or fails to load. Initializes a new instance of the class. The module info. Any error that occurred during the call. Gets the module info. The module info. Gets any error that occurred The exception if an error occurred; otherwise null. Gets or sets a value indicating whether the error has been handled by the event subscriber. trueif the error is handled; otherwise, false. If there is an error on this event and no event subscriber sets this to true, an exception will be thrown by the event publisher. Base class for exceptions that are thrown because of a problem with modules. Initializes a new instance of the class. Initializes a new instance of the class. The exception message. Initializes a new instance of the class. The exception message. The inner exception. Initializes the exception with a particular module and error message. The name of the module. The error message that explains the reason for the exception. Initializes the exception with a particular module, error message and inner exception that happened. The name of the module. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a reference if no inner exception is specified. Gets or sets the name of the module that this exception refers to. The name of the module. Initializes a new instance with serialized data. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. Sets the with information about the exception. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. The holds information about the modules that can be used by the application. Each module is described in a class, that records the name, type and location of the module. It also verifies that the is internally valid. That means that it does not have: Circular dependencies Missing dependencies Invalid dependencies, such as a Module that's loaded at startup that depends on a module that might need to be retrieved. The also serves as a baseclass for more specialized Catalogs . Initializes a new instance of the class. Initializes a new instance of the class while providing an initial list of s. The initial list of modules. Gets the items in the . This property is mainly used to add s or s through XAML. The items in the catalog. Gets all the classes that are in the , regardless if they are within a or not. The modules. Gets the s that have been added to the . The groups. Gets or sets a value that remembers whether the has been validated already. Returns the list of s that are not contained within any . The groupless modules. Loads the catalog if necessary. Return the list of s that depends on. If the was not yet validated, this method will call . The to get the An enumeration of that depends on. Returns a list of s that contain both the s in , but also all the modules they depend on. The modules to get the dependencies for. A list of that contains both all s in but also all the they depend on. Validates the . When validation of the fails. Adds a to the . The to add. The for easily adding multiple modules. Initializes the catalog, which may load and validate the modules. When validation of the fails, because this method calls . Checks for cyclic dependencies, by calling the dependency solver. the. Ensures that all the dependencies within refer to s within that list. The modules to validate modules for. Throws if a in depends on a module that's not in . Throws if is . Does the actual work of loading the catalog. The base implementation does nothing. Sorts a list of s. This method is called by to return a sorted list. The s to sort. Sorted list of s Makes sure all modules have an Unique name. Thrown if the names of one or more modules are not unique. Ensures that there are no cyclic dependencies. Ensures that there are no dependencies between modules on different groups. A groupless module can only depend on other groupless modules. A module within a group can depend on other modules within the same group and/or on groupless modules. Ensures that there are no modules marked to be loaded depending on modules loaded Returns the on which the received module depends on. Module whose dependant modules are requested. Collection of dependants of . Ensures that the catalog is validated. Specifies that the current module has a dependency on another module. This attribute should be used on classes that implement . Initializes a new instance of . The name of the module that this module is dependant upon. Gets the name of the module that this module is dependant upon. The name of the module that this module is dependant upon. Used by to get the load sequence for the modules to load according to their dependencies. Adds a module to the solver. The name that uniquely identifies the module. Adds a module dependency between the modules specified by dependingModule and dependentModule. The name of the module with the dependency. The name of the module dependingModule depends on. Calculates an ordered vector according to the defined dependencies. Non-dependant modules appears at the beginning of the resulting array. The resulting ordered list of modules. This exception is thrown when a cycle is found in the defined dependency graph. Gets the number of modules added to the solver. The number of modules. Provides progress information as a module downloads. Initializes a new instance of the class. The module info. The bytes received. The total bytes to receive. Gets the module info. The module info. Gets the bytes received. The bytes received. Gets the total bytes to receive. The total bytes to receive. Exception thrown by implementations whenever a module fails to load. Initializes a new instance. Initializes a new instance of the class. The exception message. Initializes a new instance of the class. The exception message. The inner exception. Initializes the exception with a particular module and error message. The name of the module. The assembly where the module is located. The error message that explains the reason for the exception. Initializes the exception with a particular module, error message and inner exception that happened. The name of the module. The assembly where the module is located. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a reference if no inner exception is specified. Initializes the exception with a particular module, error message and inner exception that happened. The name of the module. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a reference if no inner exception is specified. Initializes a new instance with serialized data. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. Exception thrown when a requested was not found. Exception thrown when a requested is not found. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message. The message that describes the error. The inner exception Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The name of the module. The error message that explains the reason for the exception. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The name of the module. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a null reference if no inner exception is specified. Initializes a new instance of the class with the serialization data. Holds the serialized object data about the exception being thrown. Contains contextual information about the source or destination. Defines the states a can be in, with regards to the module loading and initialization process. Initial state for s. The is defined, but it has not been loaded, retrieved or initialized yet. The assembly that contains the type of the module is currently being loaded. Used in Wpf to load a module dynamically The assembly that holds the Module is present. This means the type of the can be instantiated and initialized. The module is currently Initializing, by the The module is initialized and ready to be used. Exception thrown by implementations whenever a module fails to retrieve. Initializes a new instance. Initializes a new instance with a specified error message. The message that describes the error. Initializes a new instance with a specified error message and a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a reference if no inner exception is specified. Initializes the exception with a particular module and error message. The name of the module. The error message that explains the reason for the exception. Initializes the exception with a particular module, error message and inner exception that happened. The name of the module. The error message that explains the reason for the exception. The exception that is the cause of the current exception, or a reference if no inner exception is specified. Initializes a new instance with serialized data. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. Implementation of to simplify models. Occurs when a property value changes. Checks if a property already matches a desired value. Sets the property and notifies listeners only when necessary. Type of the property. Reference to a property with both getter and setter. Desired value for the property. Name of the property used to notify listeners. This value is optional and can be provided automatically when invoked from compilers that support CallerMemberName. True if the value was changed, false if the existing value matched the desired value. Checks if a property already matches a desired value. Sets the property and notifies listeners only when necessary. Type of the property. Reference to a property with both getter and setter. Desired value for the property. Name of the property used to notify listeners. This value is optional and can be provided automatically when invoked from compilers that support CallerMemberName. Action that is called after the property value has been changed. True if the value was changed, false if the existing value matched the desired value. Raises this object's PropertyChanged event. Name of the property used to notify listeners. This value is optional and can be provided automatically when invoked from compilers that support . Raises this object's PropertyChanged event. The PropertyChangedEventArgs Manages validation errors for an object, notifying when the error state changes. The type of the error object. Delegate to be called when raiseErrorsChanged is invoked. A map from property name to a of the errors and sources. Initializes a new instance of the class. The action that is invoked when errors are added for an object. Gets a value indicating whether the object has validation errors. Returns all the errors in the container. The dictionary of errors per property. Gets the validation errors for a specified property. The name of the property. The validation errors of type for the property. Clears all errors. Clears the errors for the property indicated by the property expression. The property type. The expression indicating a property. container.ClearErrors(()=>SomeProperty); Clears the errors for a property. The name of the property for which to clear errors. container.ClearErrors("SomeProperty"); Sets the validation errors for the specified property. The property type for which to set errors. The indicating the property. The list of errors to set for the property. Sets the validation errors for the specified property. If a change is detected then the errors changed event is raised. The name of the property. The new validation errors. Provides support for extracting property information based on a property expression. Extracts the property name from a property expression. The object type containing the property specified in the expression. The property expression (e.g. p => p.PropertyName) The name of the property. Thrown if the is null. Thrown when the expression is:
Not a
The does not represent a property.
Or, the property is static.
Extracts the property name from a LambdaExpression. The LambdaExpression The name of the property. Thrown if the is null. Thrown when the expression is:
The does not represent a property.
Or, the property is static.
The ViewModelLocationProvider class locates the view model for the view that has the AutoWireViewModelChanged attached property set to true. The view model will be located and injected into the view's DataContext. To locate the view model, two strategies are used: First the ViewModelLocationProvider will look to see if there is a view model factory registered for that view, if not it will try to infer the view model using a convention based approach. This class also provides methods for registering the view model factories, and also to override the default view model factory and the default view type to view model type resolver. A dictionary that contains all the registered factories for the views. A dictionary that contains all the registered ViewModel types for the views. The default view model factory which provides the ViewModel type as a parameter. ViewModelFactory that provides the View instance and ViewModel type as parameters. Default view type to view model type resolver, assumes the view model is in same assembly as the view type, but in the "ViewModels" namespace. Sets the default view model factory. The view model factory which provides the ViewModel type as a parameter. Sets the default view model factory. The view model factory that provides the View instance and ViewModel type as parameters. Sets the default view type to view model type resolver. The view type to view model type resolver. Automatically looks up the viewmodel that corresponds to the current view, using two strategies: It first looks to see if there is a mapping registered for that view, if not it will fallback to the convention based approach. The dependency object, typically a view. The call back to use to create the binding between the View and ViewModel Gets the view model for the specified view. The view that the view model wants. The ViewModel that corresponds to the view passed as a parameter. Gets the ViewModel type for the specified view. The View that the ViewModel wants. The ViewModel type that corresponds to the View. Registers the ViewModel factory for the specified view type. The View The ViewModel factory. Registers the ViewModel factory for the specified view type name. The name of the view type. The ViewModel factory. Registers a ViewModel type for the specified view type. The View The ViewModel Registers a ViewModel type for the specified view. The View type name The ViewModel type Interface for objects that require cleanup of resources prior to Disposal This method allows cleanup of any resources used by your View/ViewModel A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Cannot register a CompositeCommand in itself.. Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand.. Looks up a localized string similar to At least one cyclic dependency has been found in the module catalog. Cycles in the module dependencies must be avoided.. Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}.. Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null.. Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable.. Looks up a localized string similar to Cannot add dependency for unknown module {0}. Looks up a localized string similar to A module declared a dependency on another module which is not declared to be loaded. Missing module(s): {0}. Looks up a localized string similar to A duplicated module with name {0} has been found by the loader.. Looks up a localized string similar to To use the UIThread option for subscribing, the EventAggregator must be constructed on the UI thread.. Looks up a localized string similar to An exception occurred while initializing module '{0}'. - The exception message was: {2} - The Assembly that the module was trying to be loaded from was:{1} Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.. Looks up a localized string similar to An exception occurred while initializing module '{0}'. - The exception message was: {1} Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.. Looks up a localized string similar to Failed to load type for module {0}. Error was: {1}.. Looks up a localized string similar to Invalid Delegate Reference Type Exception. Looks up a localized string similar to The entity does not contain a property with that name. Looks up a localized string similar to Module {0} depends on other modules that don't belong to the same group.. Looks up a localized string similar to The member access expression does not access a property.. Looks up a localized string similar to The expression is not a member access expression.. Looks up a localized string similar to The referenced property is a static property.. Looks up a localized string similar to Module {0} is marked for automatic initialization when the application starts, but it depends on modules that are marked as OnDemand initialization. To fix this error, mark the dependency modules for InitializationMode=WhenAvailable, or remove this validation by extending the ModuleCatalog class.. Looks up a localized string similar to The provided String argument {0} must not be null or empty.. Class that provides extension methods for the Exception class. These extension methods provide a mechanism for developers to get more easily to the root cause of an exception, especially in combination with DI-containers such as Unity. Register the type of an Exception that is thrown by the framework. The method uses this list of Exception types to find out if something has gone wrong. The type of exception to register. Determines whether the exception type is already registered using the method The type of framework exception to find. true if the exception type is already registered; otherwise, false. Looks at all the inner exceptions of the parameter to find the most likely root cause of the exception. This works by skipping all registered exception types. This method is not 100% accurate and should only be used to point a developer into the most likely direction. It should not be used to replace the Inner Exception stack of an exception, because this might hide required exception information. The exception that will provide the list of inner exceptions to examine. The exception that most likely caused the exception to occur. If it can't find the root exception, it will return the value itself. Extension methods for the Task object. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The task to be awaited Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The task to be awaited Configures an awaiter used to await this task Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The task to be awaited The action to perform when the task is complete. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The task to be awaited The action to perform when the task is complete. The action to perform when an error occurs executing the task. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The task to be awaited The action to perform when an error occurs executing the task. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The task to be awaited The action to perform when the task is complete. The action to perform when an error occurs executing the task. Configures an awaiter used to await this task Extension methods for the Task object. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The result type The task to be awaited Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The result type The task to be awaited Configures an awaiter used to await this task Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The result type The task to be awaited The action to perform when the task is complete. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The result type The task to be awaited The action to perform when the task is complete. The action to perform when an error occurs executing the task. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The result type The task to be awaited The action to perform when an error occurs executing the task. Awaits a task without blocking the main thread. Primarily used to replace async void scenarios such as ctor's and ICommands. The result type The task to be awaited The action to perform when the task is complete. The action to perform when an error occurs executing the task. Configures an awaiter used to await this task