System.Web.Compilation.TemplateControlCompiler.AddApplicationAndSessionObjects C# (CSharp) Method

AddApplicationAndSessionObjects() protected method

protected AddApplicationAndSessionObjects ( ) : void
return void
		protected override void AddApplicationAndSessionObjects ()
		{
			foreach (ObjectTagBuilder tag in GlobalAsaxCompiler.ApplicationObjects) {
				CreateFieldForObject (tag.Type, tag.ObjectID);
				CreateApplicationOrSessionPropertyForObject (tag.Type, tag.ObjectID, true, false);
			}

			foreach (ObjectTagBuilder tag in GlobalAsaxCompiler.SessionObjects) {
				CreateApplicationOrSessionPropertyForObject (tag.Type, tag.ObjectID, false, false);
			}
		}
TemplateControlCompiler