C# Class Enmarcha.SharePoint.Extensors.List

Show file Open project: Encamina/Enmarcha-SharePoint Class Usage Examples

Public Methods

Method Description
AddContentTypeLibrary ( this list, string contentType ) : bool

Add ContentType in Library

AddPermisionLibrary ( this list, string group, RoleType role ) : bool

Add permissions to the library

CreateList ( this web, string title, string description, TypeList typeList, bool versionControl ) : bool

Create List

CreateList ( this web, string title, string description, TypeList typeList, bool versionControl, Type genericClass ) : bool

Create List

Private Methods

Method Description
AddFieldInList ( ListSharePoint list, Type genericClass ) : void

Add Field in List

CreateColumnInList ( ParamsColumnSite args ) : void
GenerateCommand ( ) : SPFieldType>.Dictionary
GetFieldType ( string fieldType ) : SPFieldType

Method Details

AddContentTypeLibrary() public static method

Add ContentType in Library
public static AddContentTypeLibrary ( this list, string contentType ) : bool
list this
contentType string
return bool

AddPermisionLibrary() public static method

Add permissions to the library
public static AddPermisionLibrary ( this list, string group, RoleType role ) : bool
list this
group string
role RoleType
return bool

CreateList() public static method

Create List
public static CreateList ( this web, string title, string description, TypeList typeList, bool versionControl ) : bool
web this
title string
description string
typeList TypeList
versionControl bool
return bool

CreateList() public static method

Create List
public static CreateList ( this web, string title, string description, TypeList typeList, bool versionControl, Type genericClass ) : bool
web this
title string
description string
typeList TypeList
versionControl bool
genericClass System.Type
return bool