Show / Hide Table of Contents

Class Ban

Inheritance
object
Ban
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Bans
Assembly: SlipeServer.Server.dll
Syntax
public class Ban

Properties

| Edit this page View Source

BannedPlayerName

Declaration
public string? BannedPlayerName { get; set; }
Property Value
Type Description
string
| Edit this page View Source

BannerName

Declaration
public string? BannerName { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ExpiryDateUtc

Declaration
public DateTime? ExpiryDateUtc { get; set; }
Property Value
Type Description
DateTime?
| Edit this page View Source

IPAddress

Declaration
public IPAddress? IPAddress { get; set; }
Property Value
Type Description
IPAddress
| Edit this page View Source

Id

Declaration
public Guid Id { get; set; }
Property Value
Type Description
Guid
| Edit this page View Source

Reason

Declaration
public string? Reason { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Serial

Declaration
public string? Serial { get; set; }
Property Value
Type Description
string

Methods

| Edit this page View Source

CreateAndValidate(string?, IPAddress?, DateTime?, string?, string?, string?)

Declaration
public static Ban CreateAndValidate(string? serial, IPAddress? ipAddress, DateTime? expiryTimeUtc, string? reason, string? bannedPlayerName, string? bannerName)
Parameters
Type Name Description
string serial
IPAddress ipAddress
DateTime? expiryTimeUtc
string reason
string bannedPlayerName
string bannerName
Returns
Type Description
Ban
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX