Instantiate using the provided directory (as a File instance).

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use the constructor that takes a DirectoryInfo, this will be removed in the 3.0 release")]
public SimpleFSLockFactory(
	FileInfo lockDir
)
Visual Basic
<ObsoleteAttribute("Use the constructor that takes a DirectoryInfo, this will be removed in the 3.0 release")> _
Public Sub New ( _
	lockDir As FileInfo _
)
Visual C++
[ObsoleteAttribute(L"Use the constructor that takes a DirectoryInfo, this will be removed in the 3.0 release")]
public:
SimpleFSLockFactory(
	FileInfo^ lockDir
)

Parameters

lockDir
Type: System.IO..::..FileInfo
where lock files should be created.

See Also