Table of contents
TOC
Collapse the table of content
Expand the table of content

ITemplateFormatter Interface

SharePoint Dev Documents|Last Updated: 5/18/2017
|
1 Contributor

Interface for basic capabilites that any Template Formatter should provide/support

Namespace:OfficeDevPnP.Core.Framework.Provisioning.Providers
Assembly: OfficeDevPnP.Core.dll

Syntax

public interface ITemplateFormatter

Methods

NameDescription
Initialize(TemplateProviderBase)Method to initialize the formatter with the proper TemplateProvider instance
IsValid(Stream)Method to validate the content of a formatted template instace
ToFormattedTemplate(ProvisioningTemplate)Method to format a ProvisioningTemplate into a formatted template
ToProvisioningTemplate(Stream)Method to convert a formatted template into a ProvisioningTemplate
ToProvisioningTemplate(Stream, String)Method to convert a formatted template into a ProvisioningTemplate, based on a specific ID

See also

© 2018 Microsoft