1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Collections.Generic; 6 7 namespace System.Security.Policy 8 { 9 [Serializable] 10 public sealed partial class ApplicationTrust : EvidenceBase, ISecurityEncodable 11 { ApplicationTrust()12 public ApplicationTrust() { } ApplicationTrust(ApplicationIdentity identity)13 public ApplicationTrust(ApplicationIdentity identity) { } ApplicationTrust(PermissionSet defaultGrantSet, IEnumerable<StrongName> fullTrustAssemblies)14 public ApplicationTrust(PermissionSet defaultGrantSet, IEnumerable<StrongName> fullTrustAssemblies) { } 15 public ApplicationIdentity ApplicationIdentity { get; set; } 16 public PolicyStatement DefaultGrantSet { get; set; } 17 public object ExtraInfo { get; set; } 18 public IList<StrongName> FullTrustAssemblies { get { return default(IList<StrongName>); } } 19 public bool IsApplicationTrustedToRun { get; set; } 20 public bool Persist { get; set; } FromXml(SecurityElement element)21 public void FromXml(SecurityElement element) { } ToXml()22 public SecurityElement ToXml() { return default(SecurityElement); } 23 } 24 } 25