C# 클래스 Sitecore.FakeDb.Pipelines.AddDbItem.SetStatistics

Creates and fulfills item statistics fields for all the item languages. The fields included are 'Created', 'CreatedBy', 'Revision', 'Updated' and 'UpdatedBy'.

The 'Created' and 'Updated' fields are set to the current date in ISO format. The 'CreatedBy' and 'UpdatedBy' fields store the current user name. The 'Revision' field is a System.Guid generated for each of the item languages.

파일 보기 프로젝트 열기: sergeyshushlyapin/Sitecore.FakeDb 1 사용 예제들

공개 메소드들

메소드 설명
Process ( AddDbItemArgs args ) : void

비공개 메소드들

메소드 설명
AddStatisticsFields ( DbItem item, string date, string user ) : void
SetFieldValue ( DbField field, string lang, string value ) : void
SetStatisticsForAllLanguages ( DbItem item, string date, string user ) : void

메소드 상세

Process() 공개 메소드

public Process ( AddDbItemArgs args ) : void
args AddDbItemArgs
리턴 void