Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Samples / MindDump / Castle.Applications.MindDump / Model / Author.cs
blob2f9cee866be663e23029aecfbac46289cf1286d1
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.Applications.MindDump.Model
17 using System;
18 using System.Collections;
21 public class Author
23 private long _id;
24 private string _name;
25 private string _login;
26 private string _password;
27 private IList _blogs;
29 public Author()
33 public Author(string name, string login, string password)
35 _name = name;
36 _login = login;
37 _password = password;
40 public long Id
42 get { return _id; }
43 set { _id = value; }
46 public string Name
48 get { return _name; }
49 set { _name = value; }
52 public string Login
54 get { return _login; }
55 set { _login = value; }
58 public string Password
60 get { return _password; }
61 set { _password = value; }
64 public IList Blogs
66 get { return _blogs; }
67 set { _blogs = value; }