System.Web.UI.TemplateControlParser.GetCompiledInstance C# (CSharp) Method

GetCompiledInstance() private method

private GetCompiledInstance ( ) : object
return object
		internal object GetCompiledInstance ()
		{
			Type type = CompileIntoType ();
			if (type == null)
				return null;

			object ctrl = Activator.CreateInstance (type);
			if (ctrl == null)
				return null;

			HandleOptions (ctrl);
			return ctrl;
		}