Last change
on this file since 5991 was
4585,
checked in by gschwarz, 14 years ago
|
#1198 Authentication implemented with GetDateTimeString only for User: Gerhard
|
File size:
713 bytes
|
Rev | Line | |
---|
[4476] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
| 4 | using Microsoft.Practices.ObjectBuilder;
|
---|
| 5 | using Microsoft.Practices.CompositeWeb;
|
---|
[4585] | 6 | using System.Security.Permissions;
|
---|
[4476] | 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 | }
|
---|
[4585] | 18 | [PrincipalPermission(SecurityAction.Demand, Name = "Gerhard")]
|
---|
[4478] | 19 | public string GetDateTimeString()
|
---|
| 20 | {
|
---|
| 21 | return _controller.GetDateTimeString();
|
---|
| 22 | }
|
---|
[4476] | 23 | }
|
---|
| 24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.