Method | Description | |
---|---|---|
Clone ( ) : |
Returns a MonotonicVersioner with an identical chronology, but which can advance its versions separately.
|
|
MonotonicVersioner ( ) : System |
Creates a new MonotonicVersioner instance. The Compatibility number sequence produced by an instance which was created using this constructor starts at one. If a zero-based sequence is required, use MonotonicVersioner(bool). |
|
MonotonicVersioner ( IEnumerable |
Creates a new MonotonicVersioner with the specified version number history. chronology is not required to be in order. |
|
MonotonicVersioner ( bool startAtOne ) : System |
Creates a new MonotonicVersioner instance with the specified initial compatibility line. The Monotonic Versioning Manifesto 1.2 does not specify whether the Compatibility component of versions are to start at one or zero. It is assumed that either is valid as neither is specifically recommended nor prohibited. If the Compatibility components are to start at one, MonotonicVersioner() may be used. |
|
MonotonicVersioner ( bool startAtOne, IEnumerable |
Creates a new MonotonicVersioner instance with the specified initial compatibility line and metadata. The Monotonic Versioning Manifesto 1.2 does not specify whether the Compatibility component of versions are to start at one or zero. It is assumed that either is valid as neither is specifically recommended nor prohibited. |
|
Next ( MonotonicChange change ) : SemanticVersion |
Returns the next version number when a specified change is made to the latest version.
|
|
Next ( MonotonicChange change, IEnumerable |
Returns the next version number when a specified change is made to the latest version.
|
|
Next ( int line, MonotonicChange change ) : SemanticVersion |
Returns the next version number when a specified change is made to a given line of compatibility.
|
|
Next ( int line, MonotonicChange change, IEnumerable |
Returns the next version number when a specified change is made to a given line of compatibility with the specified metadata.
|
Method | Description | |
---|---|---|
_add ( SemanticVersion sv ) : SemanticVersion | ||
_createReadOnlies ( ) : void | ||
_isOrderedCtgsIntSeq ( IEnumerable |
||
_verifyMetadataColl ( IEnumerable |
public MonotonicVersioner ( IEnumerable |
||
chronology | IEnumerable |
/// A collection of version numbers providing the version /// history to use for this instance. /// |
return | System |
public MonotonicVersioner ( bool startAtOne ) : System | ||
startAtOne | bool |
/// If true, the produced |
return | System |
public MonotonicVersioner ( bool startAtOne, IEnumerable |
||
startAtOne | bool |
/// If true, the produced |
metadata | IEnumerable |
/// Any metadata items to be included as part of the /// initial version number. /// |
return | System |
public Next ( MonotonicChange change ) : SemanticVersion | ||
change | MonotonicChange | /// The type of change being made to the latest version. /// |
return | SemanticVersion |
public Next ( MonotonicChange change, IEnumerable |
||
change | MonotonicChange | /// The type of change being made to the latest version. /// |
metadata | IEnumerable |
/// The metadata to be included with the new version. /// |
return | SemanticVersion |
public Next ( int line, MonotonicChange change ) : SemanticVersion | ||
line | int | /// The line of compatibility to which the change is being /// made. /// |
change | MonotonicChange |
/// The type of change being made to |
return | SemanticVersion |
public Next ( int line, MonotonicChange change, IEnumerable |
||
line | int | /// The line of compatibility to which the change is being /// made. /// |
change | MonotonicChange |
/// The type of change being made to |
metadata | IEnumerable |
/// The metadata to be included with the new version. /// |
return | SemanticVersion |