clojure.lang.Agent.deref C# (CSharp) Method

deref() public method

Gets the (immutable) value the reference is holding.
public deref ( ) : object
return object
        public override object deref()
        {
            if (_errors != null)
                throw new Exception("Agent has errors", (Exception)RT.first(_errors));
            return _state;
        }