Udostępnij za pośrednictwem


ServiceManager Members

Include Protected Members
Include Inherited Members

Represents the behavior associated with an EditingContext.

The ServiceManager type exposes the following members.

Constructors

 

Name

Description

Protected method

ServiceManager

Initializes a new instance of the ServiceManager class.

Top

Methods

 

Name

Description

Public method

Contains

Overloaded. Determines if the ServiceManager contains a service.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetEnumerator

When overridden in a derived class, retrieves an enumerator of the published services of this ServiceManager.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetRequiredService<ServiceType>

Retrieves an instance of a service of the specified type.

Public method

GetService

Overloaded. Retrieves an instance of a service of a specified type.

Protected methodStatic member

GetTarget

A helper method that gets the target object for a delegate.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

Publish

Overloaded. Publishes a service.

Protected methodStatic member

RemoveCallback

Removes a callback method from a delegate.

Public method

Subscribe

Overloaded. Requests that a specified method is called when a service of a specified type is available.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

Unsubscribe

Overloaded. Requests that a specified method is no longer called when a service of a specified type is available.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IEnumerable.GetEnumerator

Infrastructure. For a description of this member, see GetEnumerator.

Top

See Also

Reference

ServiceManager Class

Microsoft.Windows.Design Namespace