C# 클래스 GSoft.Dynamite.Lists.ListHelper

Helper class to manage lists.
상속: IListHelper
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010

공개 메소드들

메소드 설명
AddContentType ( SPList list, SPContentType contentType ) : void

Adds the content type.

AddContentType ( SPList list, SPContentTypeId contentTypeId ) : void

Adds the content type id.

GetListByRootFolderUrl ( SPWeb web, string listRootFolderUrl ) : SPList

Get the list bu root folder url

ListHelper ( ContentTypeBuilder contentTypeBuilder, IResourceLocator resourceLocator ) : System

Creates a list helper

비공개 메소드들

메소드 설명
EnsureList ( SPWeb web, string name, string description, SPListTemplate template ) : SPList
EnsureList ( SPWeb web, string name, string description, SPListTemplateType templateType ) : SPList
GetListTemplate ( SPWeb web, string templateName ) : SPListTemplate
TryGetList ( SPWeb web, string titleOrUrlOrResourceString ) : SPList

메소드 상세

AddContentType() 공개 메소드

Adds the content type.
Any null parameter.
public AddContentType ( SPList list, SPContentType contentType ) : void
list SPList The list.
contentType SPContentType Type of the content.
리턴 void

AddContentType() 공개 메소드

Adds the content type id.
Any null parameters. contentTypeId;Content Type not available in the lists parent web.
public AddContentType ( SPList list, SPContentTypeId contentTypeId ) : void
list SPList The list.
contentTypeId SPContentTypeId The content type id.
리턴 void

GetListByRootFolderUrl() 공개 메소드

Get the list bu root folder url
public GetListByRootFolderUrl ( SPWeb web, string listRootFolderUrl ) : SPList
web SPWeb /// The web. ///
listRootFolderUrl string /// The list Root Folder Url. ///
리턴 SPList

ListHelper() 공개 메소드

Creates a list helper
public ListHelper ( ContentTypeBuilder contentTypeBuilder, IResourceLocator resourceLocator ) : System
contentTypeBuilder ContentTypeBuilder A content type helper
resourceLocator IResourceLocator
리턴 System