C# Class SobekCM.Core.MicroservicesClient.MicroservicesClient_Configuration

Afficher le fichier Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Méthodes publiques

Méthode Description
Add_Endpoint ( string Key, MicroservicesClient_Endpoint Endpoint ) : void

Add a new single endpoint to this configuration

Add_Endpoint ( string Key, string URL, Microservice_Endpoint_Protocol_Enum Protocol ) : void

Add a new single endpoint to this configuration

Add_Endpoint ( string Key, string URL, string Protocol ) : void

Add a new single endpoint to this configuration

Change_Base_URL ( string Original, string New ) : void

Change the base URL for the microservices endpoints

MicroservicesClient_Configuration ( ) : System

Constructor for a new instance of the MicroservicesClient_Configuration class

MicroservicesClient_Configuration ( ) : System.Collections.Generic

Constructor for a new instance of the MicroservicesClient_Configuration class

this ( string Key ) : MicroservicesClient_Endpoint

Reference a single microservices client endpoint configuration, via the lookup key

Private Methods

Méthode Description
build_dictionary ( ) : void

Method Details

Add_Endpoint() public méthode

Add a new single endpoint to this configuration
public Add_Endpoint ( string Key, MicroservicesClient_Endpoint Endpoint ) : void
Key string Key used for subsequent lookups from this configuration
Endpoint MicroservicesClient_Endpoint Fully pre-constructed microservice client endpoint configuration object
Résultat void

Add_Endpoint() public méthode

Add a new single endpoint to this configuration
public Add_Endpoint ( string Key, string URL, Microservice_Endpoint_Protocol_Enum Protocol ) : void
Key string Key used for subsequent lookups from this configuration
URL string Complete URL for this microservices endpoint
Protocol Microservice_Endpoint_Protocol_Enum Protocol to use when connecting to this endpoint, via the URL ( JSON or ProtoBuf )
Résultat void

Add_Endpoint() public méthode

Add a new single endpoint to this configuration
public Add_Endpoint ( string Key, string URL, string Protocol ) : void
Key string Key used for subsequent lookups from this configuration
URL string Complete URL for this microservices endpoint
Protocol string Protocol to use when connecting to this endpoint, via the URL ( JSON or ProtoBuf )
Résultat void

Change_Base_URL() public méthode

Change the base URL for the microservices endpoints
public Change_Base_URL ( string Original, string New ) : void
Original string Original URL, which must match EXACTLY the ones present in the microservices
New string New URL to replace that with
Résultat void

MicroservicesClient_Configuration() public méthode

Constructor for a new instance of the MicroservicesClient_Configuration class
public MicroservicesClient_Configuration ( ) : System
Résultat System

MicroservicesClient_Configuration() public méthode

Constructor for a new instance of the MicroservicesClient_Configuration class
public MicroservicesClient_Configuration ( ) : System.Collections.Generic
Résultat System.Collections.Generic

this() public méthode

Reference a single microservices client endpoint configuration, via the lookup key
public this ( string Key ) : MicroservicesClient_Endpoint
Key string Key to find the microservices client endpoint configuration
Résultat MicroservicesClient_Endpoint