Exemplo n.º 1
0
        /// <summary>
        /// Values are shared by all subscribers.
        /// </summary>
        public Tuple <UntypedConnectable, Behaviour <A> > Hot()
        {
            var r           = new Behaviour <A>(Value);
            var connectable = Subject.Publish();

            connectable.Subscribe(r.Subject);
            return(Tuple.Create(UntypedConnectable.Create(connectable), r));
        }