Last change
on this file since 5850 was
4585,
checked in by gschwarz, 14 years ago
|
#1198 Authentication implemented with GetDateTimeString only for User: Gerhard
|
File size:
713 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using Microsoft.Practices.ObjectBuilder;
|
---|
5 | using Microsoft.Practices.CompositeWeb;
|
---|
6 | using System.Security.Permissions;
|
---|
7 |
|
---|
8 | namespace OKB.Administration.Views
|
---|
9 | {
|
---|
10 | public class DefaultViewPresenter : Presenter<IDefaultView>
|
---|
11 | {
|
---|
12 | private IAdministrationController _controller;
|
---|
13 |
|
---|
14 | public DefaultViewPresenter([CreateNew] IAdministrationController controller)
|
---|
15 | {
|
---|
16 | this._controller = controller;
|
---|
17 | }
|
---|
18 | [PrincipalPermission(SecurityAction.Demand, Name = "Gerhard")]
|
---|
19 | public string GetDateTimeString()
|
---|
20 | {
|
---|
21 | return _controller.GetDateTimeString();
|
---|
22 | }
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.