IVersionSelector.GetSuitableVersion 方法

定义

重载

GetSuitableVersion(UInt16, IReadOnlyList<UInt16>, ICompatibilityDirector)
GetSuitableVersion(UInt16, UInt16[], ICompatibilityDirector)

返回给定请求的合适接口版本的集合。

GetSuitableVersion(UInt16, IReadOnlyList<UInt16>, ICompatibilityDirector)

Source:
IVersionSelector.cs
public System.Collections.Generic.IReadOnlyList<ushort> GetSuitableVersion (ushort requestedVersion, System.Collections.Generic.IReadOnlyList<ushort> availableVersions, Orleans.Versions.Compatibility.ICompatibilityDirector compatibilityDirector);
abstract member GetSuitableVersion : uint16 * System.Collections.Generic.IReadOnlyList<uint16> * Orleans.Versions.Compatibility.ICompatibilityDirector -> System.Collections.Generic.IReadOnlyList<uint16>
Public Function GetSuitableVersion (requestedVersion As UShort, availableVersions As IReadOnlyList(Of UShort), compatibilityDirector As ICompatibilityDirector) As IReadOnlyList(Of UShort)

参数

requestedVersion
UInt16
availableVersions
IReadOnlyList<UInt16>
compatibilityDirector
ICompatibilityDirector

返回

适用于

GetSuitableVersion(UInt16, UInt16[], ICompatibilityDirector)

返回给定请求的合适接口版本的集合。

public ushort[] GetSuitableVersion (ushort requestedVersion, ushort[] availableVersions, Orleans.Versions.Compatibility.ICompatibilityDirector compatibilityDirector);
abstract member GetSuitableVersion : uint16 * uint16[] * Orleans.Versions.Compatibility.ICompatibilityDirector -> uint16[]
Public Function GetSuitableVersion (requestedVersion As UShort, availableVersions As UShort(), compatibilityDirector As ICompatibilityDirector) As UShort()

参数

requestedVersion
UInt16

请求的 grain 接口版本。

availableVersions
UInt16[]

可用接口版本的集合。

compatibilityDirector
ICompatibilityDirector

兼容性控制器。

返回

UInt16[]

给定请求的合适接口版本的集合。

适用于