C# Класс csCommon.Types.DataServer.PoI.WebApiService

Наследование: PoiService
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
AppState AppStateSettings
ShapeAccentColor Color
api csWebDotNetLib.csWebApi
sub csWebDotNetLib.Subscription

Открытые методы

Метод Описание
CreateWebApiService ( csWebApi api, string name, Layer layer, System.Guid id, string folder = "", string relativeFolder = "" ) : WebApiService
GetFeature ( Newtonsoft.Json.Linq.JObject o ) : Feature
GetFeatureFromPoi ( global p ) : Feature
GetMenuItems ( ) : List
OpenFileSync ( bool saveDsd = true ) : Exception

Open the file synchronously.

Subscribe ( Mode serviceMode ) : void
SyncPoi ( global p, Layer l, Feature f, csWebApi api ) : void

Защищенные методы

Метод Описание
OnFileOpenedEvent ( FileOpenedEventArgs e ) : void
ProcessFile ( ) : Exception

Process the file. Returns an exception iff this did not work, and null otherwise. Perhaps a little ugly.

Приватные методы

Метод Описание
AddFeature ( Feature f, System.Guid id, Layer layer ) : global::DataServer.PoI
GetColor ( string s ) : Color
RestartService ( ) : void

Stops and then starts the service again.

UpdateFeature ( Feature f, global p, Layer layer ) : void

Описание методов

CreateWebApiService() публичный статический Метод

public static CreateWebApiService ( csWebApi api, string name, Layer layer, System.Guid id, string folder = "", string relativeFolder = "" ) : WebApiService
api csWebDotNetLib.csWebApi
name string
layer IO.Swagger.Model.Layer
id System.Guid
folder string
relativeFolder string
Результат WebApiService

GetFeature() публичный статический Метод

public static GetFeature ( Newtonsoft.Json.Linq.JObject o ) : Feature
o Newtonsoft.Json.Linq.JObject
Результат IO.Swagger.Model.Feature

GetFeatureFromPoi() публичный статический Метод

public static GetFeatureFromPoi ( global p ) : Feature
p global
Результат IO.Swagger.Model.Feature

GetMenuItems() публичный Метод

public GetMenuItems ( ) : List
Результат List

OnFileOpenedEvent() защищенный Метод

protected OnFileOpenedEvent ( FileOpenedEventArgs e ) : void
e FileOpenedEventArgs
Результат void

OpenFileSync() публичный Метод

Open the file synchronously.
public OpenFileSync ( bool saveDsd = true ) : Exception
saveDsd bool Whether to save a data description file (dsd) too.
Результат System.Exception

ProcessFile() защищенный Метод

Process the file. Returns an exception iff this did not work, and null otherwise. Perhaps a little ugly.
protected ProcessFile ( ) : Exception
Результат System.Exception

Subscribe() публичный Метод

public Subscribe ( Mode serviceMode ) : void
serviceMode Mode
Результат void

SyncPoi() публичный статический Метод

public static SyncPoi ( global p, Layer l, Feature f, csWebApi api ) : void
p global
l IO.Swagger.Model.Layer
f IO.Swagger.Model.Feature
api csWebDotNetLib.csWebApi
Результат void

Описание свойств

AppState защищенное статическое свойство

protected static AppStateSettings AppState
Результат AppStateSettings

ShapeAccentColor защищенное свойство

protected Color ShapeAccentColor
Результат Color

api защищенное свойство

protected csWebApi,csWebDotNetLib api
Результат csWebDotNetLib.csWebApi

sub защищенное свойство

protected Subscription,csWebDotNetLib sub
Результат csWebDotNetLib.Subscription