Condividi tramite


RolePlayerChangedEventArgs Class

Definition

Event arguments describing a change of elements playing a role in an ElementLink

public ref class RolePlayerChangedEventArgs : Microsoft::VisualStudio::Modeling::GenericEventArgs
public class RolePlayerChangedEventArgs : Microsoft.VisualStudio.Modeling.GenericEventArgs
type RolePlayerChangedEventArgs = class
    inherit GenericEventArgs
Public Class RolePlayerChangedEventArgs
Inherits GenericEventArgs
Inheritance
RolePlayerChangedEventArgs

Constructors

RolePlayerChangedEventArgs(IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource, TransactionContext)
RolePlayerChangedEventArgs(IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource)
Obsolete.

Constructor

Properties

ChangeSource

Get or Set the source of this change

(Inherited from GenericEventArgs)
DomainClass

Get the domain class to which the notification pertains

DomainModel

Get the domain model to which the notification pertains

DomainRelationship

The domain relationship of which the affected ElementLink is an instance

DomainRole

The domain role whose role-player changed

ElementId

Get the Id of the ModelElement to which the notification pertains

ElementLink

The ElementLink whose role-player changed

ElementLinkId

The Id of the ElementLink whose role-player changed

NewRolePlayer

The ModelElement that is playing the role after the change

NewRolePlayerId

The Id of the ModelElement that is playing the role after the change

OldRolePlayer

The ModelElement that was playing the role before the change

OldRolePlayerId

The Id of the ModelElement that was playing the role before the change

TransactionContext

Gets the TransactionContext associated with the event. May be null if no transaction context is available for the event.

(Inherited from ModelingEventArgs)

Applies to