Пример #1
0
        // Soft-Link: This method is referenced through reflection by
        // ExpressionUtilities.TryRewriteLambdaExpression.  Update that
        // file if the signature changes.
        public object Get(ActivityContext context)
        {
            if (context == null)
            {
                throw CoreWf.Internals.FxTrace.Exception.ArgumentNull("context");
            }

            return(context.GetValue <object>((LocationReference)this));
        }
Пример #2
0
        // Soft-Link: This method is referenced through reflection by
        // ExpressionUtilities.TryRewriteLambdaExpression.  Update that
        // file if the signature changes.
        public object Get(ActivityContext context)
        {
            if (context == null)
            {
                throw FxTrace.Exception.ArgumentNull(nameof(context));
            }

            return(context.GetValue <object>((LocationReference)this));
        }
Пример #3
0
        // Soft-Link: This method is referenced through reflection by
        // ExpressionUtilities.TryRewriteLambdaExpression.  Update that
        // file if the signature changes.
        public T Get <T>(ActivityContext context)
        {
            if (context == null)
            {
                throw CoreWf.Internals.FxTrace.Exception.ArgumentNull("context");
            }

            ThrowIfNotInTree();

            return(context.GetValue <T>(this.RuntimeArgument));
        }
Пример #4
0
        // Soft-Link: This method is referenced through reflection by
        // ExpressionUtilities.TryRewriteLambdaExpression.  Update that
        // file if the signature changes.
        public T Get <T>(ActivityContext context)
        {
            if (context == null)
            {
                throw FxTrace.Exception.ArgumentNull(nameof(context));
            }

            ThrowIfNotInTree();

            return(context.GetValue <T>(this.RuntimeArgument));
        }
Пример #5
0
 // Soft-Link: This method is referenced through reflection by
 // ExpressionUtilities.TryRewriteLambdaExpression.  Update that
 // file if the signature changes.
 public T Get <T>(ActivityContext context)
 {
     return(context.GetValue <T>(this));
 }
Пример #6
0
 // Soft-Link: This method is referenced through reflection by
 // ExpressionUtilities.TryRewriteLambdaExpression.  Update that
 // file if the signature changes.
 public object Get(ActivityContext context)
 {
     return(context.GetValue <object>(this));
 }