View Source
Class DataRestriction
Inheritance
System.Object
DataRestriction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Core.IO.Data
Assembly:EvilDICOM.dll
Syntax
public class DataRestriction
Methods
View Source
EnforceEvenLength(Byte[], VR)
Declaration
public static byte[] EnforceEvenLength(byte[] data, VR vr)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
data |
|
| VR |
vr |
|
Returns
| Type |
Description |
| System.Byte[] |
|
View Source
EnforceLengthRestriction(UInt32, String)
Declaration
public static string EnforceLengthRestriction(uint lengthLimit, string data)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
lengthLimit |
|
| System.String |
data |
|
Returns
| Type |
Description |
| System.String |
|
View Source
EnforceRealNonZero(Double, String)
Declaration
public static bool EnforceRealNonZero(double value, string propertyName)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
| System.String |
propertyName |
|
Returns
| Type |
Description |
| System.Boolean |
|
View Source
EnforceRealNonZero(Int32, String)
Declaration
public static bool EnforceRealNonZero(int value, string propertyName)
Parameters
| Type |
Name |
Description |
| System.Int32 |
value |
|
| System.String |
propertyName |
|
Returns
| Type |
Description |
| System.Boolean |
|
View Source
EnforceUrlEncoding(String)
Declaration
public static string EnforceUrlEncoding(string originalValue)
Parameters
| Type |
Name |
Description |
| System.String |
originalValue |
|
Returns
| Type |
Description |
| System.String |
|