C# Class IronCow.RtmElement

Mostrar archivo Open project: mbmccormick/Milkman

Private Properties

Property Type Description
Sync void
Unsync void

Public Methods

Method Description
OnPropertyChanged ( object sender, string propertyName, PropertyChangedEventHandler propertyChanged ) : void

This method is commonly used by other classes, providing one implementation here to eliminate duplicate code.

Protected Methods

Method Description
DoSync ( bool firstSync, IronCow.Rest.RawRtmElement element ) : void
OnOwnerChanged ( ) : void
OnSynced ( EventArgs e ) : void
OnSyncingChanged ( ) : void
RtmElement ( ) : System

Private Methods

Method Description
Sync ( IronCow.Rest.RawRtmElement element ) : void
Unsync ( ) : void

Method Details

DoSync() protected method

protected DoSync ( bool firstSync, IronCow.Rest.RawRtmElement element ) : void
firstSync bool
element IronCow.Rest.RawRtmElement
return void

OnOwnerChanged() protected method

protected OnOwnerChanged ( ) : void
return void

OnPropertyChanged() public static method

This method is commonly used by other classes, providing one implementation here to eliminate duplicate code.
public static OnPropertyChanged ( object sender, string propertyName, PropertyChangedEventHandler propertyChanged ) : void
sender object
propertyName string
propertyChanged PropertyChangedEventHandler By storing the event handler in this variable, we eliminate a race condition /// where the original event handler becomes null and we later try to dereference it.
return void

OnSynced() protected method

protected OnSynced ( EventArgs e ) : void
e System.EventArgs
return void

OnSyncingChanged() protected method

protected OnSyncingChanged ( ) : void
return void

RtmElement() protected method

protected RtmElement ( ) : System
return System