Class PrinterName
Názov tlačiarne s maximálnou dĺžkou 24 znakov.
Inheritance
System.Object
PrinterName
Implements
System.IComparable
System.IConvertible
System.ICloneable
System.Collections.Generic.IEnumerable<System.Char>
System.Collections.IEnumerable
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class PrinterName : Text, IComparable, IComparable<Text>, IConvertible, IEquatable<Text>, IEquatable<PrinterName>, IComparable<PrinterName>, IDeepCloneable<PrinterName>, IDeepCloneable, ICloneable, IEnumerable<char>, IEnumerable
Constructors
PrinterName(String)
Declaration
public PrinterName(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Fields
MaxLength
Declaration
public const int MaxLength = 24
Field Value
Type |
Description |
System.Int32 |
|
MinLength
Declaration
public const int MinLength = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Email
Označuje názov tlačiarne vyhotuvujúci emailové správy.
Declaration
public static PrinterName Email { get; }
Property Value
Pdf
Označuje názov tlačiarne vyhotovujúci PDF súbory.
Declaration
public static PrinterName Pdf { get; }
Property Value
Pos
Označuje názov tlačiarne papierových dokladov.
Declaration
public static PrinterName Pos { get; }
Property Value
Methods
CompareTo(PrinterName)
Declaration
public int CompareTo(PrinterName other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
DeepClone()
Declaration
public PrinterName DeepClone()
Returns
Equals(PrinterName)
Declaration
public bool Equals(PrinterName other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(PrinterName, PrinterName)
Declaration
public static bool Equals(PrinterName x, PrinterName y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
IsDefined(PrinterName)
Declaration
public static bool IsDefined(PrinterName value)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsDefined(String)
Declaration
public static bool IsDefined(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.Boolean |
|
IsValid(String)
Declaration
public static bool IsValid(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Operators
Equality(PrinterName, PrinterName)
Declaration
public static bool operator ==(PrinterName x, PrinterName y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implicit(PrinterName to String)
Declaration
public static implicit operator string (PrinterName printerName)
Parameters
Returns
Type |
Description |
System.String |
|
Implicit(String to PrinterName)
Declaration
public static implicit operator PrinterName(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Inequality(PrinterName, PrinterName)
Declaration
public static bool operator !=(PrinterName x, PrinterName y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IComparable
System.IComparable<>
System.IConvertible
System.IEquatable<>
System.IEquatable<>
System.IComparable<>
System.ICloneable
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable