Class DIC
DIČ - Daňové Identifikačné Číslo pozostávajúce z číslic s dĺžkou 10 znakov.
Inheritance
System.Object
DIC
Implements
System.ICloneable
System.Collections.Generic.IEnumerable<System.Char>
System.Collections.IEnumerable
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class DIC : Object, IEquatable<DIC>, IComparable<DIC>, IDeepCloneable<DIC>, IDeepCloneable, ICloneable, IEnumerable<char>, IEnumerable
Examples
2004567890
Constructors
DIC(String)
Declaration
Parameters
Type |
Name |
Description |
System.String |
value |
|
Fields
MaxLength
Declaration
public const byte MaxLength = 10
Field Value
Type |
Description |
System.Byte |
|
MinLength
Declaration
public const byte MinLength = 10
Field Value
Type |
Description |
System.Byte |
|
Properties
Length
Declaration
public int Length { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
CompareTo(DIC)
Declaration
public int CompareTo(DIC other)
Parameters
Type |
Name |
Description |
DIC |
other |
|
Returns
Type |
Description |
System.Int32 |
|
DeepClone()
Declaration
Returns
Equals(DIC)
Declaration
public bool Equals(DIC other)
Parameters
Type |
Name |
Description |
DIC |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(DIC, DIC)
Declaration
public static bool Equals(DIC x, DIC y)
Parameters
Type |
Name |
Description |
DIC |
x |
|
DIC |
y |
|
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 |
|
GetEnumerator()
Declaration
public IEnumerator<char> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Char> |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
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 |
|
Operators
Equality(DIC, DIC)
Declaration
public static bool operator ==(DIC x, DIC y)
Parameters
Type |
Name |
Description |
DIC |
x |
|
DIC |
y |
|
Returns
Type |
Description |
System.Boolean |
|
Implicit(DIC to String)
Declaration
public static implicit operator string (DIC dic)
Parameters
Type |
Name |
Description |
DIC |
dic |
|
Returns
Type |
Description |
System.String |
|
Implicit(String to DIC)
Declaration
public static implicit operator DIC(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Inequality(DIC, DIC)
Declaration
public static bool operator !=(DIC x, DIC y)
Parameters
Type |
Name |
Description |
DIC |
x |
|
DIC |
y |
|
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
IDeepCloneable.DeepClone()
Declaration
object IDeepCloneable.DeepClone()
Returns
Type |
Description |
System.Object |
|
Implements
System.IEquatable<>
System.IComparable<>
System.ICloneable
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable