[This is preliminary documentation and is subject to change.]
Generates packaging manifest for the specified directory. Optionally may specify root node name
Namespace: NFX.IO.FileSystem.PackagingAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static ConfigSectionNode GeneratePackagingManifest(
this FileSystemDirectory directory,
string rootNodeName = null,
string packageName = null,
string packageLocalPath = null
)
public static ConfigSectionNode GeneratePackagingManifest(
this FileSystemDirectory directory,
string rootNodeName = null,
string packageName = null,
string packageLocalPath = null
)
<ExtensionAttribute>
Public Shared Function GeneratePackagingManifest (
directory As FileSystemDirectory,
Optional rootNodeName As String = Nothing,
Optional packageName As String = Nothing,
Optional packageLocalPath As String = Nothing
) As ConfigSectionNode
<ExtensionAttribute>
Public Shared Function GeneratePackagingManifest (
directory As FileSystemDirectory,
Optional rootNodeName As String = Nothing,
Optional packageName As String = Nothing,
Optional packageLocalPath As String = Nothing
) As ConfigSectionNode
public:
[ExtensionAttribute]
static ConfigSectionNode^ GeneratePackagingManifest(
FileSystemDirectory^ directory,
String^ rootNodeName = nullptr,
String^ packageName = nullptr,
String^ packageLocalPath = nullptr
)
public:
[ExtensionAttribute]
static ConfigSectionNode^ GeneratePackagingManifest(
FileSystemDirectory^ directory,
String^ rootNodeName = nullptr,
String^ packageName = nullptr,
String^ packageLocalPath = nullptr
)
static member GeneratePackagingManifest :
directory : FileSystemDirectory *
?rootNodeName : string *
?packageName : string *
?packageLocalPath : string
(* Defaults:
let _rootNodeName = defaultArg rootNodeName null
let _packageName = defaultArg packageName null
let _packageLocalPath = defaultArg packageLocalPath null
*)
-> ConfigSectionNode
static member GeneratePackagingManifest :
directory : FileSystemDirectory *
?rootNodeName : string *
?packageName : string *
?packageLocalPath : string
(* Defaults:
let _rootNodeName = defaultArg rootNodeName null
let _packageName = defaultArg packageName null
let _packageLocalPath = defaultArg packageLocalPath null
*)
-> ConfigSectionNode
Parameters
- directory
- Type: NFX.IO.FileSystem FileSystemDirectory
Source directory to generate manifest for
- rootNodeName (Optional)
- Type:
System String
Name of root manifest node, if omitted then 'package' is defaulted
- packageName (Optional)
- Type:
System String
Optional 'name' attribute value under root node
- packageLocalPath (Optional)
- Type:
System String
Optional 'local-path' attribute value under root node
Return Value
Type:
ConfigSectionNodeUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FileSystemDirectory. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).