Ejemplo n.º 1
0
            /// <summary>
            /// Copies info from already used ClassContextHolder. It reuses the holder iff class context was already initialized.
            /// </summary>
            /// <param name="holder">Exiting class context holder with potentionaly already obtained class context.</param>
            internal ClassContextHolder(ClassContextHolder /*!*/ holder)
            {
                Debug.Assert(holder != null);

                this._classContext       = holder._classContext;
                this.classContextIsValid = holder.classContextIsValid;
            }
Ejemplo n.º 2
0
            /// <summary>
            /// Copies info from already used ClassContextHolder. It reuses the holder iff class context was already initialized.
            /// </summary>
            /// <param name="holder">Exiting class context holder with potentionaly already obtained class context.</param>
            internal ClassContextHolder(ClassContextHolder/*!*/holder)
            {
                Debug.Assert(holder != null);

                this._classContext = holder._classContext;
                this.classContextIsValid = holder.classContextIsValid;
            }