Inheritance: IMyTask
Esempio n. 1
0
        public ActionResult Index()
        {
            var domainObject = new MyDomainObject();
            var task = new MyTask();

            task.DoSomething(domainObject);

            return View();
        }
Esempio n. 2
0
        public MainWindow()
        {
            InitializeComponent();

            var domainObject = new MyDomainObject();
            var task = new MyTask();

            task.DoSomething(domainObject);
        }