.NET Framework Class Library
Revision.ReleaseIsMinor Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > Revision Class > Revision Methods > .NET Framework Class Library |
Determines whether the given revision is a minor release based on the global revision phase settings and the provided revision string.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function ReleaseIsMinor ( _ lastRevision As String, _ |
C# |
|---|
public bool ReleaseIsMinor( string lastRevision, |
Visual C++ |
|---|
public: bool ReleaseIsMinor( |
JavaScript |
|---|
function releaseIsMinor(lastRevision, lastMajor, lastMinor); |
Parameters
lastRevision
Type: System.String
The revision string to evaluate.
lastMajor
Type: System.String
The major part of the revision if it is a minor release.
lastMinor
Type: System.String
The minor part of the revision if it is a minor release.
Return Value
True if the revision is identified as a minor release; otherwise, False.
Remarks
The function checks if the global revision phase C is enabled and verifies if the provided revision exists in both the major and minor revision lists (GlobaleRevPhaseBarray and GlobaleRevPhaseCarray). It also considers the presence of the global revision separator for additional validation.
See Also