Interface IServiceConnector2
Namespace: Umbraco.Cms.Core.Deploy
Assembly: Umbraco.Core.dll
Syntax
public interface IServiceConnector2 : IServiceConnector, IDiscoverable
  Remarks
This interface will be merged back into IServiceConnector and removed in Umbraco 13.
Methods
View SourceGetArtifact(Object, IContextCache)
Gets an artifact.
Declaration
IArtifact GetArtifact(object entity, IContextCache contextCache)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | entity | The entity.  | 
      
| IContextCache | contextCache | The context cache.  | 
      
Returns
| Type | Description | 
|---|---|
| IArtifact | The corresponding artifact.  | 
      
GetArtifact(Udi, IContextCache)
Gets an artifact.
Declaration
IArtifact GetArtifact(Udi udi, IContextCache contextCache)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Udi | udi | The entity identifier of the artifact.  | 
      
| IContextCache | contextCache | The context cache.  | 
      
Returns
| Type | Description | 
|---|---|
| IArtifact | The corresponding artifact, or null.  | 
      
Explicit Interface Implementations
View SourceIServiceConnector.GetArtifact(Object)
Gets an artifact.
Declaration
IArtifact IServiceConnector.GetArtifact(object entity)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | entity | The entity.  | 
      
Returns
| Type | Description | 
|---|---|
| IArtifact | The corresponding artifact.  | 
      
IServiceConnector.GetArtifact(Udi)
Gets an artifact.
Declaration
IArtifact IServiceConnector.GetArtifact(Udi udi)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Udi | udi | The entity identifier of the artifact.  | 
      
Returns
| Type | Description | 
|---|---|
| IArtifact | The corresponding artifact, or null.  |