DataDictionary.Generated.Dictionary.appendTests C# (CSharp) Method

appendTests() public method

Part of the list interface for Tests
public appendTests ( Frame el ) : void
el Frame a Frame to add to the collection in /// Tests
return void
        public void appendTests(Frame el)
        {
            __setDirty(true);
              el.__setDirty(true);
              allTests().Add(el);
              acceptor.connectSon (this, el);
            NotifyControllers(null);
        }

Same methods

Dictionary::appendTests ( Lock aLock, Frame el ) : void
Dictionary::appendTests ( System coll ) : void
Dictionary::appendTests ( System coll, Lock aLock ) : void

Usage Example

        /// <summary>
        ///     Creates a test frame in the enclosing dictionary
        /// </summary>
        /// <param name="enclosing"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        protected Frame CreateTestFrame(Dictionary enclosing, string name)
        {
            Frame retVal = (Frame) Factory.createFrame();
            enclosing.appendTests(retVal);
            retVal.Name = name;

            return retVal;
        }