-
Notifications
You must be signed in to change notification settings - Fork 305
Expand file tree
/
Copy pathISession.cs
More file actions
51 lines (42 loc) · 1.73 KB
/
ISession.cs
File metadata and controls
51 lines (42 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using GeoAPI;
namespace SharpMap
{
/// <summary>
/// A SharpMap session
/// </summary>
public interface ISession
{
/// <summary>
/// The geometry services instance
/// </summary>
IGeometryServices GeometryServices { get; }
/// <summary>
/// Gets the coordinate system services instance
/// </summary>
ICoordinateSystemServices CoordinateSystemServices { get; }
/// <summary>
/// Gets the coordinate system repository
/// </summary>
ICoordinateSystemRepository CoordinateSystemRepository { get; }
#region Fluent configuration
/// <summary>
/// Method to set the <see cref="GeometryServices"/> for a session
/// </summary>
/// <param name="geometryServices">The geometry services object</param>
/// <returns>The updated session</returns>
ISession SetGeometryServices(IGeometryServices geometryServices);
/// <summary>
/// Method to set the <see cref="CoordinateSystemServices"/> for a session
/// </summary>
/// <param name="csServices">The <see cref="GeoAPI.CoordinateSystems.ICoordinateSystem"/>s services object</param>
/// <returns>The updated session</returns>
ISession SetCoordinateSystemServices(ICoordinateSystemServices csServices);
/// <summary>
/// Method to set the <see cref="CoordinateSystemRepository"/> for a session
/// </summary>
/// <param name="csRepository">The <see cref="GeoAPI.CoordinateSystems.ICoordinateSystem"/>s repository</param>
/// <returns>The updated session</returns>
ISession SetCoordinateSystemRepository(ICoordinateSystemRepository csRepository);
#endregion
}
}