[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel LicenseContext
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel LicenseContext.cs,NONE,1.1 |
Date: |
Fri, 23 May 2003 20:42:37 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/ComponentModel
In directory subversions:/tmp/cvs-serv8616/System/ComponentModel
Added Files:
LicenseContext.cs
Log Message:
Implement missing classes in the "System.ComponentModel.Design" namespace.
--- NEW FILE ---
/*
* LicenseContext.cs - Implementation of the
* "System.ComponentModel.LicenseContext" 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.ComponentModel
{
#if !ECMA_COMPAT
using System;
using System.Reflection;
public class LicenseContext : IServiceProvider
{
// Constructor.
public LicenseContext() {}
// Get the license usage mode.
public virtual LicenseUsageMode UsageMode
{
get
{
return LicenseUsageMode.Runtime;
}
}
// Get the saved form of a license key.
public virtual String GetSavedLicenseKey
(Type type, Assembly resourceAssembly)
{
// Nothing to do here in the base class.
return null;
}
// Implement the IServiceProvider interface.
public virtual Object GetService(Type type)
{
// Nothing to do here in the base class.
return null;
}
// Set the license key for a specific type.
public virtual void SetSavedLicenseKey(Type type, String key)
{
// Nothing to do here in the base class.
}
}; // class LicenseContext
#endif // !ECMA_COMPAT
}; // namespace System.ComponentModel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel LicenseContext.cs,NONE,1.1,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.913,1.914
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel/Design ActiveDesignerEventArgs.cs,NONE,1.1ActiveDesignerEventHandler.cs,NONE,1.1 CheckoutException.cs,NONE,1.1 CommandID.cs,NONE,1.1 ComponentChangedEventArgs.cs,NONE,1.1 ComponentChangedEventHandler.cs,NONE,1.1 ComponentChangingEventArgs.cs,NONE,1.1 ComponentChangingEventHandler.cs,NONE,1.1 ComponentEventArgs.cs,NONE,1.1 ComponentEventHandler.cs,NONE,1.1 ComponentRenameEventArgs.cs,NONE,1.1 ComponentRenameEventHandler.cs,NONE,1.1 DesignerCollection.cs,NONE,1.1 DesignerEventArgs.cs,NONE,1.1 DesignerEventHandler.cs,NONE,1.1 DesignerTransactionCloseEventArgs.cs,NONE,1.1 DesignerTransactionCloseEventHandler.cs,NONE,1.1 DesignerVerb.cs,NONE,1.1 DesignerVerbCollection.cs,NONE,1.1 DesigntimeLicenseContext.cs,NONE,1.1 DesigntimeLicenseContextSerializer.cs,NONE,1.1 HelpContextType.cs,NONE,1.1 HelpKeywordType.cs,NONE,1.1 IComponentChangeService.cs,NONE,1.1 IDesignerEventService.cs,NONE,1.1 IDesignerFilter.cs,NONE,1.1 IDesignerOptionService.cs,NONE,1.1 IDictionaryService.cs,NONE,1.1 IEventBindingService.cs,NONE,1.1 IExtendedListService.cs,NONE,1.1 IExtenderProviderService.cs,NONE,1.1 IHelpService.cs,NONE,1.1 IMenuCommandService.cs,NONE,1.1 IReferenceService.cs,NONE,1.1 IResourceService.cs,NONE,1.1 IRootDesigner.cs,NONE,1.1 ISelectionService.cs,NONE,1.1ITypeDescriptorFilterService.cs,NONE,1.1 ITypeResolutionService.cs,NONE,1.1 MenuCommand.cs,NONE,1.1 SelectionTypes.cs,NONE,1.1 ServiceContainer.cs,NONE,1.1 StandardCommands.cs,NONE,1.1 StandardToolWindows.cs,NONE,1.1 ViewTechnology.cs,NONE,1.1 DesignerTransaction.cs,1.2,1.3 IDesigner.cs,1.1,1.2 IDesignerHost.cs,1.1,1.2 IServiceContainer.cs,1.2,1.3 Makefile,1.1,1.2 ServiceCreatorCallback.cs,1.1,1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.913,1.914
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel/Design ActiveDesignerEventArgs.cs,NONE,1.1ActiveDesignerEventHandler.cs,NONE,1.1 CheckoutException.cs,NONE,1.1 CommandID.cs,NONE,1.1 ComponentChangedEventArgs.cs,NONE,1.1 ComponentChangedEventHandler.cs,NONE,1.1 ComponentChangingEventArgs.cs,NONE,1.1 ComponentChangingEventHandler.cs,NONE,1.1 ComponentEventArgs.cs,NONE,1.1 ComponentEventHandler.cs,NONE,1.1 ComponentRenameEventArgs.cs,NONE,1.1 ComponentRenameEventHandler.cs,NONE,1.1 DesignerCollection.cs,NONE,1.1 DesignerEventArgs.cs,NONE,1.1 DesignerEventHandler.cs,NONE,1.1 DesignerTransactionCloseEventArgs.cs,NONE,1.1 DesignerTransactionCloseEventHandler.cs,NONE,1.1 DesignerVerb.cs,NONE,1.1 DesignerVerbCollection.cs,NONE,1.1 DesigntimeLicenseContext.cs,NONE,1.1 DesigntimeLicenseContextSerializer.cs,NONE,1.1 HelpContextType.cs,NONE,1.1 HelpKeywordType.cs,NONE,1.1 IComponentChangeService.cs,NONE,1.1 IDesignerEventService.cs,NONE,1.1 IDesignerFilter.cs,NONE,1.1 IDesignerOptionService.cs,NONE,1.1 IDictionaryService.cs,NONE,1.1 IEventBindingService.cs,NONE,1.1 IExtendedListService.cs,NONE,1.1 IExtenderProviderService.cs,NONE,1.1 IHelpService.cs,NONE,1.1 IMenuCommandService.cs,NONE,1.1 IReferenceService.cs,NONE,1.1 IResourceService.cs,NONE,1.1 IRootDesigner.cs,NONE,1.1 ISelectionService.cs,NONE,1.1ITypeDescriptorFilterService.cs,NONE,1.1 ITypeResolutionService.cs,NONE,1.1 MenuCommand.cs,NONE,1.1 SelectionTypes.cs,NONE,1.1 ServiceContainer.cs,NONE,1.1 StandardCommands.cs,NONE,1.1 StandardToolWindows.cs,NONE,1.1 ViewTechnology.cs,NONE,1.1 DesignerTransaction.cs,1.2,1.3 IDesigner.cs,1.1,1.2 IDesignerHost.cs,1.1,1.2 IServiceContainer.cs,1.2,1.3 Makefile,1.1,1.2 ServiceCreatorCallback.cs,1.1,1.2
- Index(es):