Class XMLPnPSchemaFormatter
Helper class that abstracts from any specific version of XMLPnPSchemaFormatter
Inheritance
System.Object
XMLPnPSchemaFormatter
Namespace: PnP.Framework.Provisioning.Providers.Xml
Assembly: PnP.Framework.dll
Syntax
public class XMLPnPSchemaFormatter : object, ITemplateFormatter
Properties
LatestFormatter
Static property to retrieve an instance of the latest XMLPnPSchemaFormatter
Declaration
public static ITemplateFormatter LatestFormatter { get; }
Property Value
ITemplateFormatter
|
Methods
GetSpecificFormatter(XMLPnPSchemaVersion)
Static method to retrieve a specific XMLPnPSchemaFormatter instance
Declaration
public static ITemplateFormatter GetSpecificFormatter(XMLPnPSchemaVersion version)
Parameters
XMLPnPSchemaVersion
version
|
Returns
ITemplateFormatter
|
GetSpecificFormatter(String)
Static method to retrieve a specific XMLPnPSchemaFormatter instance
Declaration
public static ITemplateFormatter GetSpecificFormatter(string namespaceUri)
Parameters
System.String
namespaceUri
|
Returns
ITemplateFormatter
|
GetValidationResults(Stream)
Declaration
public ValidationResult GetValidationResults(Stream template)
Parameters
Stream
template
|
Returns
ValidationResult
|
Initialize(TemplateProviderBase)
Declaration
public void Initialize(TemplateProviderBase provider)
Parameters
TemplateProviderBase
provider
|
Implements
IsValid(IO.Stream)
Declaration
public bool IsValid(IO.Stream template)
Parameters
System.IO.Stream
template
|
Returns
System.Boolean
|
ToFormattedTemplate(ProvisioningTemplate)
Declaration
public IO.Stream ToFormattedTemplate(ProvisioningTemplate template)
Parameters
ProvisioningTemplate
template
|
Returns
System.IO.Stream
|
ToProvisioningTemplate(IO.Stream)
Declaration
public ProvisioningTemplate ToProvisioningTemplate(IO.Stream template)
Parameters
System.IO.Stream
template
|
Returns
ProvisioningTemplate
|
ToProvisioningTemplate(IO.Stream, String)
Declaration
public ProvisioningTemplate ToProvisioningTemplate(IO.Stream template, String identifier)
Parameters
System.IO.Stream
template
|
String
identifier
|
Returns
ProvisioningTemplate
|