Class CreateChannelRequest
- Namespace
- EchoHub.Core.DTOs
- Assembly
- EchoHub.Core.dll
public record CreateChannelRequest : IEquatable<CreateChannelRequest>
- Inheritance
-
CreateChannelRequest
- Implements
-
- Inherited Members
-
Constructors
CreateChannelRequest(CreateChannelRequest)
protected CreateChannelRequest(CreateChannelRequest original)
Parameters
original CreateChannelRequest
CreateChannelRequest(string, string?)
public CreateChannelRequest(string Name, string? Topic = null)
Parameters
Name string
Topic string
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
Name
public string Name { get; init; }
Property Value
- string
Topic
public string? Topic { get; init; }
Property Value
- string
Methods
Deconstruct(out string, out string?)
public void Deconstruct(out string Name, out string? Topic)
Parameters
Name string
Topic string
Equals(CreateChannelRequest?)
public virtual bool Equals(CreateChannelRequest? other)
Parameters
other CreateChannelRequest
Returns
- bool
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder StringBuilder
Returns
- bool
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(CreateChannelRequest?, CreateChannelRequest?)
public static bool operator ==(CreateChannelRequest? left, CreateChannelRequest? right)
Parameters
left CreateChannelRequest
right CreateChannelRequest
Returns
- bool
operator !=(CreateChannelRequest?, CreateChannelRequest?)
public static bool operator !=(CreateChannelRequest? left, CreateChannelRequest? right)
Parameters
left CreateChannelRequest
right CreateChannelRequest
Returns
- bool