dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/runtime/System/Security/Policy ProvideAsse


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/runtime/System/Security/Policy ProvideAssemblyEvidenceEventArgs.cs, NONE, 1.1
Date: Mon, 03 Nov 2003 12:51:48 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Policy
In directory subversions:/tmp/cvs-serv28468/runtime/System/Security/Policy

Added Files:
        ProvideAssemblyEvidenceEventArgs.cs 
Log Message:


Add some new .NET Framework 1.2 classes in the "System" namespace.


--- NEW FILE: ProvideAssemblyEvidenceEventArgs.cs ---
/*
 * ProvideAssemblyEvidenceEventArgs.cs - Implementation of the
 *                      
"System.Security.Policy.ProvideAssemblyEvidenceEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Security.Policy
{

#if CONFIG_POLICY_OBJECTS

using System.Reflection;

// Framework 1.2
public class ProvideAssemblyEvidenceEventArgs : EventArgs
{
        // Internal state.
        private Assembly assembly;
        private Evidence evidence;

        // Constructor.
        public ProvideAssemblyEvidenceEventArgs(Assembly a, Evidence e)
                        {
                                this.assembly = a;
                                this.evidence = e;
                        }

        // Get this object's properties.
        public Assembly Assembly
                        {
                                get
                                {
                                        return assembly;
                                }
                        }
        public Evidence Evidence
                        {
                                get
                                {
                                        return evidence;
                                }
                        }

}; // class ProvideAssemblyEvidenceEventArgs

#endif // CONFIG_POLICY_OBJECTS

}; // namespace System.Security.Policy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]