Ejemplo 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));
        }
Ejemplo 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));
        }
Ejemplo 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));
        }
Ejemplo 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));
        }
Ejemplo 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));
 }
Ejemplo 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));
 }