IExtensionTypeRepository

IExtensionTypeRepository in assembly SanteDB.Core.Api version 2.1.151.0

Summary

Represents the extension type repository

Operations

OperationResponse/ReturnInput/ParameterDescription

Get

ExtensionType

Uri uri

Get the xtension type my its url

Implementations

LocalExtensionTypeRepository - (SanteDB.Server.Core)

Local extension types

Service Registration

...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
	<serviceProviders>
		...
		<add type="SanteDB.Server.Core.Services.Impl.LocalExtensionTypeRepository, SanteDB.Server.Core, Version=2.1.151.0, Culture=neutral, PublicKeyToken=null" />
		...
	</serviceProviders>

Example Implementation

/// Example Implementation
using SanteDB.Core.Services;
/// Other usings here
public class MyExtensionTypeRepository : SanteDB.Core.Services.IExtensionTypeRepository { 
	public String ServiceName => "My own IExtensionTypeRepository service";
	/// <summary>
	/// Get the xtension type my its url
	/// </summary>
	public ExtensionType Get(Uri uri){
		throw new System.NotImplementedException();
	}
}

References

Last updated