ManifestUtils HasTheSameContent Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Returns true when both config nodes represents the same manifest - that is the same file structure

Namespace: NFX.IO.FileSystem.Packaging
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static bool HasTheSameContent(
	this IConfigSectionNode master,
	IConfigSectionNode comparand,
	bool oneWay = false
)

Parameters

master
Type: NFX.Environment IConfigSectionNode
Master sample copy
comparand
Type: NFX.Environment IConfigSectionNode
The second manifest being compared to the master
oneWay (Optional)
Type: OnlineSystem Boolean
If true iterates on master, so extra files in comparand will not be detected. False by default in whoch case iterates on master first then on comparand

Return Value

Type: OnlineBoolean
True when comparand has all files/directories that the master lists

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IConfigSectionNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also