Table of Contents

Class EverestChemTypesService

Namespace
Everest.Service.ChemTypes
Assembly
Everest.Service.dll
[SwaggerWcf("/Everest/Chemicals")]
[SwaggerWcfServiceInfo("Chemical definitions service", "v1")]
[SwaggerWcfTag("Chemicals", false)]
public class EverestChemTypesService : EverestServiceBase<IEverestChemTypesApplication>, IEverestChemTypesService
Inheritance
EverestChemTypesService
Implements
Derived
Inherited Members

Constructors

EverestChemTypesService()
EverestChemTypesService(IEverestChemTypesApplication, IMapper)
EverestChemTypesService(IEverestChemTypesApplication, ILog, IMapper)

Methods

Get(string)

Returns the chemical definition associated with the given code if one is found or ChemTypeNotFoundContract is thrown otherwise

GetAll()

Returns the list of currently registered chemical definitions

GetOfferableChemicals()

Returns the list of currently registered chemical definitions

Refresh(string)

Refresh an existing chemical type definition

Register(RegisterChemTypeOperationContract)

Registers a new chemical type definition

Update(UpdateChemTypeOperationContract)

Update an existing chemical type definition