Class ContentTypeDto
- Namespace
- Biwen.QuickApi.Contents.Apis
- Assembly
- Biwen.QuickApi.Contents.dll
public record ContentTypeDto : IEquatable<ContentTypeDto>
- Inheritance
-
ContentTypeDto
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
ContentTypeDto(ContentTypeDto)
protected ContentTypeDto(ContentTypeDto original)
Parameters
original ContentTypeDto
ContentTypeDto(string?, string?, int)
public ContentTypeDto(string? ContentType, string? Description, int Order)
Parameters
ContentType string
Description string
Order int
Properties
ContentType
public string? ContentType { get; init; }
Property Value
- string
Description
public string? Description { get; init; }
Property Value
- string
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
Order
public int Order { get; init; }
Property Value
- int
Methods
Deconstruct(out string?, out string?, out int)
public void Deconstruct(out string? ContentType, out string? Description, out int Order)
Parameters
ContentType string
Description string
Order int
Equals(ContentTypeDto?)
public virtual bool Equals(ContentTypeDto? other)
Parameters
other ContentTypeDto
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 ==(ContentTypeDto?, ContentTypeDto?)
public static bool operator ==(ContentTypeDto? left, ContentTypeDto? right)
Parameters
left ContentTypeDto
right ContentTypeDto
Returns
- bool
operator !=(ContentTypeDto?, ContentTypeDto?)
public static bool operator !=(ContentTypeDto? left, ContentTypeDto? right)
Parameters
left ContentTypeDto
right ContentTypeDto
Returns
- bool