Class RepositoryAttachedHandler<T>
Repository level attached handler wrapper
Inherited Members
Namespace: XData
Assembly: XData.docfx.dll
Syntax
public sealed class RepositoryAttachedHandler<T> : AttachedHandler<T> where T : class, IDataObject
Type Parameters
| Name | Description |
|---|---|
| T |
Operators
| Improve this Doc View SourceExplicit(RepositoryAttachedHandler<T> to ClearAttachedHandler)
Explicitly unwrap clear handler
Declaration
public static explicit operator ClearAttachedHandler(RepositoryAttachedHandler<T> handler)
Parameters
| Type | Name | Description |
|---|---|---|
| RepositoryAttachedHandler<T> | handler | Wrapped handler |
Returns
| Type | Description |
|---|---|
| ClearAttachedHandler | Unwrapped attached handler |
Explicit(RepositoryAttachedHandler<T> to ExecuteAttachedHandler<T>)
Explicitly unwrap execute handler
Declaration
public static explicit operator ExecuteAttachedHandler<T>(RepositoryAttachedHandler<T> handler)
Parameters
| Type | Name | Description |
|---|---|---|
| RepositoryAttachedHandler<T> | handler | Wrapped handler |
Returns
| Type | Description |
|---|---|
| ExecuteAttachedHandler<T> | Unwrapped attached handler |
Explicit(RepositoryAttachedHandler<T> to SubmitAttachedHandler<T>)
Explicitly unwrap submit handler
Declaration
public static explicit operator SubmitAttachedHandler<T>(RepositoryAttachedHandler<T> handler)
Parameters
| Type | Name | Description |
|---|---|---|
| RepositoryAttachedHandler<T> | handler | Wrapped handler |
Returns
| Type | Description |
|---|---|
| SubmitAttachedHandler<T> | Unwrapped attached handler |
Implicit(ClearAttachedHandler to RepositoryAttachedHandler<T>)
Implicitly wrap clear handler
Declaration
public static implicit operator RepositoryAttachedHandler<T>(ClearAttachedHandler handler)
Parameters
| Type | Name | Description |
|---|---|---|
| ClearAttachedHandler | handler | Clear handler |
Returns
| Type | Description |
|---|---|
| RepositoryAttachedHandler<T> | Repository attached handler |
Implicit(ExecuteAttachedHandler<T> to RepositoryAttachedHandler<T>)
Implicitly wrap execute handler
Declaration
public static implicit operator RepositoryAttachedHandler<T>(ExecuteAttachedHandler<T> handler)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecuteAttachedHandler<T> | handler | Execute handler |
Returns
| Type | Description |
|---|---|
| RepositoryAttachedHandler<T> | Repository attached handler |
Implicit(SubmitAttachedHandler<T> to RepositoryAttachedHandler<T>)
Implicitly wrap submit handler
Declaration
public static implicit operator RepositoryAttachedHandler<T>(SubmitAttachedHandler<T> handler)
Parameters
| Type | Name | Description |
|---|---|---|
| SubmitAttachedHandler<T> | handler | Submit handler |
Returns
| Type | Description |
|---|---|
| RepositoryAttachedHandler<T> | Repository attached handler |