Show / Hide Table of Contents

Class VersionedName

A name with a semantic version.

Inheritance
Object
VersionedName
Implements
IEquatable<VersionedName>
IComparable<VersionedName>
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: PeerTalk.Protocols
Assembly: PeerTalk.dll
Syntax
public class VersionedName : IEquatable<VersionedName>, IComparable<VersionedName>
Remarks

Implements value type equality.

Properties

| Improve this Doc View Source

Name

The name.

Declaration
public string Name { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Version

The semantic version.

Declaration
public SemVersion Version { get; set; }
Property Value
Type Description
Semver.SemVersion

Methods

| Improve this Doc View Source

CompareTo(VersionedName)

Declaration
public int CompareTo(VersionedName that)
Parameters
Type Name Description
VersionedName that
Returns
Type Description
Int32
| Improve this Doc View Source

Equals(VersionedName)

Declaration
public bool Equals(VersionedName that)
Parameters
Type Name Description
VersionedName that
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

Parse(String)

Parse

Declaration
public static VersionedName Parse(string s)
Parameters
Type Name Description
String s
Returns
Type Description
VersionedName
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Operators

| Improve this Doc View Source

Equality(VersionedName, VersionedName)

Value equality.

Declaration
public static bool operator ==(VersionedName a, VersionedName b)
Parameters
Type Name Description
VersionedName a
VersionedName b
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(VersionedName, VersionedName)

Value inequality.

Declaration
public static bool operator !=(VersionedName a, VersionedName b)
Parameters
Type Name Description
VersionedName a
VersionedName b
Returns
Type Description
Boolean

Implements

System.IEquatable<T>
System.IComparable<T>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX