Class FileUtilities
Inheritance
System.Object
FileUtilities
Namespace: PnP.Framework.Provisioning.ObjectHandlers.Utilities
Assembly: PnP.Framework.dll
Syntax
public static class FileUtilities : object
Methods
GetDirectoryFiles(Directory, Dictionary<String, Dictionary<String, String>>)
Declaration
public static List<File> GetDirectoryFiles(this Directory directory, Dictionary<String, Dictionary<String, String>> metadataProperties = null)
Parameters
Directory
directory
|
Dictionary<String, Dictionary<String, String>>
metadataProperties
|
Returns
List<File>
|
GetFileStream(ProvisioningTemplate, File)
Declaration
public static Stream GetFileStream(ProvisioningTemplate template, File file)
Parameters
ProvisioningTemplate
template
|
File
file
|
Returns
Stream
|
GetFileStream(ProvisioningTemplate, String)
Declaration
public static Stream GetFileStream(ProvisioningTemplate template, string fileName)
Parameters
ProvisioningTemplate
template
|
System.String
fileName
|
Returns
Stream
|
GetMetadataProperties(Directory)
Declaration
public static Dictionary<string, Dictionary<string, string>> GetMetadataProperties(this Directory directory)
Parameters
Directory
directory
|
Returns
Dictionary<System.String, Dictionary<System.String, System.String>>
|