PageRenderTime 41ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/examples/ioc/CarLibrary4/Person.cs

http://github.com/philiplaureano/LinFu
C# | 43 lines | 38 code | 5 blank | 0 comment | 0 complexity | a29a9f374e1b3e8bfb5d8fa424e4c718 MD5 | raw file
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4
 5using LinFu.IoC;
 6using LinFu.IoC.Configuration;
 7using LinFu.IoC.Interfaces;
 8
 9namespace CarLibrary3
10{
11    public class Person : IPerson
12    {
13        private string _name;
14        private int _age;
15        #region IPerson Members
16
17        public string Name
18        {
19            get
20            {
21                return _name;
22            }
23            set
24            {
25                _name = value;
26            }
27        }
28
29        public int Age
30        {
31            get
32            {
33                return _age;
34            }
35            set
36            {
37                _age = value;
38            }
39        }
40
41        #endregion
42    }
43}