C# 클래스 AzureWebFarm.Services.SyncService

상속: ISyncService
파일 보기 프로젝트 열기: MRCollective/AzureWebFarm 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SyncWait int

공개 메소드들

메소드 설명
DeploySitesFromLocal ( ) : void
Dispose ( ) : void
PackageSitesToLocal ( ) : void

Packages sites that are in IIS but not in local temp storage. There are new sites that have been deployed to this instance using Web Deploy.

SyncBlobToLocal ( ) : void
SyncForever ( Func interval ) : void
SyncLocalToBlob ( ) : void
SyncOnce ( ) : void
SyncService ( IWebSiteRepository sitesRepository, ISyncStatusRepository syncStatusRepository, Microsoft.WindowsAzure.CloudStorageAccount storageAccount, string localSitesPath, string localTempPath, IEnumerable directoriesToExclude, IEnumerable sitesToExclude, Func syncEnabled, IISManager iisManager, ILoggerFactory loggerFactory, LoggerLevel logLevel ) : System
UpdateIISSitesFromTableStorage ( ) : void

보호된 메소드들

메소드 설명
OnPing ( ) : void
OnSiteDeleted ( string siteName ) : void
OnSiteUpdated ( string siteName ) : void

비공개 메소드들

메소드 설명
EnumerateLocalEntries ( ) : FileEntry>>.IEnumerable
GetFolderLastModifiedTimeUtc ( string sitePath ) : System.DateTime
IsExcluded ( string topPath ) : bool
UpdateSyncStatus ( string webSiteName, SyncInstanceStatus status, Exception lastError = null ) : void

메소드 상세

DeploySitesFromLocal() 공개 메소드

public DeploySitesFromLocal ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

OnPing() 보호된 메소드

protected OnPing ( ) : void
리턴 void

OnSiteDeleted() 보호된 메소드

protected OnSiteDeleted ( string siteName ) : void
siteName string
리턴 void

OnSiteUpdated() 보호된 메소드

protected OnSiteUpdated ( string siteName ) : void
siteName string
리턴 void

PackageSitesToLocal() 공개 메소드

Packages sites that are in IIS but not in local temp storage. There are new sites that have been deployed to this instance using Web Deploy.
public PackageSitesToLocal ( ) : void
리턴 void

SyncBlobToLocal() 공개 메소드

public SyncBlobToLocal ( ) : void
리턴 void

SyncForever() 공개 메소드

public SyncForever ( Func interval ) : void
interval Func
리턴 void

SyncLocalToBlob() 공개 메소드

public SyncLocalToBlob ( ) : void
리턴 void

SyncOnce() 공개 메소드

public SyncOnce ( ) : void
리턴 void

SyncService() 공개 메소드

public SyncService ( IWebSiteRepository sitesRepository, ISyncStatusRepository syncStatusRepository, Microsoft.WindowsAzure.CloudStorageAccount storageAccount, string localSitesPath, string localTempPath, IEnumerable directoriesToExclude, IEnumerable sitesToExclude, Func syncEnabled, IISManager iisManager, ILoggerFactory loggerFactory, LoggerLevel logLevel ) : System
sitesRepository IWebSiteRepository
syncStatusRepository ISyncStatusRepository
storageAccount Microsoft.WindowsAzure.CloudStorageAccount
localSitesPath string
localTempPath string
directoriesToExclude IEnumerable
sitesToExclude IEnumerable
syncEnabled Func
iisManager IISManager
loggerFactory ILoggerFactory
logLevel LoggerLevel
리턴 System

UpdateIISSitesFromTableStorage() 공개 메소드

public UpdateIISSitesFromTableStorage ( ) : void
리턴 void

프로퍼티 상세

SyncWait 공개적으로 정적으로 프로퍼티

public static int SyncWait
리턴 int