C# 클래스 Unicorn.PresetExtensions

Extension methods on Serialization Preset API classes to make checks easier
파일 보기 프로젝트 열기: connectivedx/Unicorn

공개 메소드들

메소드 설명
Includes ( this entry, System.Item item ) : bool

Checks if a preset includes a given item

Includes ( this entries, System.Item item ) : bool

Checks if a list of presets includes a given item

MatchesId ( this entries, string id ) : bool

Checks if a given list of presets matches a specific item ID. Use ID.ToString() format eg {A9F4...}

MatchesPath ( this entries, string path ) : bool

Checks if a given list of presets matches a specific Sitecore path

MatchesTemplate ( this entries, string templateName ) : bool

Checks if a given list of presets matches a specific template name

MatchesTemplateId ( this entries, string templateId ) : bool

Checks if a given list of presets matches a specific template ID

메소드 상세

Includes() 공개 정적인 메소드

Checks if a preset includes a given item
public static Includes ( this entry, System.Item item ) : bool
entry this
item System.Item
리턴 bool

Includes() 공개 정적인 메소드

Checks if a list of presets includes a given item
public static Includes ( this entries, System.Item item ) : bool
entries this
item System.Item
리턴 bool

MatchesId() 공개 정적인 메소드

Checks if a given list of presets matches a specific item ID. Use ID.ToString() format eg {A9F4...}
public static MatchesId ( this entries, string id ) : bool
entries this
id string
리턴 bool

MatchesPath() 공개 정적인 메소드

Checks if a given list of presets matches a specific Sitecore path
public static MatchesPath ( this entries, string path ) : bool
entries this
path string
리턴 bool

MatchesTemplate() 공개 정적인 메소드

Checks if a given list of presets matches a specific template name
public static MatchesTemplate ( this entries, string templateName ) : bool
entries this
templateName string
리턴 bool

MatchesTemplateId() 공개 정적인 메소드

Checks if a given list of presets matches a specific template ID
public static MatchesTemplateId ( this entries, string templateId ) : bool
entries this
templateId string
리턴 bool