ITsmRepositoryInformationFactory Interface
Used internally when loading ITsmRepositoryInformation from an IRepository.
public interface ITsmRepositoryInformationFactoryMethods
Section titled “Methods”ITsmRepositoryInformationFactory.Create(string, TimeBase, IVersion) Method
Section titled “ITsmRepositoryInformationFactory.Create(string, TimeBase, IVersion) Method”Creates a new ITsmRepositoryInformation instance with the given name and timeBase.
HAKOM.TSM.Net.Api.Persistence.ITsmRepositoryInformation Create(string name, HAKOM.TSM.Net.Api.Time.TimeBases.TimeBase timeBase, HAKOM.Versioning.Core.Net.Api.IVersion version);Parameters
Section titled “Parameters”name System.String
The name of the repository
timeBase TimeBase
The TimeBase used by the repository which determines both resolution and epoch of time stamps stored in the repository.
version IVersion
The version of the repository.
Returns
Section titled “Returns”ITsmRepositoryInformation
The created ITsmRepositoryInformation.
ITsmRepositoryInformationFactory.TryCreate(string, TimeBase, IVersion) Method
Section titled “ITsmRepositoryInformationFactory.TryCreate(string, TimeBase, IVersion) Method”Tries to create a new ITsmRepositoryInformation instance with the given name and timeBase.
HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Persistence.ITsmRepositoryInformation> TryCreate(string name, HAKOM.TSM.Net.Api.Time.TimeBases.TimeBase timeBase, HAKOM.Versioning.Core.Net.Api.IVersion version);Parameters
Section titled “Parameters”name System.String
The name of the repository
timeBase TimeBase
The TimeBase used by the repository which determines both resolution and epoch of time stamps stored in the repository.
version IVersion
The version of the repository.
Returns
Section titled “Returns”HAKOM.ErrorHandling.Core.Net.Api.Result<ITsmRepositoryInformation>
A Result<TValue> containing the ITsmRepositoryInformation object.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.