[corlib] Restore UTF8 as the default encoding for XI and XM [#29928]
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks.Deployment.ManifestUtilities / TrustInfo.cs
1 //
2 // TrustInfo.cs
3 //
4 // Author:
5 //   Marek Sieradzki (marek.sieradzki@gmail.com)
6 //
7 // (C) 2006 Marek Sieradzki
8 //
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
16 //
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 //
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
28
29 using System;
30 using System.Security;
31 using System.IO;
32 using System.Runtime.InteropServices;
33 using Microsoft.Build.Framework;
34
35 namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
36         
37         [ComVisible (false)]
38         public sealed class TrustInfo {
39         
40                 bool            hasUnmanagedCodePermission;
41                 bool            isFullTrust;
42                 PermissionSet   permissionSet;
43                 bool            preserveFullTrustPermissionSet;
44                 string          sameSiteAccess;
45         
46                 [MonoTODO]
47                 public TrustInfo ()
48                 {
49                         throw new NotImplementedException ();
50                 }
51                 
52                 [MonoTODO]
53                 public void Clear ()
54                 {
55                         throw new NotImplementedException ();
56                 }
57                 
58                 [MonoTODO]
59                 public void Read (Stream input)
60                 {
61                         throw new NotImplementedException ();
62                 }
63                 
64                 [MonoTODO]
65                 public void Read (string path)
66                 {
67                         throw new NotImplementedException ();
68                 }
69                 
70                 [MonoTODO]
71                 public void ReadManifest (Stream input)
72                 {
73                         throw new NotImplementedException ();
74                 }
75                 
76                 [MonoTODO]
77                 public void ReadManifest (string path)
78                 {
79                         throw new NotImplementedException ();
80                 }
81                 
82                 [MonoTODO]
83                 public override string ToString ()
84                 {
85                         throw new NotImplementedException ();
86                 }
87                 
88                 [MonoTODO]
89                 public void Write (Stream output)
90                 {
91                         throw new NotImplementedException ();
92                 }
93                 
94                 [MonoTODO]
95                 public void Write (string path)
96                 {
97                         throw new NotImplementedException ();
98                 }
99                 
100                 [MonoTODO]
101                 public void WriteManifest (Stream output)
102                 {
103                         throw new NotImplementedException ();
104                 }
105                 
106                 [MonoTODO]
107                 public void WriteManifest (string path)
108                 {
109                         throw new NotImplementedException ();
110                 }
111                 
112                 [MonoTODO]
113                 public void WriteManifest (Stream input, Stream output)
114                 {
115                         throw new NotImplementedException ();
116                 }
117                 
118                 [MonoTODO]
119                 public bool HasUnmanagedCodePermission {
120                         get { return hasUnmanagedCodePermission; }
121                 }
122                 
123                 [MonoTODO]
124                 public bool IsFullTrust {
125                         get { return isFullTrust; }
126                         set { isFullTrust = value; }
127                 }
128                 
129                 [MonoTODO]
130                 public PermissionSet PermissionSet {
131                         get { return permissionSet; }
132                         set { permissionSet = value; }
133                 }
134                 
135                 [MonoTODO]
136                 public bool PreserveFullTrustPermissionSet {
137                         get { return preserveFullTrustPermissionSet; }
138                         set { preserveFullTrustPermissionSet = value; }
139                 }
140                 
141                 [MonoTODO]
142                 public string SameSiteAccess {
143                         get { return sameSiteAccess; }
144                         set { sameSiteAccess = value; }
145                 }
146         }
147 }
148