Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
 }
Esempio n. 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));
 }