Click or drag to resize

DependencyServiceManager Methods

The DependencyServiceManager type exposes the following members.

Methods
 NameDescription
Public methodAddServiceFactory Add a service factory
Public methodAddServiceProvider(Object) Adds a singleton
Public methodAddServiceProvider(Type) Adds a service provider
Public methodCreateAllT Create all instances of T
Public methodCreateInjected(Type) Create injected type
Public methodCreateInjectedTObject Create injected instance
Public methodCreateInjectedOfAllTInterface Create injected instances of all implementers of the specified TInterface
Public methodDispose Dispose of this object
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAllTypes Get all types
Public methodGetAllTypesTImplements Gets all type where the the type is assignable from TImplements
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetService Get the specified service
Public methodGetServices Gets all service instances
Public methodGetServiceSafe Get service in a safe manner
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNotifyStartupProgress Notify the service manager of startup progress
Public methodRemoveServiceProvider Remove a service provider
Public methodStart Start the process
Public methodStop Stop this instance
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodAddBusinessRule Add a business rule service to this instance of me or the next instance
(Defined by BusinessRulesExtensions)
Public Extension MethodAddBusinessRuleTModel Adds a new business rule service for the specified model to the application service otherwise adds it to the chain
(Defined by BusinessRulesExtensions)
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodGetBusinessRuleService Add a business rule service to this instance of me or the next instance
(Defined by BusinessRulesExtensions)
Public Extension MethodGetServiceT Helper extension method for getting strongly typed service
(Defined by ApplicationServiceContext)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also