예제 #1
0
        internal RecordStateScratchpad CreateRecordStateScratchpad()
        {
            RecordStateScratchpad recordStateScratchpad = new RecordStateScratchpad();

            if (this._recordStateScratchpads == null)
            {
                this._recordStateScratchpads = new List <RecordStateScratchpad>();
            }
            this._recordStateScratchpads.Add(recordStateScratchpad);
            return(recordStateScratchpad);
        }
        // <summary>
        // Allocates a new RecordStateScratchpad and adds it to the list of the ones we're
        // responsible for; will create the list if it hasn't alread been created.
        // </summary>
        internal RecordStateScratchpad CreateRecordStateScratchpad()
        {
            var recordStateScratchpad = new RecordStateScratchpad();

            if (null == _recordStateScratchpads)
            {
                _recordStateScratchpads = new List <RecordStateScratchpad>();
            }
            _recordStateScratchpads.Add(recordStateScratchpad);
            return(recordStateScratchpad);
        }
        /// <summary>
        ///     Allocates a new RecordStateScratchpad and adds it to the list of the ones we're
        ///     responsible for; will create the list if it hasn't alread been created.
        /// </summary>
        internal RecordStateScratchpad CreateRecordStateScratchpad()
        {
            var recordStateScratchpad = new RecordStateScratchpad();

            if (null == _recordStateScratchpads)
            {
                _recordStateScratchpads = new List<RecordStateScratchpad>();
            }
            _recordStateScratchpads.Add(recordStateScratchpad);
            return recordStateScratchpad;
        }