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

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

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServic


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServices/Expando IExpando.cs,NONE,1.1
Date: Thu, 09 Jan 2003 18:22:34 -0500

Update of 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/Expando
In directory 
subversions:/tmp/cvs-serv8850/runtime/System/Runtime/InteropServices/Expando

Added Files:
        IExpando.cs 
Log Message:


Add the "IExpando" class, which is needed for JScript.


--- NEW FILE ---
/*
 * IExpando.cs - Implementation of the
 *                      "System.Runtime.InteropServices.Expando.IExpando" 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.Runtime.InteropServices.Expando
{

using System.Reflection;

#if !ECMA_COMPAT

public interface IExpando
{

        // Add a new field.
        FieldInfo AddField(String name);

        // Add a new method.
        MethodInfo AddMethod(String name, Delegate method);

        // Add a new property.
        PropertyInfo AddProperty(String name);

        // Remove a member.
        void RemoveMember(MemberInfo m);

}; // interface IExpando

#endif // !ECMA_COMPAT

}; // namespace System.Runtime.InteropServices.Expando





reply via email to

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