Exemplo n.º 1
0
        /// <summary> Read an <c>ActivationId</c> value from the stream. </summary>
        /// <returns>Data from current position in stream, converted to the appropriate output type.</returns>
        internal static ActivationId ReadActivationId(this IBinaryTokenStreamReader @this)
        {
            UniqueKey key = @this.ReadUniqueKey();

            return(ActivationId.GetActivationId(key));
        }
Exemplo n.º 2
0
        /// <summary> Read an <c>GrainId</c> value from the stream. </summary>
        /// <returns>Data from current position in stream, converted to the appropriate output type.</returns>
        internal static GrainId ReadGrainId(this IBinaryTokenStreamReader @this)
        {
            UniqueKey key = @this.ReadUniqueKey();

            return(GrainId.GetGrainId(key));
        }