C# Класс OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectField

Наследование: ObjectHandlerBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ExtractObjects ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateCreationInformation creationInfo ) : OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate
ProvisionObjects ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template, TokenParser parser, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateApplyingInformation applyingInformation ) : TokenParser
WillExtract ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateCreationInformation creationInfo ) : bool
WillProvision ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template ) : bool

Приватные методы

Метод Описание
CleanupEntities ( OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate baseTemplate ) : OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate
CreateField ( Web web, System.Xml.Linq.XElement templateFieldElement, PnPMonitoredScope scope, TokenParser parser, string originalFieldXml ) : void
GetTaxonomyFieldValidatedValue ( TaxonomyField field, string defaultValue ) : string
ParseFieldSchema ( string schemaXml, ListCollection lists ) : string
TokenizeFieldFormula ( Microsoft fields, FieldCalculated field, string fieldXml ) : string

Tokenizes calculated fieldXml to use tokens for field references

TryParseTaxonomyFieldValue ( string value, TaxonomyFieldValue &taxValue ) : bool
UpdateField ( Web web, string fieldId, System.Xml.Linq.XElement templateFieldElement, PnPMonitoredScope scope, TokenParser parser, string originalFieldXml ) : void
ValidateTaxonomyFieldDefaultValue ( TaxonomyField field ) : void

Описание методов

ExtractObjects() публичный Метод

public ExtractObjects ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateCreationInformation creationInfo ) : OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate
web Web
template OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate
creationInfo OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateCreationInformation
Результат OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate

ProvisionObjects() публичный Метод

public ProvisionObjects ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template, TokenParser parser, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateApplyingInformation applyingInformation ) : TokenParser
web Web
template OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate
parser TokenParser
applyingInformation OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateApplyingInformation
Результат TokenParser

WillExtract() публичный Метод

public WillExtract ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateCreationInformation creationInfo ) : bool
web Web
template OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate
creationInfo OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateCreationInformation
Результат bool

WillProvision() публичный Метод

public WillProvision ( Web web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate template ) : bool
web Web
template OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate
Результат bool