Esempio n. 1
0
        public override Task <DereferenceResponse> Dereference(
            DereferenceRequest request, ServerCallContext context)
        {
            RemoteValue value             = valueStore.GetObject(request.Value.Id);
            RemoteValue dereferenceResult = value.Dereference();
            var         response          = new DereferenceResponse();

            if (dereferenceResult != null)
            {
                response.DereferenceResult = GrpcFactoryUtils.CreateValue(
                    dereferenceResult, valueStore.AddObject(dereferenceResult));
            }
            return(Task.FromResult(response));
        }
Esempio n. 2
0
        public IVariableInformation Dereference()
        {
            RemoteValue dereferencedValue = _remoteValue.Dereference();

            return(dereferencedValue == null ? null : _varInfoBuilder.Create(dereferencedValue));
        }
Esempio n. 3
0
 public RemoteValue Dereference() => remoteProxy.Dereference();
 public virtual RemoteValue Dereference()
 {
     return(value.Dereference());
 }