Class ChecksumBuilderExtensions
Extension methods for the ChecksumBuilder.
Inheritance
Namespace: Cuemon.Integrity
Assembly: Cuemon.Integrity.dll
Syntax
public static class ChecksumBuilderExtensions
Methods
| Improve this DocCombineWith<T>(T, Byte[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params byte[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.Byte[] | additionalChecksum | An array of bytes containing a checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, Double[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params double[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.Double[] | additionalChecksum | A System.Double array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, Int16[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params short[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.Int16[] | additionalChecksum | An System.Int16 array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, Int32[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params int[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.Int32[] | additionalChecksum | An System.Int32 array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, Int64[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params long[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.Int64[] | additionalChecksum | An System.Int64 array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, Single[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params float[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.Single[] | additionalChecksum | A System.Single array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, String[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params string[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.String[] | additionalChecksum | A System.String array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, UInt16[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params ushort[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.UInt16[] | additionalChecksum | An System.UInt16 array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, UInt32[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params uint[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.UInt32[] | additionalChecksum | An System.UInt32 array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |
CombineWith<T>(T, UInt64[])
Combines the additionalChecksum
to the representation of this instance.
Declaration
public static T CombineWith<T>(this T cb, params ulong[] additionalChecksum)
where T : ChecksumBuilder
Parameters
Type | Name | Description |
---|---|---|
T | cb | An instance of a ChecksumBuilder. |
System.UInt64[] | additionalChecksum | An System.UInt64 array that contains zero or more checksum of the additional data this instance must represent. |
Returns
Type | Description |
---|---|
T | An updated instance the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the ChecksumBuilder. |