Table of Contents

Namespace Contensive.BaseModels

Classes

AppConfigBaseModel

Configuration of an application

  • new() - to allow deserialization (so all methods must pass in cp)
  • shared getObject( cp, id ) - returns loaded model
  • saveObject( cp ) - saves instance properties, returns the record id
CaseInsensitiveDictionaryBaseModel<S, V>

case insensative dictionary. Use for application lookup

HttpContextBaseModel

A parameter Object for CPBaseClass constructor. Provides context from a potential server request, like a website request

NameValueBaseModel
ServerConfigBaseModel

configuration of the server (on or more apps in the serer) -- new() - to allow deserialization (so all methods must pass in cp) -- shared getObject( cp, id ) - returns loaded model -- saveObject( cp ) - saves instance properties, returns the record id

SimplestDataBaseModel
StatusResponseModel

Model for the /status remote method JSON response. Use this to deserialize the JSON returned by the /status endpoint with format=json.

StatusResponseModel.StatusMetricsModel

Performance metrics included in the status response

StatusResponseModel.StatusWindowsUpdatesModel

Windows update status included in the status response

Enums

AppConfigBaseModel.AppModeEnum

status of the app in the appConfigModel. Only applies to the app loaded in the serverstatus.appconfig

AppConfigBaseModel.AppStatusEnum

status of the app in the appConfigModel. Only applies to the app loaded in the serverstatus.appconfig

ServerConfigBaseModel.DataSourceTypeEnum

The type of database used by the datasource