Show / Hide Table of Contents

Class ServiceId

Defines an identifier class for dependency injection services. A service identifier consists of two parts, scheme and specifier, which are separated by a colon. Type binded services can be defined by the 'type' scheme and name binded by the 'name' scheme.

Inheritance
System.Object
ServiceId
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Juhta.Net.Services
Assembly: Juhta.Net.Services.dll
Syntax
public class ServiceId

Constructors

| Improve this Doc View Source

ServiceId(String)

Initializes a new instance.

Declaration
public ServiceId(string serviceId)
Parameters
Type Name Description
System.String serviceId

Specifies a service identifier as a string.

| Improve this Doc View Source

ServiceId(String, String)

Initializes a new instance.

Declaration
public ServiceId(string scheme, string specifier)
Parameters
Type Name Description
System.String scheme

Specifies a service identifier scheme.

System.String specifier

Specifies a service identifier specifier.

Properties

| Improve this Doc View Source

Scheme

Gets the scheme part of the service identifier.

Declaration
public string Scheme { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Specifier

Gets the specifier part of the service identifier.

Declaration
public string Specifier { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Value

Gets the service identifier as a string.

Declaration
public string Value { get; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX