Interface IServiceRef
Contract used to define the type of properties referencing services.
Namespace: Kephas.Data
Assembly: Kephas.Data.dll
Syntax
public interface IServiceRef
Remarks
This type of reference is used typically when the referenced service allows multiple implementations and the entity containing the property references one of these implementations.
Properties
| Improve this Doc View SourceServiceName
Gets or sets the name of the referenced service.
Declaration
string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the service. |
ServiceType
Gets the type of the referenced service.
Declaration
Type ServiceType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the referenced service. |
Methods
| Improve this Doc View SourceGetService()
Gets the referenced service.
Declaration
object GetService()
Returns
Type | Description |
---|---|
System.Object | The referenced service. |