Skip to Content
Programming .NET Security
book

Programming .NET Security

by Adam Freeman, Allen Jones
June 2003
Intermediate to advanced
714 pages
22h 8m
English
O'Reilly Media, Inc.
Content preview from Programming .NET Security

Name

CodeGroup

Synopsis

public abstract class CodeGroup {
// Public Constructors
   public CodeGroup(IMembershipCondition membershipCondition, PolicyStatement policy);
// Public Instance Properties
   public virtual string AttributeString{get; }
   public IList Children{set; get; }
   public string Description{set; get; }
   public IMembershipCondition MembershipCondition{set; get; }
   public abstract string MergeLogic{get; }
   public string Name{set; get; }
   public virtual string PermissionSetName{get; }
   public PolicyStatement PolicyStatement{set; get; }
// Public Instance Methods
   public void AddChild(CodeGroup group);
   public abstract CodeGroup Copy(  );
   public bool Equals(CodeGroup cg, bool compareChildren);
   public override bool Equals(object o);        
// overrides object
   public void FromXml(System.Security.SecurityElement e);
   public void FromXml(System.Security.SecurityElement e, PolicyLevel level);
   public override int GetHashCode(  );    
// overrides object
   public void RemoveChild(CodeGroup group);
   public abstract PolicyStatement Resolve(Evidence evidence);
   public abstract CodeGroup ResolveMatchingCodeGroups(Evidence evidence);
   public SecurityElement ToXml(  );
   public SecurityElement ToXml(PolicyLevel level);
// Protected Instance Methods
   protected virtual void CreateXml(System.Security.SecurityElement element, PolicyLevel level);
   protected virtual void ParseXml(System.Security.SecurityElement e, PolicyLevel level);
}

The abstract CodeGroup class provides the base class from which all concrete code group classes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET Framework Security

.NET Framework Security

Brian A. LaMacchia, Sebastian Lange, Matthew Lyons, Rudi Martin, Kevin T. Price
.NET Security and Cryptography

.NET Security and Cryptography

Peter Thorsteinson, G. Gnana Arun Ganesh
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz

Publisher Resources

ISBN: 0596004427Supplemental ContentErrata Page