Changeset 4478
- Timestamp:
- 09/23/10 20:06:56 (14 years ago)
- Location:
- branches/WebApplication
- Files:
-
- 85 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/Administration.Tests/Mocks/MockAdministrationController.cs
r4476 r4478 8 8 public class MockAdministrationController : IAdministrationController 9 9 { 10 #region IAdministrationController Members 11 12 public string GetDateTimeString() 13 { 14 throw new NotImplementedException(); 15 } 16 17 #endregion 10 18 } 11 19 } -
branches/WebApplication/Administration.Tests/Views/DefaultViewPresenterFixture.cs
r4476 r4478 65 65 { 66 66 67 #region IDefaultView Members 68 69 public string GetDateTimeString() 70 { 71 throw new NotImplementedException(); 72 } 73 74 #endregion 67 75 } 68 76 } -
branches/WebApplication/Administration/AdministrationController.cs
r4476 r4478 8 8 { 9 9 } 10 11 12 #region IAdministrationController Members 13 14 public string GetDateTimeString() 15 { 16 return DateTime.Now.ToString(); 17 } 18 19 #endregion 10 20 } 11 21 } -
branches/WebApplication/Administration/IAdministrationController.cs
r4476 r4478 5 5 public interface IAdministrationController 6 6 { 7 string GetDateTimeString(); 7 8 } 8 9 } -
branches/WebApplication/Administration/Views/DefaultViewPresenter.cs
r4476 r4478 15 15 this._controller = controller; 16 16 } 17 18 public string GetDateTimeString() 19 { 20 return _controller.GetDateTimeString(); 21 } 17 22 } 18 23 } -
branches/WebApplication/WebSites/OKB/Administration/Default.aspx
r4476 r4478 5 5 <p style="margin-bottom:100px"> 6 6 Here ist the content.</p> 7 <asp:Button ID="GetDateTimeButton" runat="server" Text="Get DateTime" 8 onclick="GetDateTimeButton_Click" /><asp:Label ID="ResultLabel" runat="server"></asp:Label> 7 9 </asp:Content> 8 10 -
branches/WebApplication/WebSites/OKB/Administration/Default.aspx.cs
r4476 r4478 35 35 this._presenter.View = this; 36 36 } 37 } 38 } 37 } 38 39 protected void GetDateTimeButton_Click(object sender, EventArgs e) 40 { 41 ResultLabel.Text = _presenter.GetDateTimeString(); 42 } 39 43 } 44 }
Note: See TracChangeset
for help on using the changeset viewer.