You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnFile.Open(Path,FileMode.OpenOrCreate,FileAccess.Write,FileShare.ReadWrite);//jd: I would like to use FileShare.None however the GeoTools shapefilewriter writes a dummy file while holding an existing handle
43
-
}
44
-
45
-
publicstringKind{get;privateset;}
46
-
}
1
+
usingSystem;
2
+
usingSystem.IO;
3
+
4
+
namespaceNetTopologySuite.IO.Streams
5
+
{
6
+
/// <summary>
7
+
/// An implementation of <see cref="IStreamProvider"/> that gives acces to file streams
8
+
/// </summary>
9
+
publicclassFileStreamProvider:IStreamProvider
10
+
{
11
+
/// <summary>
12
+
/// Creates an instance of this class
13
+
/// </summary>
14
+
/// <param name="kind">The kind of stream</param>
15
+
/// <param name="path">The path to the stream</param>
16
+
/// <param name="validatePath">A value indicating if the provided path is to be validated</param>
returnFile.Open(Path,FileMode.OpenOrCreate,FileAccess.Write,FileShare.ReadWrite);//jd: I would like to use FileShare.None however the GeoTools shapefilewriter writes a dummy file while holding an existing handle
0 commit comments