SPRNET-843 - second attempt at solution templates, now conforming to project layout expected by Solution Factory add-in!

This commit is contained in:
markpollack
2009-07-31 18:31:22 +00:00
parent acaab749d6
commit 0ba232a918
64 changed files with 2868 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Web.UI;
/// <summary>
/// Notice that you don't need to extend Spring.Web.UI.Page for DI features!
/// </summary>
public partial class DI_HelloWorld_Default : System.Web.UI.Page
{
private string message;
public string Message
{
get { return this.message; }
set { this.message = value; }
}
/// <summary>
/// Values are injected right before OnInit() is called.
/// </summary>
/// <param name="e"></param>
protected override void OnInit(EventArgs e)
{
if(this.Message == null)
{
throw new ArgumentNullException("Message");
}
base.OnInit(e);
}
}