Class Refuse
- Namespace
- Rinku
- Assembly
- Rinku.dll
Provides the standard failures used by custom Rinku components.
public static class Refuse
- Inheritance
-
Refuse
- Inherited Members
Methods
Connected<T>(T?)
Returns connection, or raises NoConnection.
public static T Connected<T>(T? connection) where T : class
Parameters
connectionT
Returns
- T
Type Parameters
T
NoConnection()
Throws when a command has no connection.
[DoesNotReturn]
public static void NoConnection()
NoParser(Type, ColumnInfo[])
Throws when the returned columns cannot create targetType.
[DoesNotReturn]
public static void NoParser(Type targetType, ColumnInfo[] cols)
Parameters
targetTypeTypecolsColumnInfo[]
NoRows()
Throws when a result type requires a row and none was returned.
[DoesNotReturn]
public static void NoRows()