Interface IS100MapSessionFactory
Creates an IS100MapSession for a runtime Mapsui.Map, resolving its dependencies (CRS transform factory and options) from a DI container. Register it with AddS100Mapsui(IServiceCollection, Func<IServiceProvider, S100MapsuiOptions>?).
public interface IS100MapSessionFactory
Remarks
The returned session is owned by the caller, not the container: dispose it when the map/window goes away.
Methods
Create(Map)
Attaches a new S-100 session to map.
IS100MapSession Create(Map map)
Parameters
mapMapThe Mapsui map to attach to.
Returns
- IS100MapSession
The owned, disposable S-100 session.