public void Defaults ()
		{
			WorkflowRuntimeSection s = new WorkflowRuntimeSection ();
			Assert.AreEqual ("", s.Name, "A1");
			Assert.AreEqual (true, s.ValidateOnCreate, "A2");
			Assert.AreEqual (new NameValueConfigurationCollection(), s.CommonParameters, "A3");
			Assert.AreEqual (new WorkflowRuntimeServiceElementCollection(), s.Services, "A4");
		}
        public void Defaults()
        {
            WorkflowRuntimeSection s = new WorkflowRuntimeSection();

            Assert.AreEqual("", s.Name, "A1");
            Assert.AreEqual(true, s.ValidateOnCreate, "A2");
            Assert.AreEqual(new NameValueConfigurationCollection(), s.CommonParameters, "A3");
            Assert.AreEqual(new WorkflowRuntimeServiceElementCollection(), s.Services, "A4");
        }
        WorkflowRuntimeSection CreateWorkflowRuntimeSection()
        {
            if (wrtSection == null)
            {
                wrtSection = new WorkflowRuntimeSection();
                wrtSection.Name = this.Name;
                wrtSection.ValidateOnCreate = false;
                wrtSection.EnablePerformanceCounters = this.EnablePerformanceCounters;

                foreach (WorkflowRuntimeServiceElement wrtSvcElement in this.Services)
                {
                    wrtSection.Services.Add(wrtSvcElement);
                }

                foreach (NameValueConfigurationElement nameValueElement in this.CommonParameters)
                {
                    wrtSection.CommonParameters.Add(nameValueElement);
                }
            }
            return wrtSection;
        }