Show / Hide Table of Contents

Class ClassHandlersStore

Implements container for class handlers. This container is thread safe.

Inheritance
System.Object
ClassHandlersStore
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class ClassHandlersStore

Methods

AddRoutedEventHandler(Type, RoutedEvent, Delegate)

Adds the routed event handler.

Declaration
public void AddRoutedEventHandler(Type classType, RoutedEvent routedEvent, Delegate handler)
Parameters
Type Name Description
System.Type classType

Type of the class.

RoutedEvent routedEvent

The routed event.

System.Delegate handler

The handler.

Contains(Int32)

Determines whether [contains] [the specified routed event].

Declaration
public bool Contains(int key)
Parameters
Type Name Description
System.Int32 key

The key.

Returns
Type Description
System.Boolean

true if key exists

RemoveRoutedEventHandler(Type, RoutedEvent, Delegate)

Removes the routed event handler.

Declaration
public void RemoveRoutedEventHandler(Type classType, RoutedEvent routedEvent, Delegate handler)
Parameters
Type Name Description
System.Type classType

Type of the class.

RoutedEvent routedEvent

The routed event.

System.Delegate handler

The handler.

TryGetValue(DependencyObjectType, RoutedEvent, out Delegate)

Tries the get value.

Declaration
public bool TryGetValue(DependencyObjectType depType, RoutedEvent routedEvent, out Delegate handlers)
Parameters
Type Name Description
DependencyObjectType depType

Dependency object type

RoutedEvent routedEvent

The routed event.

System.Delegate handlers

The handlers.

Returns
Type Description
System.Boolean

true if routed event exists

Back to top Generated by DocFX