Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
EDaler.ServiceProviderWithTemplate Class Referenceabstract

Contains information about a service provider. More...

Inheritance diagram for EDaler.ServiceProviderWithTemplate:
Waher.Networking.XMPP.Contracts.ServiceProvider EDaler.IServiceProviderWithTemplate Waher.Networking.XMPP.Contracts.IServiceProvider Waher.Networking.XMPP.Contracts.IServiceProvider EDaler.BuyEDalerServiceProvider EDaler.SellEDalerServiceProvider

Public Member Functions

 ServiceProviderWithTemplate (string Id, string Type, string Name)
 Contains information about a service provider. More...
 
 ServiceProviderWithTemplate (string Id, string Type, string Name, string IconUrl, int IconWidth, int IconHeight)
 Contains information about a service provider. More...
 
abstract IServiceProviderWithTemplate Create (string Id, string Type, string Name, string TemplateContractId)
 Creates a new instance of the service provider. More...
 
abstract IServiceProviderWithTemplate Create (string Id, string Type, string Name, string IconUrl, int IconWidth, int IconHeight, string TemplateContractId)
 Creates a new instance of the service provider. More...
 
virtual IServiceProvider Create (string Id, string Type, string Name)
 Creates a new instance of the service provider. More...
 
virtual IServiceProvider Create (string Id, string Type, string Name, string IconUrl, int IconWidth, int IconHeight)
 Creates a new instance of the service provider. More...
 

Properties

string Id [get]
 ID of service provider. More...
 
string Type [get]
 Type of service provider. More...
 
string Name [get]
 Displayable name of service provider. More...
 
string IconUrl [get]
 Optional URL to icon of service provider. More...
 
int IconWidth [get]
 Width of icon, if available. More...
 
int IconHeight [get]
 Height of icon, if available. More...
 

Detailed Description

Contains information about a service provider.

Definition at line 8 of file ServiceProviderWithTemplate.cs.

Constructor & Destructor Documentation

◆ ServiceProviderWithTemplate() [1/2]

EDaler.ServiceProviderWithTemplate.ServiceProviderWithTemplate ( string  Id,
string  Type,
string  Name 
)

Contains information about a service provider.

Parameters
IdID of service provider.
TypeType of service provider.
NameDisplayable name of service provider.

Definition at line 16 of file ServiceProviderWithTemplate.cs.

◆ ServiceProviderWithTemplate() [2/2]

EDaler.ServiceProviderWithTemplate.ServiceProviderWithTemplate ( string  Id,
string  Type,
string  Name,
string  IconUrl,
int  IconWidth,
int  IconHeight 
)

Contains information about a service provider.

Parameters
IdID of service provider.
TypeType of service provider.
NameDisplayable name of service provider.
IconUrlOptional URL to icon of service provider.
IconWidthWidth of icon, if available.
IconHeightHeight of icon, if available.

Definition at line 30 of file ServiceProviderWithTemplate.cs.

Member Function Documentation

◆ Create() [1/4]

virtual IServiceProvider Waher.Networking.XMPP.Contracts.ServiceProvider.Create ( string  Id,
string  Type,
string  Name 
)
virtualinherited

Creates a new instance of the service provider.

Parameters
IdID of service provider.
TypeType of service provider.
NameDisplayable name of service provider.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 82 of file ServiceProvider.cs.

◆ Create() [2/4]

virtual IServiceProvider Waher.Networking.XMPP.Contracts.ServiceProvider.Create ( string  Id,
string  Type,
string  Name,
string  IconUrl,
int  IconWidth,
int  IconHeight 
)
virtualinherited

Creates a new instance of the service provider.

Parameters
IdID of service provider.
TypeType of service provider.
NameDisplayable name of service provider.
IconUrlOptional URL to icon of service provider.
IconWidthWidth of icon, if available.
IconHeightHeight of icon, if available.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 96 of file ServiceProvider.cs.

◆ Create() [3/4]

abstract IServiceProviderWithTemplate EDaler.ServiceProviderWithTemplate.Create ( string  Id,
string  Type,
string  Name,
string  IconUrl,
int  IconWidth,
int  IconHeight,
string  TemplateContractId 
)
pure virtual

Creates a new instance of the service provider.

Parameters
IdID of service provider.
TypeType of service provider.
NameDisplayable name of service provider.
IconUrlOptional URL to icon of service provider.
IconWidthWidth of icon, if available.
IconHeightHeight of icon, if available.
TemplateContractIdContract ID of template.

Implements EDaler.IServiceProviderWithTemplate.

Implemented in EDaler.BuyEDalerServiceProvider, and EDaler.SellEDalerServiceProvider.

◆ Create() [4/4]

abstract IServiceProviderWithTemplate EDaler.ServiceProviderWithTemplate.Create ( string  Id,
string  Type,
string  Name,
string  TemplateContractId 
)
pure virtual

Creates a new instance of the service provider.

Parameters
IdID of service provider.
TypeType of service provider.
NameDisplayable name of service provider.
TemplateContractIdContract ID of template.

Implements EDaler.IServiceProviderWithTemplate.

Implemented in EDaler.BuyEDalerServiceProvider, and EDaler.SellEDalerServiceProvider.

Property Documentation

◆ IconHeight

int Waher.Networking.XMPP.Contracts.ServiceProvider.IconHeight
getinherited

Height of icon, if available.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 74 of file ServiceProvider.cs.

◆ IconUrl

string Waher.Networking.XMPP.Contracts.ServiceProvider.IconUrl
getinherited

Optional URL to icon of service provider.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 64 of file ServiceProvider.cs.

◆ IconWidth

int Waher.Networking.XMPP.Contracts.ServiceProvider.IconWidth
getinherited

Width of icon, if available.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 69 of file ServiceProvider.cs.

◆ Id

string Waher.Networking.XMPP.Contracts.ServiceProvider.Id
getinherited

ID of service provider.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 49 of file ServiceProvider.cs.

◆ Name

string Waher.Networking.XMPP.Contracts.ServiceProvider.Name
getinherited

Displayable name of service provider.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 59 of file ServiceProvider.cs.

◆ Type

string Waher.Networking.XMPP.Contracts.ServiceProvider.Type
getinherited

Type of service provider.

Implements Waher.Networking.XMPP.Contracts.IServiceProvider.

Definition at line 54 of file ServiceProvider.cs.


The documentation for this class was generated from the following file: