Table of Contents

Class RDWebService

Namespace
RDCore.Web.Services
Assembly
RDCore.Web.dll

A service that a class of the program declares with '@Service.

public sealed record RDWebService : IEquatable<RDWebService>
Inheritance
RDWebService
Implements
Inherited Members

Constructors

RDWebService(string, RDWebServiceLifetime, string, bool)

A service that a class of the program declares with '@Service.

public RDWebService(string Name, RDWebServiceLifetime Lifetime, string ClassName, bool IsPredeclared)

Parameters

Name string

The service's name: the type a parameter declares to be given it. The class is that type, or names it in an Implements statement.

Lifetime RDWebServiceLifetime

How long its object lives.

ClassName string

The class that makes it.

IsPredeclared bool

Whether the class has a default instance (VB_PredeclaredId = True): its object is the one its DefaultFactory function returns, run on the default instance. Otherwise its object is a New one.

Properties

ClassName

The class that makes it.

public string ClassName { get; init; }

Property Value

string

IsPredeclared

Whether the class has a default instance (VB_PredeclaredId = True): its object is the one its DefaultFactory function returns, run on the default instance. Otherwise its object is a New one.

public bool IsPredeclared { get; init; }

Property Value

bool

Lifetime

How long its object lives.

public RDWebServiceLifetime Lifetime { get; init; }

Property Value

RDWebServiceLifetime

Name

The service's name: the type a parameter declares to be given it. The class is that type, or names it in an Implements statement.

public string Name { get; init; }

Property Value

string