Class AttachedHandler<T>
Data object level attached handler wrapper
Inherited Members
Namespace: XData
Assembly: XData.docfx.dll
Syntax
public class AttachedHandler<T>
where T : class, IDataObject
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceAttachedHandler(AttachedHandlerType, Object)
DataObjectAttachedHandler constructor
Declaration
protected AttachedHandler(AttachedHandlerType type, object handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandlerType | type | |
Object | handler |
Properties
| Improve this Doc View SourceHandler
Attached handler
Declaration
protected object Handler { get; }
Property Value
Type | Description |
---|---|
Object |
Type
Attached handler type
Declaration
public AttachedHandlerType Type { get; protected set; }
Property Value
Type | Description |
---|---|
AttachedHandlerType |
Operators
| Improve this Doc View SourceExplicit(AttachedHandler<T> to GetLobAttachedHandler)
Explicitly unwrap get Lob handler
Declaration
public static explicit operator GetLobAttachedHandler(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
GetLobAttachedHandler | Unwrapped attached handler |
Explicit(AttachedHandler<T> to GetLobSizeAttachedHandler)
Explicitly unwrap get Lob size handler
Declaration
public static explicit operator GetLobSizeAttachedHandler(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
GetLobSizeAttachedHandler | Unwrapped attached handler |
Explicit(AttachedHandler<T> to GetXmlAttachedHandler)
Explicitly unwrap get Xml handler
Declaration
public static explicit operator GetXmlAttachedHandler(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
GetXmlAttachedHandler | Unwrapped attached handler |
Explicit(AttachedHandler<T> to LockAttachedHandler<T>)
Explicitly unwrap lock object handler
Declaration
public static explicit operator LockAttachedHandler<T>(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
LockAttachedHandler<T> | Unwrapped attached handler |
Explicit(AttachedHandler<T> to RefreshAttachedHandler<T>)
Explicitly unwrap refresh object handler
Declaration
public static explicit operator RefreshAttachedHandler<T>(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
RefreshAttachedHandler<T> | Unwrapped attached handler |
Explicit(AttachedHandler<T> to SetLobAttachedHandler)
Explicitly unwrap set Lob handler
Declaration
public static explicit operator SetLobAttachedHandler(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
SetLobAttachedHandler | Unwrapped attached handler |
Explicit(AttachedHandler<T> to SetXmlAttachedHandler)
Explicitly unwrap set Xml handler
Declaration
public static explicit operator SetXmlAttachedHandler(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
SetXmlAttachedHandler | Unwrapped attached handler |
Explicit(AttachedHandler<T> to SubmitObjectAttachedHandler<T>)
Explicitly unwrap submit object handler
Declaration
public static explicit operator SubmitObjectAttachedHandler<T>(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
SubmitObjectAttachedHandler<T> | Unwrapped attached handler |
Explicit(AttachedHandler<T> to SubmitQueryAttachedHandler<T>)
Explicitly unwrap submit query handler
Declaration
public static explicit operator SubmitQueryAttachedHandler<T>(AttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
AttachedHandler<T> | handler | Wrapped handler |
Returns
Type | Description |
---|---|
SubmitQueryAttachedHandler<T> | Unwrapped attached handler |
Implicit(GetLobAttachedHandler to AttachedHandler<T>)
Implicitly wrap get Lob handler
Declaration
public static implicit operator AttachedHandler<T>(GetLobAttachedHandler handler)
Parameters
Type | Name | Description |
---|---|---|
GetLobAttachedHandler | handler | Get Lob handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(GetLobSizeAttachedHandler to AttachedHandler<T>)
Implicitly wrap get Lob size handler
Declaration
public static implicit operator AttachedHandler<T>(GetLobSizeAttachedHandler handler)
Parameters
Type | Name | Description |
---|---|---|
GetLobSizeAttachedHandler | handler | Get Lob handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(GetXmlAttachedHandler to AttachedHandler<T>)
Implicitly wrap get Xml handler
Declaration
public static implicit operator AttachedHandler<T>(GetXmlAttachedHandler handler)
Parameters
Type | Name | Description |
---|---|---|
GetXmlAttachedHandler | handler | Get Xml handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(LockAttachedHandler<T> to AttachedHandler<T>)
Implicitly wrap lock handler
Declaration
public static implicit operator AttachedHandler<T>(LockAttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
LockAttachedHandler<T> | handler | Lock handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(RefreshAttachedHandler<T> to AttachedHandler<T>)
Implicitly wrap refresh object handler
Declaration
public static implicit operator AttachedHandler<T>(RefreshAttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
RefreshAttachedHandler<T> | handler | Refresh handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(SetLobAttachedHandler to AttachedHandler<T>)
Implicitly wrap set Lob handler
Declaration
public static implicit operator AttachedHandler<T>(SetLobAttachedHandler handler)
Parameters
Type | Name | Description |
---|---|---|
SetLobAttachedHandler | handler | Set Lob handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(SetXmlAttachedHandler to AttachedHandler<T>)
Implicitly wrap set Xml handler
Declaration
public static implicit operator AttachedHandler<T>(SetXmlAttachedHandler handler)
Parameters
Type | Name | Description |
---|---|---|
SetXmlAttachedHandler | handler | Set Xml handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(SubmitObjectAttachedHandler<T> to AttachedHandler<T>)
Implicitly wrap submit object handler
Declaration
public static implicit operator AttachedHandler<T>(SubmitObjectAttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
SubmitObjectAttachedHandler<T> | handler | Submit handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |
Implicit(SubmitQueryAttachedHandler<T> to AttachedHandler<T>)
Implicitly wrap submit query handler
Declaration
public static implicit operator AttachedHandler<T>(SubmitQueryAttachedHandler<T> handler)
Parameters
Type | Name | Description |
---|---|---|
SubmitQueryAttachedHandler<T> | handler | Submit query handler |
Returns
Type | Description |
---|---|
AttachedHandler<T> | Data object attached handler |