C# Class SageKa.Samples.VcSync.SyncEngine.Engine

显示文件 Open project: Sage/SData-Contracts Class Usage Examples

Public Methods

Method Description
Engine ( string runName, System.DateTime runStamp, SynchronisationDirection direction, SynchronisationInfo syncInfo ) : System
Run ( ) : void

Private Methods

Method Description
CheckSyncDigest ( HttpClient httpClient, string resource, EndPointInfo endpoint ) : bool
CheckSyncDigestAvailability ( ) : bool
Engine ( ) : System
GetHttpClient ( EndPointInfo endpoint, ProxyInfo proxy, string resource ) : HttpClient
GetSyncDigestGetUrl ( string resource ) : string
GetSyncSourceDeleteUrl ( System.Guid sourceClientTrackingId, string resource ) : string
GetSyncSourcePostUrl ( System.Guid sourceClientTrackingId, string resource ) : string
GetSyncTargetDeleteUrl ( System.Guid targetClientTrackingId, string resource ) : string
GetSyncTargetPostUrl ( System.Guid targetClientTrackingId, string resource ) : string
IsFeed ( string contenttype ) : bool
IsFeedEntry ( string contenttype ) : bool
Log ( HttpResponseMessage respMsg ) : void
RequestHeaderLocationUntilStatusIs200 ( HttpResponseMessage respMsg, HttpClient httpClient ) : HttpResponseMessage
RunPerResource ( string resource ) : bool
ThrowIfDiagnosisFeed ( System.ServiceModel.Syndication.SyndicationFeed feed ) : void
ThrowIfNoFeed ( HttpResponseMessage respMsg ) : void
ThrowIfNoFeedEntry ( HttpResponseMessage respMsg ) : void
ThrowIfNoXml ( HttpResponseMessage respMsg ) : void
ThrowIfNotStatusCode ( HttpStatusCode expectedHttpStatusCode, HttpResponseMessage respMsg ) : void

Method Details

Engine() public method

public Engine ( string runName, System.DateTime runStamp, SynchronisationDirection direction, SynchronisationInfo syncInfo ) : System
runName string
runStamp System.DateTime
direction SynchronisationDirection
syncInfo SageKa.Samples.VcSync.SyncEngine.Model.SynchronisationInfo
return System

Run() public method

public Run ( ) : void
return void