Class FileDto
- Namespace
- RetailForce.Fiscalisation.Model.Helper
- Assembly
- RetailForce.Fiscalisation.Model.dll
public class FileDto : IEquatable<FileDto>
- Inheritance
-
FileDto
- Implements
- Inherited Members
Constructors
FileDto()
only for json serializer
public FileDto()
FileDto(RfFileType, string)
public FileDto(RfFileType fileType, string fileName)
Parameters
fileTypeRfFileTypefileNamestring
Properties
FileName
public string FileName { get; set; }
Property Value
FileType
public RfFileType FileType { get; set; }
Property Value
Methods
Equals(FileDto?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(FileDto? other)
Parameters
otherFileDtoAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(FileDto?, FileDto?)
public static bool operator ==(FileDto? left, FileDto? right)
Parameters
Returns
operator !=(FileDto?, FileDto?)
public static bool operator !=(FileDto? left, FileDto? right)