Deli z drugimi prek


CompositionOperation Class

Definition

Represents a single composition operation.

public ref class CompositionOperation sealed : IDisposable
public sealed class CompositionOperation : IDisposable
type CompositionOperation = class
    interface IDisposable
Public NotInheritable Class CompositionOperation
Implements IDisposable
Inheritance
CompositionOperation
Implements

Remarks

Instances of this class are not safe for access by multiple threads.

Methods

AddNonPrerequisiteAction(Action)

Specifies an action that can run after all prerequisite part dependencies have been satisfied.

AddPostCompositionAction(Action)

Specifies an action to run after all composition has completed, as indicated by the OnImportsSatisfiedAttribute.

Dispose()

Releases all locks held during the composition operation.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Run(LifetimeContext, CompositeActivator)

Runs the composition operation starting within the specified lifetime context, driven by the specified activator.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to