Method WithContext
WithContext<TTarget, TContext>(TTarget, TContext)
Declaration
public static TTarget WithContext<TTarget, TContext>(this TTarget target, TContext context) where TTarget : ICanSetContext where TContext : IAuraContext
Parameters
Type |
Name |
Description |
TTarget |
target |
|
TContext |
context |
|
Returns
Type Parameters
Name |
Description |
TTarget |
|
TContext |
|
WithContext<TTarget, TSrc, TContext>(TTarget, TSrc, Expression<Func<TSrc, TContext>>)
Declaration
public static TTarget WithContext<TTarget, TSrc, TContext>(this TTarget target, TSrc source, Expression<Func<TSrc, TContext>> sourceExpr) where TTarget : ICanSetContext where TSrc : IDisposableReactiveObject where TContext : IEyeContext
Parameters
Type |
Name |
Description |
TTarget |
target |
|
TSrc |
source |
|
Expression<Func<TSrc, TContext>> |
sourceExpr |
|
Returns
Type Parameters
Name |
Description |
TTarget |
|
TSrc |
|
TContext |
|