Show / Hide Table of Contents

Class ServiceManager

Provides service related utility methods.

Inheritance
System.Object
ServiceManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DevZest.Data.Presenters
Assembly: DevZest.Data.WPF.dll
Syntax
public static class ServiceManager

Methods

Name Description
Bind(ICommand, IReadOnlyList<InputGesture>, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Binds command with command implementation.

Bind(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Binds command with command implementation.

Bind(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler, InputGesture)

Binds command with command implementation.

Bind(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler, InputGesture[])

Binds command with command implementation.

Bind(ICommand, ExecutedRoutedEventHandler, InputGesture)

Binds command with command implementation.

Bind(ICommand, ExecutedRoutedEventHandler, InputGesture[])

Binds command with command implementation.

Bind(ICommand, InputGesture)

Binds command with command implementation.

Bind(ICommand, InputGesture[])

Binds command with command implementation.

CleanupCommandEntries(UIElement)

Cleanup command entries for specified view element.

GetRegisteredService<T>(DataPresenter, Boolean)

Gets the registered service for specified data presenter.

IsRegistered<TService>()

Determines whether service is registered.

Register<TService, TServiceImpl>()

Registers service by type.

Register<TService, TServiceImpl>(Func<TServiceImpl>)

Registers service by type.

SetupCommandEntries<TService, TElement>(TElement, TService, Func<TService, TElement, IEnumerable<CommandEntry>>)

Setup command entries for specified view element.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest