PlatformTypePlatformsAreCompatible Method
This can be used to determine if the given set of platform types are compatible with each other for
documentation purposes.
Namespace: Sandcastle.Core.ReflectionAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static bool PlatformsAreCompatible(
IEnumerable<(string platform, Version version)> platforms
)
Public Shared Function PlatformsAreCompatible (
platforms As IEnumerable(Of (platform As String, version As Version))
) As Boolean
public:
static bool PlatformsAreCompatible(
IEnumerable<ValueTuple<String^, Version^>>^ platforms
)
static member PlatformsAreCompatible :
platforms : IEnumerable<ValueTuple<string, Version>> -> bool
- platforms IEnumerableValueTupleString, Version
- An enumerable list of platform types
BooleanTrue if they are compatible, false if not
In general, platforms that have all of their types in mscorlib or netstandard are compatible
but you can't mix both. All platforms that redirect their types to System.Runtime and other
assemblies are also typically compatible. Mixing the sets or any combination of other frameworks
is not compatible.