5 // Peter Van Isacker (sclytrack@planetinternet.be)
\r
6 // Rafael Teixeira (rafaelteixeirabr@hotmail.com)
\r
8 // (C) 2003 Peter Van Isacker
\r
12 // Permission is hereby granted, free of charge, to any person obtaining
\r
13 // a copy of this software and associated documentation files (the
\r
14 // "Software"), to deal in the Software without restriction, including
\r
15 // without limitation the rights to use, copy, modify, merge, publish,
\r
16 // distribute, sublicense, and/or sell copies of the Software, and to
\r
17 // permit persons to whom the Software is furnished to do so, subject to
\r
18 // the following conditions:
\r
20 // The above copyright notice and this permission notice shall be
\r
21 // included in all copies or substantial portions of the Software.
\r
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
24 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
25 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
26 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
\r
27 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
\r
28 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
\r
29 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\r
33 namespace System.Messaging
\r
35 public class Trustee
\r
41 this.systemName = null;
\r
42 this.trusteeType = TrusteeType.Unknown;
\r
45 [MonoTODO("What about systemName?")]
\r
46 public Trustee(string name)
\r
49 this.systemName = null;
\r
50 this.trusteeType = TrusteeType.Unknown;
\r
53 private string name;
\r
54 private string systemName;
\r
55 private TrusteeType trusteeType;
\r
57 public Trustee(string name, string systemName)
\r
60 this.systemName = systemName;
\r
61 this.trusteeType = TrusteeType.Unknown;
\r
64 public Trustee(string name, string systemName, TrusteeType trusteeType)
\r
67 this.systemName = systemName;
\r
68 this.trusteeType = trusteeType;
\r
73 get { return name; }
\r
74 set { name = value;}
\r
77 public string SystemName
\r
79 get { return systemName; }
\r
80 set { systemName = value;}
\r
83 public TrusteeType TrusteeType
\r
85 get { return trusteeType; }
\r
86 set { trusteeType = value;}
\r