Class ApplicationVersionExtensions
- Namespace
- Bannerlord.ButterLib.Common.Extensions
- Assembly
- Bannerlord.ButterLib.dll
An extension class for the ApplicationVersion.
public static class ApplicationVersionExtensions
- Inheritance
-
ApplicationVersionExtensions
- Inherited Members
Methods
IsSameWithRevision(ApplicationVersion, ApplicationVersion)
Determines whether two source ApplicationVersion structs are equal up to the revisions.
public static bool IsSameWithRevision(this ApplicationVersion @this, ApplicationVersion other)
Parameters
this
ApplicationVersionAn ApplicationVersion struct to compare to second.
other
ApplicationVersionAn ApplicationVersion struct to compare to the first.
Returns
- bool
true if corresponding elements of two source ApplicationVersion structs are equal according to the default equality comparer for their type; otherwise, false.
IsSameWithoutRevision(ApplicationVersion, ApplicationVersion)
Determines whether two source ApplicationVersion structs are equal, disregarding revisions.
public static bool IsSameWithoutRevision(this ApplicationVersion @this, ApplicationVersion other)
Parameters
this
ApplicationVersionAn ApplicationVersion struct to compare to second.
other
ApplicationVersionAn ApplicationVersion struct to compare to the first.
Returns
- bool
true if corresponding elements of two source ApplicationVersion structs are equal according to the default equality comparer for their type; otherwise, false. Differences in the revisions between two source ApplicationVersion structs do not affect the result.
This page was last modified at 02/05/2024 21:56:37 +02:00 (UTC).
Commit Message
Author: Vitalii Mikhailov
Commit: de40919fd63ba363031c633e84090eb52a8c42d6
File scoped namespaces