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?, bool)
public CreateChannelRequest(string Name, string? Topic = null, bool IsPublic = true)
Parameters
Name string
Topic string
IsPublic bool
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
IsPublic
public bool IsPublic { get; init; }
Property Value
- bool
Name
public string Name { get; init; }
Property Value
- string
Topic
public string? Topic { get; init; }
Property Value
- string
Methods
Deconstruct(out string, out string?, out bool)
public void Deconstruct(out string Name, out string? Topic, out bool IsPublic)
Parameters
Name string
Topic string
IsPublic bool
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