C# 클래스 Unicorn.SerializationLoader

Custom loader that processes serialization loading with progress and additional rules options
파일 보기 프로젝트 열기: connectivedx/Unicorn

공개 메소드들

메소드 설명
LoadTree ( AdvancedLoadOptions options ) : void

Loads a preset from serialized items on disk.

비공개 메소드들

메소드 설명
DeleteItem ( System.Item item, IProgressStatus progress ) : bool

Deletes an item from Sitecore

DeleteItems ( IEnumerable items, IProgressStatus progress ) : bool

Deletes a list of items. Ensures that obsolete cache data is also removed.

DeserializationFinished ( string databaseName ) : void

Raises the "serialization finished" event.

DoLoadItem ( string path, AdvancedLoadOptions options, ItemLoadResult &loadResult ) : System.Item

Loads a specific item from disk

DoLoadTree ( string path, AdvancedLoadOptions options ) : void

Loads a specific path recursively, using any exclusions in the options' preset

GetTargetDatabase ( string path, LoadOptions options ) : string
IsStandardValuesItem ( string fileName, ID &itemId ) : bool

Determines whether [is standard values item] [the specified file name].

LoadOneLevel ( string path, AdvancedLoadOptions options, List retryList ) : void

Loads a set of children from a serialized path

LoadTreePaths ( string physicalPath, AdvancedLoadOptions options ) : void
LoadTreeRecursive ( string path, AdvancedLoadOptions options, List retryList ) : void

Recursive method that loads a given tree and retries failures already present if any

LogLocalized ( string message ) : void

Logs localized strings.

LogLocalizedError ( string message ) : void

Logs localized strings.

ShouldForceUpdate ( SyncItem syncItem, IProgressStatus progress ) : bool

Checks to see if we should force an item to be written from the serialized version. This changes the rules slightly from the default deserializer by forcing if the dates are different instead of only if they are newer on disk.

메소드 상세

LoadTree() 공개 메소드

Loads a preset from serialized items on disk.
public LoadTree ( AdvancedLoadOptions options ) : void
options AdvancedLoadOptions
리턴 void