Interface IVersionResolveService
Represents the service that resolves the version for either Relativity or a RAP.
Namespace: Relativity.Testing.Framework.Versioning
Assembly: Relativity.Testing.Framework.dll
Syntax
public interface IVersionResolveService
Methods
| Improve this Doc View SourceGetTargetVersion(Type)
Gets the target version that is used to resolve a strategy object. Defaults to RelativityInstance version.
Declaration
string GetTargetVersion(Type t)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | t | The type of object that needs to be resolved. |
Returns
| Type | Description |
|---|---|
| System.String | Target version needed for resolving a type (e.g. Relativity Instance version or RAP version). |
GetTargetVersion(Type, String)
Gets the target version that is used to resolve a strategy object.
Declaration
string GetTargetVersion(Type t, string defaultVersion)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | t | The type of object that needs to be resolved. |
| System.String | defaultVersion | Default vaule to return. |
Returns
| Type | Description |
|---|---|
| System.String | Target version needed for resolving a type (e.g. Relativity Instance version or RAP version). |