GSoft.Dynamite.Definitions.ContentTypeInfo.ContentTypeInfo C# (CSharp) Method

ContentTypeInfo() public method

Creates a content type metadata encapsulation
public ContentTypeInfo ( SPContentTypeId contentTypeId, IList fields, string titleResourceKey, string descriptionResourceKey, string contentGroupResourceKey, string resourceFileName ) : System.Collections.Generic
contentTypeId SPContentTypeId The content type ID
fields IList A list of field information to document the structure of the content type
titleResourceKey string The resource key to use for the title
descriptionResourceKey string The resource key to use for the description
contentGroupResourceKey string The resource key to use for the content group
resourceFileName string The resource file where all the resources can be found
return System.Collections.Generic
        public ContentTypeInfo(SPContentTypeId contentTypeId, IList<FieldInfo> fields, string titleResourceKey, string descriptionResourceKey, string contentGroupResourceKey, string resourceFileName)
        {
            this.ContentTypeId = contentTypeId;
            this.TitleResourceKey = titleResourceKey;
            this.DescriptionResourceKey = descriptionResourceKey;
            this.ContentGroupResourceKey = contentGroupResourceKey;
            this.Fields = fields;
            this.resourceFileName = resourceFileName;
        }
ContentTypeInfo