C# Class M2RootNamespace.Models.M2ProjectPrefixSiteModel

Describes the site collection. The main responcibility is to describe and separate what needs to be deployed on the site collection level: - sandbox solutions - site features - security group and roles - fields - content types - user custom actions - anything else Construct your model using AddXXX() or AddHostXXX() syntax. If you have bunch of the 'plain' things to push, then use .AddDefinitionsFromStaticClassType() method. It is a good idea to avoid big model preferring small model per every reasonable operation. The final artifact separation and grouping is tootally up to you and your prpoject needs. Read more here - http://docs.subpointsolutions.com/spmeta2/models/
Show file Open project: SubPointSolutions/spmeta2-vsixextensions Class Usage Examples

Public Methods

Method Description
GetFieldsAndContentTypesModel ( ) : ModelNode
GetSandboxSolutionsModel ( ) : ModelNode
GetSiteFeaturesModel ( ) : ModelNode
GetSiteSecurityModel ( ) : ModelNode
GetTaxonomyModel ( ) : ModelNode
GetUserCustomActionModel ( ) : ModelNode

Method Details

GetFieldsAndContentTypesModel() public method

public GetFieldsAndContentTypesModel ( ) : ModelNode
return ModelNode

GetSandboxSolutionsModel() public method

public GetSandboxSolutionsModel ( ) : ModelNode
return ModelNode

GetSiteFeaturesModel() public method

public GetSiteFeaturesModel ( ) : ModelNode
return ModelNode

GetSiteSecurityModel() public method

public GetSiteSecurityModel ( ) : ModelNode
return ModelNode

GetTaxonomyModel() public method

public GetTaxonomyModel ( ) : ModelNode
return ModelNode

GetUserCustomActionModel() public method

public GetUserCustomActionModel ( ) : ModelNode
return ModelNode