Show / Hide Table of Contents

Class Mapping

Inheritance
System.Object
Mapping
Implements
System.IEquatable<Mapping>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MonoTorrent.Client.PortForwarding
Assembly: MonoTorrent.dll
Syntax
public sealed class Mapping : IEquatable<Mapping>

Properties

PrivatePort

Declaration
public int PrivatePort { get; }
Property Value
Type Description
System.Int32

Protocol

Declaration
public Protocol Protocol { get; }
Property Value
Type Description
Protocol

PublicPort

Declaration
public int PublicPort { get; }
Property Value
Type Description
System.Int32

Methods

Equals(Mapping)

Declaration
public bool Equals(Mapping mapping)
Parameters
Type Name Description
Mapping mapping
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

Implements

System.IEquatable<T>
In This Article
Back to top Generated by DocFX