C# 클래스 Microsoft.ResourceManagement.ObjectModel.RmResourceChanges

A transaction object monitors the changes made to an RmResource object. Use this class to check for changes when updating the Resource Management Service.
상속: IDisposable
파일 보기 프로젝트 열기: Predica/FimClient 1 사용 예제들

공개 메소드들

메소드 설명
AcceptChanges ( ) : void

Commits all of the changes made the RmResource object. GetChanges() will return an empty list immediately after this call.

BeginChanges ( ) : void

Starts tracking changes in the underlying RmResource.

DiscardChanges ( ) : void

Discards all of the changes made ot the RmResource object since the transaction began or a call to AcceptChanges()

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetChanges ( ) : IList

Returns a list of changes made to this object since the transaction began or the last call to AcceptChanges.

GetDifference ( RmResource source, RmResource destination ) : IList

Returns a list of changes to make to source in order for it to look like destination.

RmResourceChanges ( RmResource rmObject ) : System

Begins a transaction on the provided RmResource object.

비공개 메소드들

메소드 설명
EnsureNotDisposed ( ) : void
GetDifference ( RmAttributeValue>.Dictionary sourceAttributes, RmAttributeValue>.Dictionary destinationAttributes ) : IList

Gets the differences from source and destination attributes.

메소드 상세

AcceptChanges() 공개 메소드

Commits all of the changes made the RmResource object. GetChanges() will return an empty list immediately after this call.
public AcceptChanges ( ) : void
리턴 void

BeginChanges() 공개 메소드

Starts tracking changes in the underlying RmResource.
public BeginChanges ( ) : void
리턴 void

DiscardChanges() 공개 메소드

Discards all of the changes made ot the RmResource object since the transaction began or a call to AcceptChanges()
public DiscardChanges ( ) : void
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

GetChanges() 공개 메소드

Returns a list of changes made to this object since the transaction began or the last call to AcceptChanges.
public GetChanges ( ) : IList
리턴 IList

GetDifference() 공개 정적인 메소드

Returns a list of changes to make to source in order for it to look like destination.
public static GetDifference ( RmResource source, RmResource destination ) : IList
source RmResource The starting object state.
destination RmResource The ending object state.
리턴 IList

RmResourceChanges() 공개 메소드

Begins a transaction on the provided RmResource object.
public RmResourceChanges ( RmResource rmObject ) : System
rmObject RmResource The object to watch during the transaction.
리턴 System