From f5bae7ba48be124822049905201bc1b52b078039 Mon Sep 17 00:00:00 2001 From: olivier-spinelli Date: Wed, 30 May 2012 10:41:37 +0200 Subject: [PATCH] - Updated licences. --- CK-Core.Tests.VisualState.xml | 72 +- CK.Context/Context.cs | 25 +- .../EventArgs/ApplicationExitEventArgs.cs | 4 +- .../EventArgs/ApplicationExitingEventArgs.cs | 3 +- CK.Context/EventArgs/ContextEventArgs.cs | 2 +- .../ContextProfileRequiredEventArgs.cs | 4 +- CK.Context/Host/AbstractContextHost.cs | 25 +- CK.Context/Host/IHostInformation.cs | 25 +- CK.Context/IContext.cs | 25 +- CK.Context/Properties/AssemblyInfo.cs | 25 +- CK.Core/ActionSequence/ActionSequence.cs | 2 +- .../ActionSequence/ActionSequenceExtension.cs | 2 +- CK.Core/ActionSequence/IActionSequence.cs | 2 +- .../ActivityLogGroupConclusion.cs | 25 +- CK.Core/ActivityLogger/ActivityLoggerEmpty.cs | 68 + CK.Core/ActivityLogger/IActivityLogGroup.cs | 25 +- CK.Core/ActivityLogger/IActivityLogger.cs | 32 +- .../ActivityLogger/IActivityLoggerClient.cs | 25 +- .../IActivityLoggerClientBase.cs | 25 +- .../IActivityLoggerClientRegistrar.cs | 25 +- .../ActivityLogger/IActivityLoggerOutput.cs | 25 +- .../IMuxActivityLoggerClient.cs | 25 +- .../IMuxActivityLoggerRegistrar.cs | 25 +- .../{ => Impl}/ActivityLogger.cs | 85 +- .../{ => Impl}/ActivityLoggerConsoleSync.cs | 25 +- .../{ => Impl}/ActivityLoggerErrorCounter.cs | 25 +- .../{ => Impl}/ActivityLoggerExtension.cs | 2763 +++++++++-------- .../{ => Impl}/ActivityLoggerHybridClient.cs | 25 +- .../{ => Impl}/ActivityLoggerOutput.cs | 25 +- .../{ => Impl}/ActivityLoggerPathCatcher.cs | 25 +- .../{ => Impl}/ActivityLoggerTap.cs | 25 +- .../{ => Impl}/DefaultActivityLogger.cs | 263 +- .../{ => Impl}/IActivityLoggerSink.cs | 25 +- .../{ => Impl}/IDefaultActivityLogger.cs | 25 +- .../MuxActivityLoggerClientDemux.cs | 25 +- .../{ => Impl}/MuxActivityLoggerHub.cs | 25 +- CK.Core/ActivityLogger/LogLevel.cs | 24 +- CK.Core/ActivityLogger/LogLevelFilter.cs | 24 +- CK.Core/CK.Core.csproj | 38 +- CK.Core/CKException.cs | 2 +- CK.Core/ChangeStatus.cs | 4 +- CK.Core/CollectionExtension.cs | 6 +- .../ComponentModel/ComponentModelExtension.cs | 4 +- .../ComponentModel/ISimpleServiceContainer.cs | 2 +- CK.Core/ComponentModel/ISimpleTypeFinder.cs | 4 +- CK.Core/ComponentModel/ISimpleTypeNaming.cs | 2 +- .../ObservableSortedArrayKeyList.cs | 25 +- .../ObservableSortedArrayList.cs | 25 +- .../ComponentModel/SimpleServiceContainer.cs | 2 +- CK.Core/ComponentModel/SimpleTypeFinder.cs | 4 +- CK.Core/ComponentModel/SortedArrayKeyList.cs | 25 +- CK.Core/ComponentModel/SortedArrayList.cs | 25 +- CK.Core/DictionaryExtension.cs | 4 +- CK.Core/EnumerableExtension.cs | 4 +- CK.Core/FIFOBuffer.cs | 25 +- CK.Core/File/FileUtil.cs | 4 +- CK.Core/File/TemporaryFile.cs | 7 +- CK.Core/IFluentInterface.cs | 4 +- CK.Core/IMergeable.cs | 4 +- CK.Core/IObservableReadOnlyCollection.cs | 25 +- CK.Core/IObservableReadOnlyList.cs | 25 +- CK.Core/IReadOnlyCollection.cs | 2 +- CK.Core/IReadOnlyList.cs | 2 +- CK.Core/IReadOnlyMultiKeyedCollection.cs | 4 +- CK.Core/IReadOnlyUniqueKeyedCollection.cs | 4 +- CK.Core/ISimpleErrorMessage.cs | 25 +- CK.Core/IWritableCollection.cs | 25 +- CK.Core/IWritableCollector.cs | 25 +- CK.Core/Impl/Collections/Adapter.cs | 2 +- .../Collections/CollectionDebuggerView.cs | 25 +- CK.Core/Impl/Collections/EnumMono.cs | 2 +- .../Impl/Collections/EnumerableConverter.cs | 2 +- CK.Core/Impl/Collections/EnumeratorEmpty.cs | 4 +- .../ReadOnlyCollectionOnICollection.cs | 2 +- .../Collections/ReadOnlyCollectionOnISet.cs | 4 +- .../ReadOnlyCollectionTypeConverter.cs | 4 +- CK.Core/Impl/Collections/ReadOnlyListEmpty.cs | 2 +- CK.Core/Impl/Collections/ReadOnlyListMono.cs | 2 +- .../Impl/Collections/ReadOnlyListOnIList.cs | 2 +- CK.Core/Impl/Collections/Wrapper.cs | 2 +- CK.Core/Impl/ReadOnlyExtension.cs | 4 +- CK.Core/InvalidFileException.cs | 2 +- CK.Core/MissingDisposeCallSentinel.cs | 186 -- CK.Core/OSVersionInfo.cs | 25 +- CK.Core/Properties/AssemblyInfo.cs | 2 +- CK.Core/SimpleErrorMessage.cs | 25 +- CK.Core/UniqueId/INamedVersionedUniqueId.cs | 25 +- CK.Core/UniqueId/IUniqueId.cs | 25 +- CK.Core/UniqueId/IVersionedUniqueId.cs | 25 +- .../UniqueId/SimpleNamedVersionedUniqueId.cs | 25 +- CK.Core/UniqueId/SimpleUniqueId.cs | 25 +- CK.Core/UniqueId/SimpleVersionedUniqueId.cs | 25 +- CK.Core/Uri/UriExtension.cs | 25 +- CK.Core/Uri/UriHelper.cs | 25 +- CK.Core/Util.Converter.cs | 4 +- CK.Core/Util.Hash.cs | 4 +- CK.Core/Util.Math.cs | 4 +- CK.Core/Util.cs | 4 +- CK.Core/WeakReference.cs | 5 +- CK.Core/XmlExtension.cs | 2 +- CK.Interop/Api/DesktopWindowManager.cs | 25 +- CK.Interop/Api/Win.cs | 25 +- CK.Interop/DllImportAttribute.cs | 25 +- CK.Interop/NativeDllAttribute.cs | 25 +- CK.Interop/PInvoker.cs | 25 +- CK.Interop/Properties/AssemblyInfo.cs | 25 +- CK.MultiTrait/MultiTrait.cs | 6 +- CK.MultiTrait/MultiTraitContext.cs | 25 +- CK.MultiTrait/Properties/AssemblyInfo.cs | 25 +- .../ConfigChangedEventArgs.cs | 2 +- CK.Plugin.Config.Model/ConfigExtension.cs | 4 +- CK.Plugin.Config.Model/ConfigPluginStatus.cs | 4 +- .../ConfigurationAccessorAttribute.cs | 4 +- CK.Plugin.Config.Model/IConfigContainer.cs | 2 +- CK.Plugin.Config.Model/IConfigEntry.cs | 2 +- CK.Plugin.Config.Model/IConfigObjectEntry.cs | 2 +- CK.Plugin.Config.Model/IConfigPluginEntry.cs | 2 +- .../IObjectPluginAssociation.cs | 2 +- CK.Plugin.Config.Model/IObjectPluginConfig.cs | 2 +- CK.Plugin.Config.Model/IObjectScopeTracker.cs | 25 +- .../IPluginConfigAccessor.cs | 5 +- .../Properties/AssemblyInfo.cs | 25 +- CK.Plugin.Config/ConfigurationManager.cs | 25 +- .../CollectionElementChangedEventArgs.cs | 25 +- CK.Plugin.Config/IConfigManager.cs | 4 +- CK.Plugin.Config/IConfigManagerExtended.cs | 4 +- .../ISolvedPluginConfiguration.cs | 4 +- .../Impl/Collections/LiveUserAction.cs | 25 +- .../Impl/Collections/LiveUserConfiguration.cs | 4 +- .../Impl/Collections/PluginStatus.cs | 25 +- .../Collections/PluginStatusCollection.cs | 25 +- .../Impl/Collections/UriHistory.cs | 4 +- .../Impl/Collections/UriHistoryCollection.cs | 4 +- CK.Plugin.Config/Impl/ConfigManagerImpl.cs | 4 +- CK.Plugin.Config/Impl/ConfigurationBase.cs | 25 +- .../Impl/RequirementLayerSerializer.cs | 25 +- .../Impl/SolvedPluginConfiguration.cs | 25 +- CK.Plugin.Config/Impl/SystemConfiguration.cs | 4 +- CK.Plugin.Config/Impl/UserConfiguration.cs | 25 +- CK.Plugin.Config/Properties/AssemblyInfo.cs | 25 +- CK.Plugin.Config/SolvedPluginConfigElement.cs | 4 +- .../UserAndSystemConfig/IPluginStatus.cs | 25 +- .../IPluginStatusCollection.cs | 25 +- .../ISystemConfiguration.cs | 4 +- .../UserAndSystemConfig/IUriHistory.cs | 5 +- .../IUriHistoryCollection.cs | 4 +- .../UserAndSystemConfig/IUserConfiguration.cs | 24 +- .../LiveConfiguration/ConfigUserAction.cs | 6 +- .../LiveConfiguration/ILiveUserAction.cs | 24 +- .../ILiveUserConfiguration.cs | 25 +- .../LiveUserConfigurationChangedEventArgs.cs | 25 +- .../LiveUserConfigurationChangingEventArgs.cs | 25 +- .../PluginStatusCollectionChangedEventArgs.cs | 25 +- ...PluginStatusCollectionChangingEventArgs.cs | 25 +- CK.Plugin.Discoverer.Runner/DiscoveredInfo.cs | 2 +- .../PluginAssemblyInfo.cs | 2 +- .../PluginConfigAccessorInfo.cs | 4 +- .../PluginDiscoverer.cs | 2 +- CK.Plugin.Discoverer.Runner/PluginInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../RunnerDataHolder.cs | 2 +- CK.Plugin.Discoverer.Runner/ServiceInfo.cs | 2 +- CK.Plugin.Discoverer.Runner/ServiceRefInfo.cs | 4 +- .../ServiceReferenceInfo.cs | 2 +- .../SimpleEventInfo.cs | 25 +- .../SimpleMethodInfo.cs | 25 +- .../SimpleParameterInfo.cs | 25 +- .../SimplePropertyInfo.cs | 25 +- CK.Plugin.Discoverer/DiscoveredInfo.cs | 2 +- CK.Plugin.Discoverer/PluginAssemblyInfo.cs | 2 +- .../PluginConfigAccessorInfo.cs | 4 +- CK.Plugin.Discoverer/PluginDiscoverer.cs | 2 +- CK.Plugin.Discoverer/PluginInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- CK.Plugin.Discoverer/ServiceInfo.cs | 2 +- CK.Plugin.Discoverer/ServiceReferenceInfo.cs | 2 +- CK.Plugin.Discoverer/SimpleEventInfo.cs | 25 +- CK.Plugin.Discoverer/SimpleMethodInfo.cs | 25 +- CK.Plugin.Discoverer/SimpleParameterInfo.cs | 25 +- CK.Plugin.Discoverer/SimplePropertyInfo.cs | 25 +- CK.Plugin.Host/Plugin/ExecutionPlanResult.cs | 25 +- CK.Plugin.Host/Plugin/PluginHost.cs | 25 +- CK.Plugin.Host/Plugin/PluginProxy.cs | 25 +- CK.Plugin.Host/Plugin/PluginProxyBase.cs | 25 +- CK.Plugin.Host/Properties/AssemblyInfo.cs | 25 +- .../Service/DefaultProxyDefinition.cs | 4 +- CK.Plugin.Host/Service/IProxyDefinition.cs | 4 +- CK.Plugin.Host/Service/LogEventEntry.cs | 6 +- CK.Plugin.Host/Service/LogEventEntryError.cs | 6 +- .../Service/LogEventNotRunningError.cs | 6 +- CK.Plugin.Host/Service/LogExternalEntry.cs | 6 +- .../Service/LogExternalErrorEntry.cs | 6 +- CK.Plugin.Host/Service/LogMethodEntry.cs | 6 +- CK.Plugin.Host/Service/LogMethodEntryError.cs | 6 +- CK.Plugin.Host/Service/LogMethodError.cs | 6 +- CK.Plugin.Host/Service/ProxyFactory.cs | 4 +- CK.Plugin.Host/Service/ServiceHost.cs | 6 +- CK.Plugin.Host/Service/ServiceProxyBase.cs | 4 +- .../Service/SimpleServiceHostConfiguration.cs | 25 +- CK.Plugin.Host/UseTheProxyBase.cs | 25 +- CK.Plugin.Model/ApplyDoneEventArgs.cs | 4 +- .../Discoverer/DiscoverDoneEventArgs.cs | 2 +- .../Discoverer/DiscovererExtension.cs | 24 +- CK.Plugin.Model/Discoverer/IAssemblyInfo.cs | 2 +- CK.Plugin.Model/Discoverer/IDiscoveredInfo.cs | 2 +- .../Discoverer/IPluginConfigAccessorInfo.cs | 4 +- .../Discoverer/IPluginDiscoverer.cs | 2 +- CK.Plugin.Model/Discoverer/IPluginInfo.cs | 2 +- CK.Plugin.Model/Discoverer/IServiceInfo.cs | 2 +- .../Discoverer/IServiceReferenceInfo.cs | 2 +- .../Discoverer/ISimpleEventInfo.cs | 25 +- .../Discoverer/ISimpleMethodInfo.cs | 25 +- .../Discoverer/ISimpleParameterInfo.cs | 25 +- .../Discoverer/ISimplePropertyInfo.cs | 25 +- CK.Plugin.Model/DynamicServiceAttribute.cs | 2 +- CK.Plugin.Model/Host/HostExtension.cs | 4 +- CK.Plugin.Model/Host/IExecutionPlanResult.cs | 25 +- CK.Plugin.Model/Host/IPluginHost.cs | 25 +- CK.Plugin.Model/Host/IPluginProxy.cs | 6 +- CK.Plugin.Model/Host/IServiceHost.cs | 25 +- .../Host/IServiceHostConfiguration.cs | 25 +- .../Host/ISimpleServiceHostConfiguration.cs | 6 +- CK.Plugin.Model/Host/Log/ILogCenter.cs | 25 +- CK.Plugin.Model/Host/Log/ILogEntry.cs | 4 +- CK.Plugin.Model/Host/Log/ILogErrorCaught.cs | 25 +- CK.Plugin.Model/Host/Log/ILogErrorCulprit.cs | 25 +- CK.Plugin.Model/Host/Log/ILogEventEntry.cs | 4 +- CK.Plugin.Model/Host/Log/ILogEventError.cs | 4 +- .../Host/Log/ILogEventNotRunningError.cs | 4 +- CK.Plugin.Model/Host/Log/ILogExternalEntry.cs | 6 +- .../Host/Log/ILogExternalErrorEntry.cs | 6 +- .../Host/Log/ILogInterceptionEntry.cs | 6 +- CK.Plugin.Model/Host/Log/ILogMethodEntry.cs | 4 +- CK.Plugin.Model/Host/Log/ILogMethodError.cs | 4 +- .../Host/Log/ILogWithParametersEntry.cs | 6 +- CK.Plugin.Model/Host/Log/LogEntryType.cs | 7 +- CK.Plugin.Model/Host/Log/LogEventArgs.cs | 6 +- CK.Plugin.Model/Host/Log/LogHostEventArgs.cs | 6 +- .../Host/PluginStatusChangedEventArgs.cs | 4 +- .../Host/ServiceLogEventOptions.cs | 6 +- .../Host/ServiceLogMethodOptions.cs | 6 +- CK.Plugin.Model/IDynamicService.cs | 2 +- CK.Plugin.Model/IPlugin.cs | 6 +- CK.Plugin.Model/IPluginSetupInfo.cs | 6 +- CK.Plugin.Model/IService.cs | 4 +- CK.Plugin.Model/ISimplePluginRunner.cs | 25 +- CK.Plugin.Model/IgnoreExceptionAttribute.cs | 4 +- .../IgnoreServiceStoppedAttribute.cs | 4 +- CK.Plugin.Model/PluginAttribute.cs | 4 +- CK.Plugin.Model/PluginModelExtension.cs | 25 +- CK.Plugin.Model/Properties/AssemblyInfo.cs | 2 +- CK.Plugin.Model/RequiredServiceAttribute.cs | 2 +- ...inRequirementCollectionChangedEventArgs.cs | 25 +- ...nRequirementCollectionChangingEventArgs.cs | 25 +- ...ceRequirementCollectionChangedEventArgs.cs | 25 +- ...eRequirementCollectionChangingEventArgs.cs | 25 +- .../IPluginRequirementCollection.cs | 25 +- .../IServiceRequirementCollection.cs | 25 +- .../Requirements/PluginRequirement.cs | 25 +- .../PluginRequirementCollection.cs | 25 +- .../Requirements/RequirementLayer.cs | 4 +- .../Requirements/ServiceRequirement.cs | 25 +- .../ServiceRequirementCollection.cs | 25 +- CK.Plugin.Model/RunningRequirements.cs | 4 +- CK.Plugin.Model/RunningStatus.cs | 4 +- .../ServiceNotAvailableException.cs | 4 +- .../ServiceStatusChangedEventArgs.cs | 4 +- CK.Plugin.Model/ServiceStoppedException.cs | 4 +- CK.Plugin.Model/SolvedConfigStatus.cs | 4 +- CK.Plugin.Runner/ExecutionPlan.cs | 25 +- CK.Plugin.Runner/PlanCalculator.cs | 25 +- CK.Plugin.Runner/PluginConfigAccessor.cs | 4 +- .../PluginRunner.ConfigAccessor.cs | 25 +- CK.Plugin.Runner/PluginRunner.cs | 25 +- CK.Plugin.Runner/Properties/AssemblyInfo.cs | 25 +- CK.Plugin.Runner/RequirementLayerSnapshot.cs | 25 +- CK.Plugin.Runner/RunnerRequirements.cs | 25 +- .../RunnerRequirementsSnapshot.cs | 25 +- CK.Plugin.Runner/RunningConfiguration.cs | 25 +- .../SolvedPluginConfigurationSnapshot.cs | 4 +- CK.Reflection/ILGeneratorExtension.cs | 25 +- CK.Reflection/ObjectAndTypeExtension.cs | 25 +- CK.Reflection/Properties/AssemblyInfo.cs | 25 +- CK.Reflection/ReflectionHelper.cs | 25 +- CK.SharedDic/ISharedDictionary.cs | 4 +- CK.SharedDic/ISharedDictionaryReader.cs | 4 +- CK.SharedDic/ISharedDictionaryWriter.cs | 4 +- CK.SharedDic/Impl/FinalDictionary.cs | 4 +- CK.SharedDic/Impl/PluginConfigByObject.cs | 4 +- CK.SharedDic/Impl/PluginConfigByPlugin.cs | 4 +- CK.SharedDic/Impl/SharedDictionaryEntry.cs | 4 +- .../SharedDictionaryImpl.SkippedFragments.cs | 4 +- CK.SharedDic/Impl/SharedDictionaryImpl.cs | 4 +- CK.SharedDic/Impl/SharedDictionaryReader.cs | 16 +- CK.SharedDic/Impl/SharedDictionaryWriter.cs | 16 +- CK.SharedDic/Impl/SkippedFragment.cs | 4 +- CK.SharedDic/MergeMode.cs | 4 +- CK.SharedDic/Properties/AssemblyInfo.cs | 2 +- CK.SharedDic/ReadElementObjectInfo.cs | 2 +- CK.SharedDic/SharedDictionary.cs | 25 +- CK.SharedDic/SharedDictionaryExtension.cs | 4 +- .../SharedDictionaryReaderEventArgs.cs | 25 +- .../SharedDictionaryWriterEventArgs.cs | 25 +- CK.Storage/IStructuredReader.cs | 2 +- CK.Storage/IStructuredReaderBookmark.cs | 2 +- CK.Storage/IStructuredSerializable.cs | 2 +- CK.Storage/IStructuredSerializer.cs | 4 +- CK.Storage/IStructuredWriter.cs | 2 +- CK.Storage/ISubStructuredReader.cs | 2 +- CK.Storage/ISubStructuredWriter.cs | 4 +- CK.Storage/Impl/PureXml-2.5.5/ReaderBase.cs | 17 +- .../Impl/PureXml-2.5.5/ReaderBookmark.cs | 4 +- CK.Storage/Impl/PureXml-2.5.5/ReaderImpl.cs | 5 +- .../Impl/PureXml-2.5.5/ReaderImplSub.cs | 4 +- CK.Storage/Impl/PureXml-2.5.5/WriterBase.cs | 17 +- CK.Storage/Impl/PureXml-2.5.5/WriterImpl.cs | 4 +- .../Impl/PureXml-2.5.5/WriterImplSub.cs | 4 +- CK.Storage/ObjectReadExDataEventArgs.cs | 25 +- CK.Storage/ObjectWriteExDataEventArgs.cs | 25 +- CK.Storage/Properties/AssemblyInfo.cs | 2 +- CK.Storage/SimpleStructuredReader.cs | 27 +- CK.Storage/SimpleStructuredWriter.cs | 26 +- CK.Storage/StandardReadStatus.cs | 2 +- .../StructuredReaderAndWriterExtension.cs | 4 +- .../ContextExceptionProtection.cs | 25 +- Tests/CK.Context.Tests/ContextLifetime.cs | 25 +- .../SimplePlugin/Properties/AssemblyInfo.cs | 25 +- .../Plugins/SimplePlugin/SimplePlugin.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- Tests/CK.Context.Tests/ReadWrites.cs | 25 +- Tests/CK.Context.Tests/TestBase.cs | 25 +- Tests/CK.Context.Tests/TestContextHost.cs | 25 +- Tests/CK.Core.Tests/ActionSequenceTests.cs | 25 +- Tests/CK.Core.Tests/ActivityLoggerTests.cs | 25 +- Tests/CK.Core.Tests/Animals.cs | 25 +- Tests/CK.Core.Tests/CK.Core.Tests.csproj | 1 - Tests/CK.Core.Tests/Collection/FIFOTests.cs | 25 +- .../CK.Core.Tests/Collection/ReadOnlyTests.cs | 25 +- .../Collection/SortedArrayKeyListTests.cs | 25 +- .../Collection/SortedArrayListTests.cs | 25 +- Tests/CK.Core.Tests/CoreExtensionTests.cs | 25 +- Tests/CK.Core.Tests/FileUtilTests.cs | 25 +- .../MissingDisposeCallSentinelTests.cs | 80 - .../CK.Core.Tests/Properties/AssemblyInfo.cs | 25 +- Tests/CK.Core.Tests/ServiceContainerTests.cs | 25 +- Tests/CK.Core.Tests/TestHelper.cs | 25 +- Tests/CK.Core.Tests/UriHelperTests.cs | 25 +- .../Discoverer.ProducerConsumer.cs | 4 +- .../Discoverer.TestDiffs.cs | 4 +- Tests/CK.Discoverer.Tests/Discoverer.cs | 4 +- .../EditorsOfPlugins/EditorOfPlugin01.cs | 4 +- .../EditorsOfPlugins/EditorOfPlugin01and02.cs | 4 +- .../EditorsOfPlugins/EditorOfPlugin02.cs | 4 +- .../EditorsOfPlugins/EditorOfUnknownPlugin.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Plugins/HomonymClassZ/ClassZ.cs | 25 +- .../HomonymClassZ/Properties/AssemblyInfo.cs | 25 +- .../Plugins/HomonymClassZbis/ClassZbis.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- .../Plugins/HomonymServiceZ/IServiceZ.cs | 4 +- .../Plugins/HomonymServiceZ/ImplZ.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Plugins/HomonymServiceZbis/IServiceZ.cs | 4 +- .../Plugins/HomonymServiceZbis/ImplZbis.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 25 +- .../RefExternalNonDynamicService.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- .../RefInternalNonDynamicService.cs | 25 +- .../Plugins/ServiceA.2/IServiceA.cs | 4 +- .../Plugins/ServiceA.2/Plugin01.2.cs | 4 +- .../Plugins/ServiceA.2/Plugin01.cs | 4 +- .../ServiceA.2/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceA.Old/Plugin01.cs | 4 +- .../ServiceA.Old/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceA/IServiceA.cs | 4 +- .../Plugins/ServiceA/Plugin01.cs | 4 +- .../ServiceA/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceB/IServiceB.cs | 4 +- .../Plugins/ServiceB/Plugin02.cs | 4 +- .../ServiceB/Properties/AssemblyInfo.cs | 4 +- .../ServiceC.Model/INotDynamicServiceC.cs | 4 +- .../Plugins/ServiceC.Model/IServiceC.cs | 4 +- .../ServiceC.Model/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceC/PluginServiceC.cs | 4 +- .../ServiceC/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceConsumer/Consumer01.cs | 25 +- .../Plugins/ServiceConsumer/Consumer02.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- .../Plugins/ServiceD/IServiceD.cs | 4 +- .../Plugins/ServiceD/IServiceE.cs | 4 +- .../Plugins/ServiceD/Plugin04.cs | 25 +- .../ServiceD/Properties/AssemblyInfo.cs | 25 +- .../ServiceProducer.Model/IServiceProducer.cs | 25 +- .../IServiceProducer02.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- .../ServiceProducer/ServiceProducer.cs | 25 +- .../VersionedPluginWithService/IServiceE.cs | 4 +- .../VersionedPluginWithService/Plugin05.cs | 25 +- .../VersionedPluginWithService/Plugin06.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- .../Plugins/VersionedPlugins/NewPlugin.cs | 4 +- .../Plugins/VersionedPlugins/OldPlugin.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 25 +- .../CK.Discoverer.Tests/RunningStatusTests.cs | 25 +- Tests/CK.Discoverer.Tests/TestBase.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- Tests/CK.MultiTrait.Tests/Traits.cs | 4 +- Tests/CK.Plugin.Config.Tests/ChangeUser.cs | 25 +- .../ConfigCollections.cs | 25 +- .../HostConfiguration.cs | 25 +- Tests/CK.Plugin.Config.Tests/MiniContext.cs | 25 +- .../PluginRequirements.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- Tests/CK.Plugin.Config.Tests/ReadFiles.cs | 25 +- .../ResolveConfiguration.cs | 25 +- Tests/CK.Plugin.Config.Tests/TestBase.cs | 25 +- Tests/CK.Plugin.Config.Tests/TestHost.cs | 25 +- .../CK.Plugin.Host.Tests/ChoucroutePlugin.cs | 4 +- .../ChoucrouteServiceNotAvailable.cs | 4 +- Tests/CK.Plugin.Host.Tests/ConsumerPlugin.cs | 4 +- .../IChoucrouteService.cs | 4 +- .../IChoucrouteServiceHandMadeProxy.cs | 4 +- .../Properties/AssemblyInfo.cs | 25 +- Tests/CK.Plugin.Host.Tests/TestContext.cs | 25 +- Tests/CK.Plugin.Host.Tests/TestDynProxy.cs | 4 +- Tests/CK.Plugin.Host.Tests/TestEmit.cs | 4 +- .../CK.Plugin.Runner.Tests/BasicStartStop.cs | 25 +- .../CheckServiceReferences.cs | 25 +- Tests/CK.Plugin.Runner.Tests/Injections.cs | 25 +- Tests/CK.Plugin.Runner.Tests/IsDirty.cs | 25 +- Tests/CK.Plugin.Runner.Tests/MiniContext.cs | 25 +- .../BuggyServiceC/BuggyPluginServiceC.cs | 4 +- .../BuggyServiceC/Properties/AssemblyInfo.cs | 4 +- .../Injection/CircleReferences/Plugin01.cs | 25 +- .../Injection/CircleReferences/Plugin02.cs | 25 +- .../Injection/CircleReferences/Plugin03.cs | 25 +- .../Plugins/Injection/Plugin01.cs | 25 +- .../Plugins/Injection/Plugin02.cs | 25 +- .../Injection/Properties/AssemblyInfo.cs | 25 +- .../Plugins/PluginNeedsServiceC/IServiceB.cs | 4 +- .../PluginNeedsIService.cs | 4 +- .../PluginNeedsServiceC/PluginNeedsService.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceA/IServiceA.cs | 4 +- .../Plugins/ServiceA/Plugin01.cs | 4 +- .../ServiceA/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceB/IServiceB.cs | 4 +- .../Plugins/ServiceB/Plugin02.cs | 4 +- .../ServiceB/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceC.Bis/PluginServiceC.2.cs | 4 +- .../ServiceC.Bis/Properties/AssemblyInfo.cs | 4 +- .../ServiceC.Model/INotDynamicServiceC.cs | 4 +- .../Plugins/ServiceC.Model/IServiceC.cs | 4 +- .../ServiceC.Model/Properties/AssemblyInfo.cs | 4 +- .../Plugins/ServiceC/PluginServiceC.cs | 4 +- .../ServiceC/Properties/AssemblyInfo.cs | 4 +- .../SimplePlugin/Properties/AssemblyInfo.cs | 25 +- .../Plugins/SimplePlugin/SimplePlugin.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- .../ResolveRequirements.cs | 25 +- Tests/CK.Plugin.Runner.Tests/RunningErrors.cs | 25 +- Tests/CK.Plugin.Runner.Tests/TestBase.cs | 25 +- Tests/CK.Reflection.Tests/HelperTest.cs | 25 +- .../CK.Reflection.Tests/ObjectAndTypeTest.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- Tests/CK.Reflection.Tests/TypeMatches.cs | 25 +- .../ArchitectureSharedDicReader.cs | 4 +- Tests/CK.SharedDic.Tests/BuggyObject.cs | 25 +- Tests/CK.SharedDic.Tests/Events.cs | 25 +- .../Helpers/SharedDicTestContext.cs | 25 +- .../Helpers/SharedDictionaryTester.cs | 25 +- Tests/CK.SharedDic.Tests/Imports.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- Tests/CK.SharedDic.Tests/ReadWrites.cs | 25 +- Tests/CK.SharedDic.Tests/SkippedFragments.cs | 25 +- Tests/CK.SharedDic.Tests/TestBase.cs | 25 +- .../ExternalDll/ExternalClass.cs | 25 +- .../ExternalDll/Properties/AssemblyInfo.cs | 25 +- .../Properties/AssemblyInfo.cs | 25 +- Tests/CK.Storage.Tests/SerializableObjects.cs | 25 +- .../CK.Storage.Tests/StructuredReadWrites.cs | 25 +- .../CK.Storage.Tests/StructuredSerializer.cs | 25 +- Tests/CK.Storage.Tests/TestBase.cs | 25 +- Tests/CK.Storage.Tests/XmlRawObject.cs | 25 +- .../XmlSerializableObjects.cs | 25 +- 488 files changed, 7721 insertions(+), 2609 deletions(-) create mode 100644 CK.Core/ActivityLogger/ActivityLoggerEmpty.cs rename CK.Core/ActivityLogger/{ => Impl}/ActivityLogger.cs (86%) rename CK.Core/ActivityLogger/{ => Impl}/ActivityLoggerConsoleSync.cs (79%) rename CK.Core/ActivityLogger/{ => Impl}/ActivityLoggerErrorCounter.cs (90%) rename CK.Core/ActivityLogger/{ => Impl}/ActivityLoggerExtension.cs (98%) rename CK.Core/ActivityLogger/{ => Impl}/ActivityLoggerHybridClient.cs (82%) rename CK.Core/ActivityLogger/{ => Impl}/ActivityLoggerOutput.cs (90%) rename CK.Core/ActivityLogger/{ => Impl}/ActivityLoggerPathCatcher.cs (89%) rename CK.Core/ActivityLogger/{ => Impl}/ActivityLoggerTap.cs (84%) rename CK.Core/ActivityLogger/{ => Impl}/DefaultActivityLogger.cs (74%) rename CK.Core/ActivityLogger/{ => Impl}/IActivityLoggerSink.cs (65%) rename CK.Core/ActivityLogger/{ => Impl}/IDefaultActivityLogger.cs (68%) rename CK.Core/ActivityLogger/{ => Impl}/MuxActivityLoggerClientDemux.cs (82%) rename CK.Core/ActivityLogger/{ => Impl}/MuxActivityLoggerHub.cs (80%) delete mode 100644 CK.Core/MissingDisposeCallSentinel.cs delete mode 100644 Tests/CK.Core.Tests/MissingDisposeCallSentinelTests.cs diff --git a/CK-Core.Tests.VisualState.xml b/CK-Core.Tests.VisualState.xml index bb0f8ae..ce5834f 100644 --- a/CK-Core.Tests.VisualState.xml +++ b/CK-Core.Tests.VisualState.xml @@ -1,45 +1,43 @@ - [0-1056]Core.Collection + [0-1049]Core [0-1000]C:\Users\Spi\Documents\Dev4\CK-Core\CK-Core.Tests.nunit false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CK.Context/Context.cs b/CK.Context/Context.cs index 0ccd0d4..c2a03d8 100644 --- a/CK.Context/Context.cs +++ b/CK.Context/Context.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Context\Context.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Context/EventArgs/ApplicationExitEventArgs.cs b/CK.Context/EventArgs/ApplicationExitEventArgs.cs index 31b8fa3..6de8748 100644 --- a/CK.Context/EventArgs/ApplicationExitEventArgs.cs +++ b/CK.Context/EventArgs/ApplicationExitEventArgs.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\EventArgs\ApplicationExitedEventArgs.cs) is part of CiviKey. +* This file (CK.Context\EventArgs\ApplicationExitEventArgs.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Context/EventArgs/ApplicationExitingEventArgs.cs b/CK.Context/EventArgs/ApplicationExitingEventArgs.cs index 2d6be33..f7a6e8b 100644 --- a/CK.Context/EventArgs/ApplicationExitingEventArgs.cs +++ b/CK.Context/EventArgs/ApplicationExitingEventArgs.cs @@ -14,14 +14,13 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. *-----------------------------------------------------------------------------*/ #endregion - namespace CK.Context { /// diff --git a/CK.Context/EventArgs/ContextEventArgs.cs b/CK.Context/EventArgs/ContextEventArgs.cs index be83cb6..d2874c4 100644 --- a/CK.Context/EventArgs/ContextEventArgs.cs +++ b/CK.Context/EventArgs/ContextEventArgs.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Context/EventArgs/ContextProfileRequiredEventArgs.cs b/CK.Context/EventArgs/ContextProfileRequiredEventArgs.cs index 1826b2f..6ce29fc 100644 --- a/CK.Context/EventArgs/ContextProfileRequiredEventArgs.cs +++ b/CK.Context/EventArgs/ContextProfileRequiredEventArgs.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Model\Context\Events\ContextEventArgs.cs) is part of CiviKey. +* This file (CK.Context\EventArgs\ContextProfileRequiredEventArgs.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Context/Host/AbstractContextHost.cs b/CK.Context/Host/AbstractContextHost.cs index afa0387..fdaa3ba 100644 --- a/CK.Context/Host/AbstractContextHost.cs +++ b/CK.Context/Host/AbstractContextHost.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Context\Host\AbstractContextHost.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin.Config; using CK.Core; using System.Diagnostics; diff --git a/CK.Context/Host/IHostInformation.cs b/CK.Context/Host/IHostInformation.cs index fc474e2..c1d3c0f 100644 --- a/CK.Context/Host/IHostInformation.cs +++ b/CK.Context/Host/IHostInformation.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Context\Host\IHostInformation.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Context/IContext.cs b/CK.Context/IContext.cs index 9288522..b3625dd 100644 --- a/CK.Context/IContext.cs +++ b/CK.Context/IContext.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Context\IContext.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Context/Properties/AssemblyInfo.cs b/CK.Context/Properties/AssemblyInfo.cs index 9396381..adaf169 100644 --- a/CK.Context/Properties/AssemblyInfo.cs +++ b/CK.Context/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Context\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/CK.Core/ActionSequence/ActionSequence.cs b/CK.Core/ActionSequence/ActionSequence.cs index e53d29d..5412c02 100644 --- a/CK.Core/ActionSequence/ActionSequence.cs +++ b/CK.Core/ActionSequence/ActionSequence.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ActionSequence/ActionSequenceExtension.cs b/CK.Core/ActionSequence/ActionSequenceExtension.cs index 05729b5..ff16a9b 100644 --- a/CK.Core/ActionSequence/ActionSequenceExtension.cs +++ b/CK.Core/ActionSequence/ActionSequenceExtension.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ActionSequence/IActionSequence.cs b/CK.Core/ActionSequence/IActionSequence.cs index 68c4730..52192d9 100644 --- a/CK.Core/ActionSequence/IActionSequence.cs +++ b/CK.Core/ActionSequence/IActionSequence.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ActivityLogger/ActivityLogGroupConclusion.cs b/CK.Core/ActivityLogger/ActivityLogGroupConclusion.cs index 7a65b03..141ab19 100644 --- a/CK.Core/ActivityLogger/ActivityLogGroupConclusion.cs +++ b/CK.Core/ActivityLogger/ActivityLogGroupConclusion.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\ActivityLogGroupConclusion.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/ActivityLoggerEmpty.cs b/CK.Core/ActivityLogger/ActivityLoggerEmpty.cs new file mode 100644 index 0000000..759cd68 --- /dev/null +++ b/CK.Core/ActivityLogger/ActivityLoggerEmpty.cs @@ -0,0 +1,68 @@ +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\ActivityLoggerEmpty.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace CK.Core +{ + /// + /// An implementation of that does nothing (null object design pattern). + /// Can be specialized. + /// + public class ActivityLoggerEmpty : IActivityLogger + { + /// + /// Empty (null object design pattern). + /// + static public readonly IActivityLogger Empty = new ActivityLoggerEmpty(); + + LogLevelFilter IActivityLogger.Filter + { + get { return LogLevelFilter.Off; } + set { } + } + + IActivityLogger IActivityLogger.UnfilteredLog( LogLevel level, string text, Exception ex ) + { + return this; + } + + IDisposable IActivityLogger.OpenGroup( LogLevel level, Func getConclusionText, string text, Exception ex ) + { + return Util.EmptyDisposable; + } + + void IActivityLogger.CloseGroup( object conclusion ) + { + } + + IActivityLoggerOutput IActivityLogger.Output + { + get { return ActivityLoggerOutput.Empty; } + } + + } +} diff --git a/CK.Core/ActivityLogger/IActivityLogGroup.cs b/CK.Core/ActivityLogger/IActivityLogGroup.cs index 88515df..4eb9338 100644 --- a/CK.Core/ActivityLogger/IActivityLogGroup.cs +++ b/CK.Core/ActivityLogger/IActivityLogGroup.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IActivityLogGroup.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; namespace CK.Core { diff --git a/CK.Core/ActivityLogger/IActivityLogger.cs b/CK.Core/ActivityLogger/IActivityLogger.cs index 2f5fcd1..0d0c880 100644 --- a/CK.Core/ActivityLogger/IActivityLogger.cs +++ b/CK.Core/ActivityLogger/IActivityLogger.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IActivityLogger.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; namespace CK.Core @@ -51,8 +74,11 @@ public interface IActivityLogger /// /// Closes the current group level, appending an optional conclusion to the opening logged information. /// - /// Optional text to conclude the group. - void CloseGroup( string conclusion ); + /// + /// Optional object text (usually a string but can be any object with an + /// overriden method) to conclude the group. + /// + void CloseGroup( object conclusion = null ); /// /// Gets the for this logger. diff --git a/CK.Core/ActivityLogger/IActivityLoggerClient.cs b/CK.Core/ActivityLogger/IActivityLoggerClient.cs index 23a1927..d0d5c09 100644 --- a/CK.Core/ActivityLogger/IActivityLoggerClient.cs +++ b/CK.Core/ActivityLogger/IActivityLoggerClient.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IActivityLoggerClient.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/IActivityLoggerClientBase.cs b/CK.Core/ActivityLogger/IActivityLoggerClientBase.cs index 12395bb..11ebc8b 100644 --- a/CK.Core/ActivityLogger/IActivityLoggerClientBase.cs +++ b/CK.Core/ActivityLogger/IActivityLoggerClientBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IActivityLoggerClientBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/IActivityLoggerClientRegistrar.cs b/CK.Core/ActivityLogger/IActivityLoggerClientRegistrar.cs index 3fa39c3..1618407 100644 --- a/CK.Core/ActivityLogger/IActivityLoggerClientRegistrar.cs +++ b/CK.Core/ActivityLogger/IActivityLoggerClientRegistrar.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IActivityLoggerClientRegistrar.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/IActivityLoggerOutput.cs b/CK.Core/ActivityLogger/IActivityLoggerOutput.cs index a473d4b..c8b2ebf 100644 --- a/CK.Core/ActivityLogger/IActivityLoggerOutput.cs +++ b/CK.Core/ActivityLogger/IActivityLoggerOutput.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IActivityLoggerOutput.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/IMuxActivityLoggerClient.cs b/CK.Core/ActivityLogger/IMuxActivityLoggerClient.cs index faf5b8c..6f428a9 100644 --- a/CK.Core/ActivityLogger/IMuxActivityLoggerClient.cs +++ b/CK.Core/ActivityLogger/IMuxActivityLoggerClient.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IMuxActivityLoggerClient.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/IMuxActivityLoggerRegistrar.cs b/CK.Core/ActivityLogger/IMuxActivityLoggerRegistrar.cs index 997a541..673dbcb 100644 --- a/CK.Core/ActivityLogger/IMuxActivityLoggerRegistrar.cs +++ b/CK.Core/ActivityLogger/IMuxActivityLoggerRegistrar.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\IMuxActivityLoggerRegistrar.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/ActivityLogger.cs b/CK.Core/ActivityLogger/Impl/ActivityLogger.cs similarity index 86% rename from CK.Core/ActivityLogger/ActivityLogger.cs rename to CK.Core/ActivityLogger/Impl/ActivityLogger.cs index 039b0bb..906f370 100644 --- a/CK.Core/ActivityLogger/ActivityLogger.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLogger.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLogger.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -16,43 +39,6 @@ public class ActivityLogger : IActivityLogger, IActivityLoggerClientBase /// static public readonly string ParkLevel = "PARK-LEVEL"; - /// - /// Empty (reusable) implementation of . - /// - public class EmptyLogger : IActivityLogger - { - LogLevelFilter IActivityLogger.Filter - { - get { return LogLevelFilter.Off; } - set { } - } - - IActivityLogger IActivityLogger.UnfilteredLog( LogLevel level, string text, Exception ex ) - { - return this; - } - - IDisposable IActivityLogger.OpenGroup( LogLevel level, Func getConclusionText, string text, Exception ex ) - { - return Util.EmptyDisposable; - } - - void IActivityLogger.CloseGroup( string conclusion ) - { - } - - IActivityLoggerOutput IActivityLogger.Output - { - get { return ActivityLoggerOutput.Empty; } - } - - } - - /// - /// Empty (null object design pattern). - /// - static public readonly IActivityLogger Empty = new EmptyLogger(); - LogLevelFilter _filter; Group _current; int _depth; @@ -238,23 +224,23 @@ void IDisposable.Dispose() } } - internal string GroupClose( string externalConclusion ) + internal object GroupClose( object externalConclusion ) { - string conclusion = OnGroupClose( externalConclusion ); + object conclusion = OnGroupClose( externalConclusion ); _logger = null; - return conclusion ?? String.Empty; + return conclusion; } /// /// Called whenever the group is closing. /// Must return the actual conclusion that will be used for the group: if the is - /// not null, empty or white space, it takes precedence on the (optional) functions. + /// not null, it takes precedence on the (optional) functions. /// /// Conclusion parameter: comes from . Can be null. /// The final conclusion to use. - protected virtual string OnGroupClose( string externalConclusion ) + protected virtual object OnGroupClose( object externalConclusion ) { - if( String.IsNullOrWhiteSpace( externalConclusion ) ) + if( externalConclusion == null ) { externalConclusion = ConsumeConclusionText(); } @@ -308,17 +294,18 @@ public virtual IDisposable OpenGroup( LogLevel level, Func defaultConclu /// /// Closes the current . /// - /// Optional text to conclude the group. - public virtual void CloseGroup( string conclusion = null ) + /// + /// Optional object text (usually a string but can be any object with an + /// overriden method) to conclude the group. + /// + public virtual void CloseGroup( object conclusion = null ) { Group g = _current; if( g != null ) { conclusion = g.GroupClose( conclusion ); - Debug.Assert( conclusion != null ); - var conclusions = new List(); - if( !String.IsNullOrWhiteSpace( conclusion ) ) conclusions.Add( new ActivityLogGroupConclusion( conclusion, this ) ); + if( conclusion != null ) conclusions.Add( new ActivityLogGroupConclusion( conclusion, this ) ); _output.OnGroupClosing( g, conclusions ); --_depth; Filter = g.Filter; diff --git a/CK.Core/ActivityLogger/ActivityLoggerConsoleSync.cs b/CK.Core/ActivityLogger/Impl/ActivityLoggerConsoleSync.cs similarity index 79% rename from CK.Core/ActivityLogger/ActivityLoggerConsoleSync.cs rename to CK.Core/ActivityLogger/Impl/ActivityLoggerConsoleSync.cs index 02092cf..d8923bc 100644 --- a/CK.Core/ActivityLogger/ActivityLoggerConsoleSync.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLoggerConsoleSync.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLoggerConsoleSync.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/ActivityLoggerErrorCounter.cs b/CK.Core/ActivityLogger/Impl/ActivityLoggerErrorCounter.cs similarity index 90% rename from CK.Core/ActivityLogger/ActivityLoggerErrorCounter.cs rename to CK.Core/ActivityLogger/Impl/ActivityLoggerErrorCounter.cs index 232bf61..9e5610f 100644 --- a/CK.Core/ActivityLogger/ActivityLoggerErrorCounter.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLoggerErrorCounter.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLoggerErrorCounter.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/ActivityLoggerExtension.cs b/CK.Core/ActivityLogger/Impl/ActivityLoggerExtension.cs similarity index 98% rename from CK.Core/ActivityLogger/ActivityLoggerExtension.cs rename to CK.Core/ActivityLogger/Impl/ActivityLoggerExtension.cs index 01e4f3f..6b3b6e4 100644 --- a/CK.Core/ActivityLogger/ActivityLoggerExtension.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLoggerExtension.cs @@ -1,1370 +1,1393 @@ -using System; -using System.Linq; -using System.Collections.Generic; -using System.Text; - -namespace CK.Core -{ - /// - /// Provides extension methods for and other types from the Activity logger framework. - /// - public static class ActivityLoggerExtension - { - /// - /// Gets this Group conclusions as a readeable string. - /// - /// This group conclusion. - /// Conclusion separator. - /// A lovely concatened string of conclusions. - public static string ToStringGroupConclusion( this IEnumerable @this, string conclusionSeparator = " - " ) - { - if( @this == null ) return String.Empty; - StringBuilder b = new StringBuilder(); - foreach( var e in @this ) - { - if( b.Length > 0 ) b.Append( conclusionSeparator ); - b.Append( e.Conclusion ); - } - return b.ToString(); - } - - /// - /// Gets the path as a readable string. - /// - /// This path. - /// Between elements. - /// There must be 3 placeholders {0} for the level, {1} for the text and {2} for the conclusion. - /// There must be 2 placeholders {0} for the level and {1} for the text. - /// Conclusion separator. - /// For Fatal errors. - /// For Errors. - /// For Warnings. - /// For Infos. - /// For Traces. - /// A lovely path. - public static string ToStringPath( this IEnumerable @this, - string elementSeparator = "> ", - string withoutConclusionFormat = "{0}{1} ", - string withConclusionFormat = "{0}{1} -{{ {2} }}", - string conclusionSeparator = " - ", - string fatal = "[Fatal]- ", - string error = "[Error]- ", - string warn = "[Warning]- ", - string info = "[Info]- ", - string trace = "" ) - { - if( @this == null ) return String.Empty; - StringBuilder b = new StringBuilder(); - foreach( var e in @this ) - { - if( b.Length > 0 ) b.Append( elementSeparator ); - string prefix = trace; - switch( e.Level ) - { - case LogLevel.Fatal: prefix = fatal; break; - case LogLevel.Error: prefix = error; break; - case LogLevel.Warn: prefix = warn; break; - case LogLevel.Info: prefix = info; break; - } - if( e.GroupConclusion != null ) b.AppendFormat( withConclusionFormat, prefix, e.Text, e.GroupConclusion.ToStringGroupConclusion( conclusionSeparator ) ); - else b.AppendFormat( withoutConclusionFormat, prefix, e.Text ); - } - return b.ToString(); - } - - /// - /// Concatenation of RegisteredClients - /// and RegisteredMuxClients - /// - /// This . - /// The enumeration of all output clients. - public static IEnumerable AllClients( this IActivityLoggerOutput @this ) - { - return @this.RegisteredClients.Cast().Concat( @this.RegisteredMuxClients ); - } - - #region Registrar - - /// - /// Registers multiple . - /// - /// This object. - /// Multiple clients to register. - /// This registrar to enable fluent syntax. - public static IActivityLoggerClientRegistrar Register( this IActivityLoggerClientRegistrar @this, IEnumerable clients ) - { - foreach( var c in clients ) @this.RegisterClient( c ); - return @this; - } - - /// - /// Registers multiple . - /// - /// This object. - /// Multiple clients to register. - /// This registrar to enable fluent syntax. - public static IActivityLoggerClientRegistrar Register( this IActivityLoggerClientRegistrar @this, params IActivityLoggerClient[] clients ) - { - return Register( @this, (IEnumerable)clients ); - } - - /// - /// Registers multiple . - /// - /// This object. - /// Multiple clients to register. - /// This registrar to enable fluent syntax. - public static IMuxActivityLoggerClientRegistrar Register( this IMuxActivityLoggerClientRegistrar @this, IEnumerable clients ) - { - foreach( var c in clients ) @this.RegisterMuxClient( c ); - return @this; - } - - /// - /// Registers multiple . - /// - /// This object. - /// Multiple clients to register. - /// This registrar to enable fluent syntax. - public static IMuxActivityLoggerClientRegistrar Register( this IMuxActivityLoggerClientRegistrar @this, params IMuxActivityLoggerClient[] clients ) - { - return Register( @this, (IEnumerable)clients ); - } - #endregion - - #region IActivityLogger.Filter( level ) - - class LogFilterSentinel : IDisposable - { - IActivityLogger _logger; - LogLevelFilter _prevLevel; - - public LogFilterSentinel( IActivityLogger l, LogLevelFilter filterLevel ) - { - _prevLevel = l.Filter; - _logger = l; - l.Filter = filterLevel; - } - - public void Dispose() - { - _logger.Filter = _prevLevel; - } - - } - - /// - /// Sets a filter level on this . The current will be automatically - /// restored when the returned will be disposed. - /// - /// This object. - /// The new filter level. - /// A object that will restore the current level. - public static IDisposable Filter( this IActivityLogger @this, LogLevelFilter filterLevel ) - { - return new LogFilterSentinel( @this, filterLevel ); - } - - #endregion IActivityLogger.Filter( level ) - - #region IActivityLogger.OpenGroup( ... ) - - /// - /// Opens a log level. CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// The log level of the group. - /// The text associated to the opening of the log. - /// A disposable object that can be used to close the group. - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, string text ) - { - return @this.OpenGroup( level, null, text ); - } - - /// - /// Opens a log level. CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// Optional function that will be called on group closing. - /// A composite format for the group title. - /// Arguments to format. - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Func getConclusionText, string format, params object[] arguments ) - { - return @this.OpenGroup( level, getConclusionText, String.Format( format, arguments ) ); - } - - /// - /// Opens a log level. CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// Format of the string. - /// Arguments to format. - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, string format, params object[] arguments ) - { - return @this.OpenGroup( level, null, String.Format( format, arguments ) ); - } - - #endregion - - #region IActivityLogger Trace(...), Info(...), Warn(...), Error(...) and Fatal(...). - - #region Trace - - /// - /// Logs the text if current is or above. - /// - /// This object. - /// Text to log as a trace. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text ); - return @this; - } - - /// - /// Logs a formatted text with one placeholder/parameter if current is or above. - /// - /// This object. - /// Text format to log as a trace. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) - { - if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); - @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0 ) ); - } - return @this; - } - - /// - /// Logs a formatted text with two placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a trace. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1 ) ); - return @this; - } - - /// - /// Logs a formatted text with three placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a trace. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1, arg2 ) ); - return @this; - } - - /// - /// Logs a formatted text with placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a trace. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, args ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// This object. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text() ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the parameter that accepts. - /// Parameter of the delegate. - /// This object. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, T param, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text( param ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the first parameter that accepts. - /// Type of the second parameter that accepts. - /// This object. - /// First parameter for the delegate. - /// Second parameter for the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, T1 param1, T2 param2, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text( param1, param2 ) ); - return @this; - } - #endregion - - #region Info - - /// - /// Logs the text if current is or above. - /// - /// This object. - /// Text to log as an info. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text ); - return @this; - } - - /// - /// Logs a formatted text with one placeholder/parameter if current is or above. - /// - /// This object. - /// Text format to log as an info. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) - { - if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); - @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0 ) ); - } - return @this; - } - - /// - /// Logs a formatted text with two placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as an info. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1 ) ); - return @this; - } - - /// - /// Logs a formatted text with three placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as an info. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1, arg2 ) ); - return @this; - } - - /// - /// Logs a formatted text with placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as an info. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, args ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// This object. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text() ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the parameter that accepts. - /// This object. - /// Parameter of the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, T param, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text( param ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the first parameter that accepts. - /// Type of the second parameter that accepts. - /// This object. - /// First parameter for the delegate. - /// Second parameter for the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, T1 param1, T2 param2, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text( param1, param2 ) ); - return @this; - } - #endregion - - #region Warn - - /// - /// Logs the text if current is or above. - /// - /// This object. - /// Text to log as a warning. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text ); - return @this; - } - - /// - /// Logs a formatted text with one placeholder/parameter if current is or above. - /// - /// This object. - /// Text format to log as a warning. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) - { - if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); - @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0 ) ); - } - return @this; - } - - /// - /// Logs a formatted text with two placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a warning. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1 ) ); - return @this; - } - - /// - /// Logs a formatted text with three placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a warning. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1, arg2 ) ); - return @this; - } - - /// - /// Logs a formatted text with placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a warning. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, args ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// This object. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text() ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the parameter that accepts. - /// This object. - /// Parameter of the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, T param, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text( param ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the first parameter that accepts. - /// Type of the second parameter that accepts. - /// This object. - /// First parameter for the delegate. - /// Second parameter for the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, T1 param1, T2 param2, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text( param1, param2 ) ); - return @this; - } - #endregion - - #region Error - - /// - /// Logs the text if current is or above. - /// - /// This object. - /// Text to log as an error. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text ); - return @this; - } - - /// - /// Logs a formatted text with one placeholder/parameter if current is or above. - /// - /// This object. - /// Text format to log as an error. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) - { - if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); - @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0 ) ); - } - return @this; - } - - /// - /// Logs a formatted text with two placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as an error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1 ) ); - return @this; - } - - /// - /// Logs a formatted text with three placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as an error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1, arg2 ) ); - return @this; - } - - /// - /// Logs a formatted text with placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as an error. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, args ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// This object. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text() ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the parameter that accepts. - /// This object. - /// Parameter of the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, T param, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text( param ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the first parameter that accepts. - /// Type of the second parameter that accepts. - /// This object. - /// First parameter for the delegate. - /// Second parameter for the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, T1 param1, T2 param2, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text( param1, param2 ) ); - return @this; - } - #endregion - - #region Fatal - - /// - /// Logs the text if current is or above. - /// - /// This object. - /// Text to log as a fatal error. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text ); - return @this; - } - - /// - /// Logs a formatted text with one placeholder/parameter if current is or above. - /// - /// This object. - /// Text format to log as a fatal error. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) - { - if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); - @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0 ) ); - } - return @this; - } - - /// - /// Logs a formatted text with two placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a fatal error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1 ) ); - return @this; - } - - /// - /// Logs a formatted text with three placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a fatal error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1, arg2 ) ); - return @this; - } - - /// - /// Logs a formatted text with placeholders/parameters if current is or above. - /// - /// This object. - /// Text format to log as a fatal error. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, args ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// This object. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text() ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the parameter that accepts. - /// This object. - /// Parameter of the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, T param, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text( param ) ); - return @this; - } - - /// - /// Logs a formatted text by calling a delegate if current is or above. - /// - /// Type of the first parameter that accepts. - /// Type of the second parameter that accepts. - /// This object. - /// First parameter for the delegate. - /// Second parameter for the delegate. - /// Delegate that returns a string. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, T1 param1, T2 param2, Func text ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text( param1, param2 ) ); - return @this; - } - #endregion - - #endregion - - #region IActivityLogger Trace( Exception ), Warn( Exception ), Error( Exception ), Fatal( Exception ), OpenGroup( Exception ). - - #region Trace - - /// - /// Logs the exception as a trace. - /// - /// This object. - /// The exception to log. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, Exception ex ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, null, ex ); - return @this; - } - - /// - /// Logs the exception as a trace. - /// - /// This object. - /// The exception to log. - /// Text to log as a trace. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text, ex ); - return @this; - } - - /// - /// Logs the exception as a trace. - /// - /// This object. - /// The exception to log. - /// Text format to log as a trace. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0 ), ex ); - return @this; - } - - /// - /// Logs the exception as a trace. - /// - /// This object. - /// The exception to log. - /// Text format to log as a trace. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as a trace. - /// - /// This object. - /// The exception to log. - /// Text format to log as a trace. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as a trace. - /// - /// This object. - /// The exception to log. - /// Text format to log as a trace. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, args ), ex ); - return @this; - } - - #endregion - - #region Info - - /// - /// Logs the exception as an information if current is or above. - /// - /// This object. - /// The exception to log. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, Exception ex ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, null, ex ); - return @this; - } - - /// - /// Logs the exception as an information if current is or above. - /// - /// This object. - /// The exception to log. - /// Text to log as an information. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text, ex ); - return @this; - } - - /// - /// Logs the exception as an information if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an information. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0 ), ex ); - return @this; - } - - /// - /// Logs the exception as an information if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an information. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as an information if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an information. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as an information if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an information. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, args ), ex ); - return @this; - } - - #endregion - - #region Warn - - /// - /// Logs the exception as a warning if current is or above. - /// - /// This object. - /// The exception to log. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, Exception ex ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, null, ex ); - return @this; - } - - /// - /// Logs the exception as a warning if current is or above. - /// - /// This object. - /// The exception to log. - /// Text to log as a warning. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text, ex ); - return @this; - } - - /// - /// Logs the exception as a warning if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as a warning. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0 ), ex ); - return @this; - } - - /// - /// Logs the exception as a warning if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as a warning. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as a warning if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as a warning. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as a warning if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as a warning. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, args ), ex ); - return @this; - } - - #endregion - - #region Error - - /// - /// Logs the exception as an error if current is or above. - /// - /// This object. - /// The exception to log. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, Exception ex ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, null, ex ); - return @this; - } - - /// - /// Logs the exception as an error if current is or above. - /// - /// This object. - /// The exception to log. - /// Text to log as an error. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text, ex ); - return @this; - } - - /// - /// Logs the exception as an error if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an error. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0 ), ex ); - return @this; - } - - /// - /// Logs the exception as an error if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as an error if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception as an error if current is or above. - /// - /// This object. - /// The exception to log. - /// Text format to log as an error. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, args ), ex ); - return @this; - } - - #endregion - - #region Fatal - - /// - /// Logs the exception (except if current is ). - /// - /// This object. - /// The exception to log. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, null, ex ); - return @this; - } - - /// - /// Logs the exception (except if current is ). - /// - /// This object. - /// The exception to log. - /// Text to log as a fatal error. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string text ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text, ex ); - return @this; - } - - /// - /// Logs the exception (except if current is ). - /// - /// This object. - /// The exception to log. - /// Text format to log as a fatal error. - /// Parameter to format (placeholder {0}). - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, object arg0 ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0 ), ex ); - return @this; - } - - /// - /// Logs the exception (except if current is ). - /// - /// This object. - /// The exception to log. - /// Text format to log as a fatal error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception (except if current is ). - /// - /// This object. - /// The exception to log. - /// Text format to log as a fatal error. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1 ), ex ); - return @this; - } - - /// - /// Logs the exception (except if current is ). - /// - /// This object. - /// The exception to log. - /// Text format to log as a fatal error. - /// Multiple parameters to format. - /// This logger to enable fluent syntax. - public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, params object[] args ) - { - if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, args ), ex ); - return @this; - } - - #endregion - - #region OpenGroup - - /// - /// Opens a log level associated to an . CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// The exception to log. - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex ) - { - return @this.OpenGroup( level, null, null, ex ); - } - - /// - /// Opens a log level associated to an . CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// The exception to log. - /// The group title. - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string text ) - { - return @this.OpenGroup( level, null, text, ex ); - } - - /// - /// Opens a log level associated to an . CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// Exception to log. - /// Text format for group title. - /// Parameter to format (placeholder {0}). - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, object arg0 ) - { - return @this.OpenGroup( level, null, String.Format( format, arg0 ), ex ); - } - - /// - /// Opens a log level associated to an . CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// Exception to log. - /// Text format for group title. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, object arg0, object arg1 ) - { - return @this.OpenGroup( level, null, String.Format( format, arg0, arg1 ), ex ); - } - - /// - /// Opens a log level associated to an . CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// Exception to log. - /// Text format for group title. - /// First parameter to format (placeholder {0}). - /// Second parameter to format (placeholder {1}). - /// Third parameter to format (placeholder {2}). - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, object arg0, object arg1, object arg2 ) - { - return @this.OpenGroup( level, null, String.Format( format, arg0, arg1, arg2 ), ex ); - } - - /// - /// Opens a log level associated to an . CloseGroup must be called in order to - /// close the group, or the returned object must be disposed. - /// - /// This object. - /// Log level. Since we are opening a group, the current Filter is ignored. - /// Exception to log. - /// A composite format for the group title. - /// Arguments to format. - /// A disposable object that can be used to close the group. - /// - /// A group opening is not be filtered since any subordinated logs may occur. - /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. - /// - public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, params object[] arguments ) - { - return @this.OpenGroup( level, null, String.Format( format, arguments ), ex ); - } - - #endregion - - #endregion - } -} +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLoggerExtension.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; +using System.Linq; +using System.Collections.Generic; +using System.Text; + +namespace CK.Core +{ + /// + /// Provides extension methods for and other types from the Activity logger framework. + /// + public static class ActivityLoggerExtension + { + /// + /// Gets this Group conclusions as a readeable string. + /// + /// This group conclusion. + /// Conclusion separator. + /// A lovely concatened string of conclusions. + public static string ToStringGroupConclusion( this IEnumerable @this, string conclusionSeparator = " - " ) + { + if( @this == null ) return String.Empty; + StringBuilder b = new StringBuilder(); + foreach( var e in @this ) + { + if( b.Length > 0 ) b.Append( conclusionSeparator ); + b.Append( e.Conclusion ); + } + return b.ToString(); + } + + /// + /// Gets the path as a readable string. + /// + /// This path. + /// Between elements. + /// There must be 3 placeholders {0} for the level, {1} for the text and {2} for the conclusion. + /// There must be 2 placeholders {0} for the level and {1} for the text. + /// Conclusion separator. + /// For Fatal errors. + /// For Errors. + /// For Warnings. + /// For Infos. + /// For Traces. + /// A lovely path. + public static string ToStringPath( this IEnumerable @this, + string elementSeparator = "> ", + string withoutConclusionFormat = "{0}{1} ", + string withConclusionFormat = "{0}{1} -{{ {2} }}", + string conclusionSeparator = " - ", + string fatal = "[Fatal]- ", + string error = "[Error]- ", + string warn = "[Warning]- ", + string info = "[Info]- ", + string trace = "" ) + { + if( @this == null ) return String.Empty; + StringBuilder b = new StringBuilder(); + foreach( var e in @this ) + { + if( b.Length > 0 ) b.Append( elementSeparator ); + string prefix = trace; + switch( e.Level ) + { + case LogLevel.Fatal: prefix = fatal; break; + case LogLevel.Error: prefix = error; break; + case LogLevel.Warn: prefix = warn; break; + case LogLevel.Info: prefix = info; break; + } + if( e.GroupConclusion != null ) b.AppendFormat( withConclusionFormat, prefix, e.Text, e.GroupConclusion.ToStringGroupConclusion( conclusionSeparator ) ); + else b.AppendFormat( withoutConclusionFormat, prefix, e.Text ); + } + return b.ToString(); + } + + /// + /// Concatenation of RegisteredClients + /// and RegisteredMuxClients + /// + /// This . + /// The enumeration of all output clients. + public static IEnumerable AllClients( this IActivityLoggerOutput @this ) + { + return @this.RegisteredClients.Cast().Concat( @this.RegisteredMuxClients ); + } + + #region Registrar + + /// + /// Registers multiple . + /// + /// This object. + /// Multiple clients to register. + /// This registrar to enable fluent syntax. + public static IActivityLoggerClientRegistrar Register( this IActivityLoggerClientRegistrar @this, IEnumerable clients ) + { + foreach( var c in clients ) @this.RegisterClient( c ); + return @this; + } + + /// + /// Registers multiple . + /// + /// This object. + /// Multiple clients to register. + /// This registrar to enable fluent syntax. + public static IActivityLoggerClientRegistrar Register( this IActivityLoggerClientRegistrar @this, params IActivityLoggerClient[] clients ) + { + return Register( @this, (IEnumerable)clients ); + } + + /// + /// Registers multiple . + /// + /// This object. + /// Multiple clients to register. + /// This registrar to enable fluent syntax. + public static IMuxActivityLoggerClientRegistrar Register( this IMuxActivityLoggerClientRegistrar @this, IEnumerable clients ) + { + foreach( var c in clients ) @this.RegisterMuxClient( c ); + return @this; + } + + /// + /// Registers multiple . + /// + /// This object. + /// Multiple clients to register. + /// This registrar to enable fluent syntax. + public static IMuxActivityLoggerClientRegistrar Register( this IMuxActivityLoggerClientRegistrar @this, params IMuxActivityLoggerClient[] clients ) + { + return Register( @this, (IEnumerable)clients ); + } + #endregion + + #region IActivityLogger.Filter( level ) + + class LogFilterSentinel : IDisposable + { + IActivityLogger _logger; + LogLevelFilter _prevLevel; + + public LogFilterSentinel( IActivityLogger l, LogLevelFilter filterLevel ) + { + _prevLevel = l.Filter; + _logger = l; + l.Filter = filterLevel; + } + + public void Dispose() + { + _logger.Filter = _prevLevel; + } + + } + + /// + /// Sets a filter level on this . The current will be automatically + /// restored when the returned will be disposed. + /// + /// This object. + /// The new filter level. + /// A object that will restore the current level. + public static IDisposable Filter( this IActivityLogger @this, LogLevelFilter filterLevel ) + { + return new LogFilterSentinel( @this, filterLevel ); + } + + #endregion IActivityLogger.Filter( level ) + + #region IActivityLogger.OpenGroup( ... ) + + /// + /// Opens a log level. CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// The log level of the group. + /// The text associated to the opening of the log. + /// A disposable object that can be used to close the group. + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, string text ) + { + return @this.OpenGroup( level, null, text ); + } + + /// + /// Opens a log level. CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// Optional function that will be called on group closing. + /// A composite format for the group title. + /// Arguments to format. + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Func getConclusionText, string format, params object[] arguments ) + { + return @this.OpenGroup( level, getConclusionText, String.Format( format, arguments ) ); + } + + /// + /// Opens a log level. CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// Format of the string. + /// Arguments to format. + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, string format, params object[] arguments ) + { + return @this.OpenGroup( level, null, String.Format( format, arguments ) ); + } + + #endregion + + #region IActivityLogger Trace(...), Info(...), Warn(...), Error(...) and Fatal(...). + + #region Trace + + /// + /// Logs the text if current is or above. + /// + /// This object. + /// Text to log as a trace. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text ); + return @this; + } + + /// + /// Logs a formatted text with one placeholder/parameter if current is or above. + /// + /// This object. + /// Text format to log as a trace. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) + { + if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); + @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0 ) ); + } + return @this; + } + + /// + /// Logs a formatted text with two placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a trace. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1 ) ); + return @this; + } + + /// + /// Logs a formatted text with three placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a trace. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1, arg2 ) ); + return @this; + } + + /// + /// Logs a formatted text with placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a trace. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, args ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// This object. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text() ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the parameter that accepts. + /// Parameter of the delegate. + /// This object. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, T param, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text( param ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the first parameter that accepts. + /// Type of the second parameter that accepts. + /// This object. + /// First parameter for the delegate. + /// Second parameter for the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, T1 param1, T2 param2, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text( param1, param2 ) ); + return @this; + } + #endregion + + #region Info + + /// + /// Logs the text if current is or above. + /// + /// This object. + /// Text to log as an info. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text ); + return @this; + } + + /// + /// Logs a formatted text with one placeholder/parameter if current is or above. + /// + /// This object. + /// Text format to log as an info. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) + { + if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); + @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0 ) ); + } + return @this; + } + + /// + /// Logs a formatted text with two placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as an info. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1 ) ); + return @this; + } + + /// + /// Logs a formatted text with three placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as an info. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1, arg2 ) ); + return @this; + } + + /// + /// Logs a formatted text with placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as an info. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, args ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// This object. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text() ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the parameter that accepts. + /// This object. + /// Parameter of the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, T param, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text( param ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the first parameter that accepts. + /// Type of the second parameter that accepts. + /// This object. + /// First parameter for the delegate. + /// Second parameter for the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, T1 param1, T2 param2, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text( param1, param2 ) ); + return @this; + } + #endregion + + #region Warn + + /// + /// Logs the text if current is or above. + /// + /// This object. + /// Text to log as a warning. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text ); + return @this; + } + + /// + /// Logs a formatted text with one placeholder/parameter if current is or above. + /// + /// This object. + /// Text format to log as a warning. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) + { + if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); + @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0 ) ); + } + return @this; + } + + /// + /// Logs a formatted text with two placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a warning. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1 ) ); + return @this; + } + + /// + /// Logs a formatted text with three placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a warning. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1, arg2 ) ); + return @this; + } + + /// + /// Logs a formatted text with placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a warning. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, args ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// This object. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text() ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the parameter that accepts. + /// This object. + /// Parameter of the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, T param, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text( param ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the first parameter that accepts. + /// Type of the second parameter that accepts. + /// This object. + /// First parameter for the delegate. + /// Second parameter for the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, T1 param1, T2 param2, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text( param1, param2 ) ); + return @this; + } + #endregion + + #region Error + + /// + /// Logs the text if current is or above. + /// + /// This object. + /// Text to log as an error. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text ); + return @this; + } + + /// + /// Logs a formatted text with one placeholder/parameter if current is or above. + /// + /// This object. + /// Text format to log as an error. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) + { + if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); + @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0 ) ); + } + return @this; + } + + /// + /// Logs a formatted text with two placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as an error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1 ) ); + return @this; + } + + /// + /// Logs a formatted text with three placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as an error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1, arg2 ) ); + return @this; + } + + /// + /// Logs a formatted text with placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as an error. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, args ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// This object. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text() ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the parameter that accepts. + /// This object. + /// Parameter of the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, T param, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text( param ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the first parameter that accepts. + /// Type of the second parameter that accepts. + /// This object. + /// First parameter for the delegate. + /// Second parameter for the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, T1 param1, T2 param2, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text( param1, param2 ) ); + return @this; + } + #endregion + + #region Fatal + + /// + /// Logs the text if current is or above. + /// + /// This object. + /// Text to log as a fatal error. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text ); + return @this; + } + + /// + /// Logs a formatted text with one placeholder/parameter if current is or above. + /// + /// This object. + /// Text format to log as a fatal error. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) + { + if( arg0 is Exception ) throw new ArgumentException( "Possible use of the wrong overload: Use the form that takes a first parameter of type Exception and then the string text instead of this ( string format, string arg0 ) overload to log the exception, or calls this overload explicitely with the Exception.Message string.", "arg0" ); + @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0 ) ); + } + return @this; + } + + /// + /// Logs a formatted text with two placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a fatal error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1 ) ); + return @this; + } + + /// + /// Logs a formatted text with three placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a fatal error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1, arg2 ) ); + return @this; + } + + /// + /// Logs a formatted text with placeholders/parameters if current is or above. + /// + /// This object. + /// Text format to log as a fatal error. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, args ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// This object. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text() ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the parameter that accepts. + /// This object. + /// Parameter of the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, T param, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text( param ) ); + return @this; + } + + /// + /// Logs a formatted text by calling a delegate if current is or above. + /// + /// Type of the first parameter that accepts. + /// Type of the second parameter that accepts. + /// This object. + /// First parameter for the delegate. + /// Second parameter for the delegate. + /// Delegate that returns a string. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, T1 param1, T2 param2, Func text ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text( param1, param2 ) ); + return @this; + } + #endregion + + #endregion + + #region IActivityLogger Trace( Exception ), Warn( Exception ), Error( Exception ), Fatal( Exception ), OpenGroup( Exception ). + + #region Trace + + /// + /// Logs the exception as a trace. + /// + /// This object. + /// The exception to log. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, Exception ex ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, null, ex ); + return @this; + } + + /// + /// Logs the exception as a trace. + /// + /// This object. + /// The exception to log. + /// Text to log as a trace. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, text, ex ); + return @this; + } + + /// + /// Logs the exception as a trace. + /// + /// This object. + /// The exception to log. + /// Text format to log as a trace. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0 ), ex ); + return @this; + } + + /// + /// Logs the exception as a trace. + /// + /// This object. + /// The exception to log. + /// Text format to log as a trace. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as a trace. + /// + /// This object. + /// The exception to log. + /// Text format to log as a trace. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as a trace. + /// + /// This object. + /// The exception to log. + /// Text format to log as a trace. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Trace( this IActivityLogger @this, Exception ex, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Trace ) @this.UnfilteredLog( LogLevel.Trace, String.Format( format, args ), ex ); + return @this; + } + + #endregion + + #region Info + + /// + /// Logs the exception as an information if current is or above. + /// + /// This object. + /// The exception to log. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, Exception ex ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, null, ex ); + return @this; + } + + /// + /// Logs the exception as an information if current is or above. + /// + /// This object. + /// The exception to log. + /// Text to log as an information. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, text, ex ); + return @this; + } + + /// + /// Logs the exception as an information if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an information. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0 ), ex ); + return @this; + } + + /// + /// Logs the exception as an information if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an information. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as an information if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an information. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as an information if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an information. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Info( this IActivityLogger @this, Exception ex, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Info ) @this.UnfilteredLog( LogLevel.Info, String.Format( format, args ), ex ); + return @this; + } + + #endregion + + #region Warn + + /// + /// Logs the exception as a warning if current is or above. + /// + /// This object. + /// The exception to log. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, Exception ex ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, null, ex ); + return @this; + } + + /// + /// Logs the exception as a warning if current is or above. + /// + /// This object. + /// The exception to log. + /// Text to log as a warning. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, text, ex ); + return @this; + } + + /// + /// Logs the exception as a warning if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as a warning. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0 ), ex ); + return @this; + } + + /// + /// Logs the exception as a warning if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as a warning. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as a warning if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as a warning. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as a warning if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as a warning. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Warn( this IActivityLogger @this, Exception ex, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Warn ) @this.UnfilteredLog( LogLevel.Warn, String.Format( format, args ), ex ); + return @this; + } + + #endregion + + #region Error + + /// + /// Logs the exception as an error if current is or above. + /// + /// This object. + /// The exception to log. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, Exception ex ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, null, ex ); + return @this; + } + + /// + /// Logs the exception as an error if current is or above. + /// + /// This object. + /// The exception to log. + /// Text to log as an error. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, text, ex ); + return @this; + } + + /// + /// Logs the exception as an error if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an error. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0 ), ex ); + return @this; + } + + /// + /// Logs the exception as an error if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as an error if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception as an error if current is or above. + /// + /// This object. + /// The exception to log. + /// Text format to log as an error. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Error( this IActivityLogger @this, Exception ex, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Error ) @this.UnfilteredLog( LogLevel.Error, String.Format( format, args ), ex ); + return @this; + } + + #endregion + + #region Fatal + + /// + /// Logs the exception (except if current is ). + /// + /// This object. + /// The exception to log. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, null, ex ); + return @this; + } + + /// + /// Logs the exception (except if current is ). + /// + /// This object. + /// The exception to log. + /// Text to log as a fatal error. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string text ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, text, ex ); + return @this; + } + + /// + /// Logs the exception (except if current is ). + /// + /// This object. + /// The exception to log. + /// Text format to log as a fatal error. + /// Parameter to format (placeholder {0}). + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, object arg0 ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0 ), ex ); + return @this; + } + + /// + /// Logs the exception (except if current is ). + /// + /// This object. + /// The exception to log. + /// Text format to log as a fatal error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1 ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception (except if current is ). + /// + /// This object. + /// The exception to log. + /// Text format to log as a fatal error. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, object arg0, object arg1, object arg2 ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, arg0, arg1 ), ex ); + return @this; + } + + /// + /// Logs the exception (except if current is ). + /// + /// This object. + /// The exception to log. + /// Text format to log as a fatal error. + /// Multiple parameters to format. + /// This logger to enable fluent syntax. + public static IActivityLogger Fatal( this IActivityLogger @this, Exception ex, string format, params object[] args ) + { + if( (int)@this.Filter <= (int)LogLevel.Fatal ) @this.UnfilteredLog( LogLevel.Fatal, String.Format( format, args ), ex ); + return @this; + } + + #endregion + + #region OpenGroup + + /// + /// Opens a log level associated to an . CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// The exception to log. + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex ) + { + return @this.OpenGroup( level, null, null, ex ); + } + + /// + /// Opens a log level associated to an . CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// The exception to log. + /// The group title. + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string text ) + { + return @this.OpenGroup( level, null, text, ex ); + } + + /// + /// Opens a log level associated to an . CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// Exception to log. + /// Text format for group title. + /// Parameter to format (placeholder {0}). + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, object arg0 ) + { + return @this.OpenGroup( level, null, String.Format( format, arg0 ), ex ); + } + + /// + /// Opens a log level associated to an . CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// Exception to log. + /// Text format for group title. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, object arg0, object arg1 ) + { + return @this.OpenGroup( level, null, String.Format( format, arg0, arg1 ), ex ); + } + + /// + /// Opens a log level associated to an . CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// Exception to log. + /// Text format for group title. + /// First parameter to format (placeholder {0}). + /// Second parameter to format (placeholder {1}). + /// Third parameter to format (placeholder {2}). + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, object arg0, object arg1, object arg2 ) + { + return @this.OpenGroup( level, null, String.Format( format, arg0, arg1, arg2 ), ex ); + } + + /// + /// Opens a log level associated to an . CloseGroup must be called in order to + /// close the group, or the returned object must be disposed. + /// + /// This object. + /// Log level. Since we are opening a group, the current Filter is ignored. + /// Exception to log. + /// A composite format for the group title. + /// Arguments to format. + /// A disposable object that can be used to close the group. + /// + /// A group opening is not be filtered since any subordinated logs may occur. + /// It is left to the implementation to handle (or not) filtering when CloseGroup is called. + /// + public static IDisposable OpenGroup( this IActivityLogger @this, LogLevel level, Exception ex, string format, params object[] arguments ) + { + return @this.OpenGroup( level, null, String.Format( format, arguments ), ex ); + } + + #endregion + + #endregion + } +} diff --git a/CK.Core/ActivityLogger/ActivityLoggerHybridClient.cs b/CK.Core/ActivityLogger/Impl/ActivityLoggerHybridClient.cs similarity index 82% rename from CK.Core/ActivityLogger/ActivityLoggerHybridClient.cs rename to CK.Core/ActivityLogger/Impl/ActivityLoggerHybridClient.cs index b4fd2ae..8eb5d7f 100644 --- a/CK.Core/ActivityLogger/ActivityLoggerHybridClient.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLoggerHybridClient.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLoggerHybridClient.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/ActivityLoggerOutput.cs b/CK.Core/ActivityLogger/Impl/ActivityLoggerOutput.cs similarity index 90% rename from CK.Core/ActivityLogger/ActivityLoggerOutput.cs rename to CK.Core/ActivityLogger/Impl/ActivityLoggerOutput.cs index c166d59..65f2230 100644 --- a/CK.Core/ActivityLogger/ActivityLoggerOutput.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLoggerOutput.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLoggerOutput.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/ActivityLoggerPathCatcher.cs b/CK.Core/ActivityLogger/Impl/ActivityLoggerPathCatcher.cs similarity index 89% rename from CK.Core/ActivityLogger/ActivityLoggerPathCatcher.cs rename to CK.Core/ActivityLogger/Impl/ActivityLoggerPathCatcher.cs index 20b88d5..4841ea0 100644 --- a/CK.Core/ActivityLogger/ActivityLoggerPathCatcher.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLoggerPathCatcher.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLoggerPathCatcher.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/ActivityLoggerTap.cs b/CK.Core/ActivityLogger/Impl/ActivityLoggerTap.cs similarity index 84% rename from CK.Core/ActivityLogger/ActivityLoggerTap.cs rename to CK.Core/ActivityLogger/Impl/ActivityLoggerTap.cs index d7eaed2..1b0d9de 100644 --- a/CK.Core/ActivityLogger/ActivityLoggerTap.cs +++ b/CK.Core/ActivityLogger/Impl/ActivityLoggerTap.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\ActivityLoggerTap.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/DefaultActivityLogger.cs b/CK.Core/ActivityLogger/Impl/DefaultActivityLogger.cs similarity index 74% rename from CK.Core/ActivityLogger/DefaultActivityLogger.cs rename to CK.Core/ActivityLogger/Impl/DefaultActivityLogger.cs index 2e381cc..a12c46b 100644 --- a/CK.Core/ActivityLogger/DefaultActivityLogger.cs +++ b/CK.Core/ActivityLogger/Impl/DefaultActivityLogger.cs @@ -1,120 +1,143 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace CK.Core -{ - /// - /// Gives access to concrete implementation of thanks to factory method. - /// - public class DefaultActivityLogger : ActivityLogger, IDefaultActivityLogger - { - /// - /// Factory method for implementation. - /// - /// A new implementation. - static public IDefaultActivityLogger Create() - { - return new DefaultActivityLogger(); - } - - class EmptyDefault : ActivityLogger.EmptyLogger, IDefaultActivityLogger - { - public ActivityLoggerTap Tap - { - get { return ActivityLoggerTap.Empty; } - } - - public IDefaultActivityLogger Register( IActivityLoggerSink sink ) - { - return this; - } - - public IDefaultActivityLogger Unregister( IActivityLoggerSink sink ) - { - return this; - } - - public IReadOnlyList RegisteredSinks - { - get { return ReadOnlyListEmpty.Empty; } - } - - public ActivityLoggerErrorCounter ErrorCounter - { - get { return ActivityLoggerErrorCounter.Empty; } - } - - public ActivityLoggerPathCatcher PathCatcher - { - get { return ActivityLoggerPathCatcher.Empty; } - } - - } - - /// - /// Empty (null object design pattern). - /// - static public new readonly IDefaultActivityLogger Empty = new EmptyDefault(); - - ActivityLoggerTap _tap; - ActivityLoggerErrorCounter _errorCounter; - ActivityLoggerPathCatcher _pathCatcher; - - DefaultActivityLogger() - { - _tap = new ActivityLoggerTap(); - _errorCounter = new ActivityLoggerErrorCounter(); - _pathCatcher = new ActivityLoggerPathCatcher(); - - // Order does not really matter matters here thankd to Closing/Closed pattern, but - // we order them in the "logical" sense. - // - // Registered as a Multiplexed client: will be the last one as beeing called: it is the final sink. - Output.RegisterMuxClient( _tap ); - - // Registered as a normal client: they will not receive - // external outputs. - // Will be called AFTER the ErrorCounter. - Output.RegisterClient( _pathCatcher ); - // Will be called first. - Output.RegisterClient( _errorCounter ); - - Output.NonRemoveableClients.AddRangeArray( _tap, _pathCatcher, _errorCounter ); - } - - ActivityLoggerTap IDefaultActivityLogger.Tap - { - get { return _tap; } - } - - ActivityLoggerErrorCounter IDefaultActivityLogger.ErrorCounter - { - get { return _errorCounter; } - } - - ActivityLoggerPathCatcher IDefaultActivityLogger.PathCatcher - { - get { return _pathCatcher; } - } - - IDefaultActivityLogger IDefaultActivityLogger.Register( IActivityLoggerSink sink ) - { - _tap.Register( sink ); - return this; - } - - IDefaultActivityLogger IDefaultActivityLogger.Unregister( IActivityLoggerSink sink ) - { - _tap.Unregister( sink ); - return this; - } - - IReadOnlyList IDefaultActivityLogger.RegisteredSinks - { - get { return _tap.RegisteredSinks; } - } - - } -} +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\DefaultActivityLogger.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace CK.Core +{ + /// + /// Gives access to concrete implementation of thanks to factory method. + /// + public class DefaultActivityLogger : ActivityLogger, IDefaultActivityLogger + { + /// + /// Factory method for implementation. + /// + /// A new implementation. + static public IDefaultActivityLogger Create() + { + return new DefaultActivityLogger(); + } + + class EmptyDefault : ActivityLoggerEmpty, IDefaultActivityLogger + { + public ActivityLoggerTap Tap + { + get { return ActivityLoggerTap.Empty; } + } + + public IDefaultActivityLogger Register( IActivityLoggerSink sink ) + { + return this; + } + + public IDefaultActivityLogger Unregister( IActivityLoggerSink sink ) + { + return this; + } + + public IReadOnlyList RegisteredSinks + { + get { return ReadOnlyListEmpty.Empty; } + } + + public ActivityLoggerErrorCounter ErrorCounter + { + get { return ActivityLoggerErrorCounter.Empty; } + } + + public ActivityLoggerPathCatcher PathCatcher + { + get { return ActivityLoggerPathCatcher.Empty; } + } + + } + + /// + /// Empty (null object design pattern). + /// + static public readonly IDefaultActivityLogger Empty = new EmptyDefault(); + + ActivityLoggerTap _tap; + ActivityLoggerErrorCounter _errorCounter; + ActivityLoggerPathCatcher _pathCatcher; + + DefaultActivityLogger() + { + _tap = new ActivityLoggerTap(); + _errorCounter = new ActivityLoggerErrorCounter(); + _pathCatcher = new ActivityLoggerPathCatcher(); + + // Order does not really matter matters here thankd to Closing/Closed pattern, but + // we order them in the "logical" sense. + // + // Registered as a Multiplexed client: will be the last one as beeing called: it is the final sink. + Output.RegisterMuxClient( _tap ); + + // Registered as a normal client: they will not receive + // external outputs. + // Will be called AFTER the ErrorCounter. + Output.RegisterClient( _pathCatcher ); + // Will be called first. + Output.RegisterClient( _errorCounter ); + + Output.NonRemoveableClients.AddRangeArray( _tap, _pathCatcher, _errorCounter ); + } + + ActivityLoggerTap IDefaultActivityLogger.Tap + { + get { return _tap; } + } + + ActivityLoggerErrorCounter IDefaultActivityLogger.ErrorCounter + { + get { return _errorCounter; } + } + + ActivityLoggerPathCatcher IDefaultActivityLogger.PathCatcher + { + get { return _pathCatcher; } + } + + IDefaultActivityLogger IDefaultActivityLogger.Register( IActivityLoggerSink sink ) + { + _tap.Register( sink ); + return this; + } + + IDefaultActivityLogger IDefaultActivityLogger.Unregister( IActivityLoggerSink sink ) + { + _tap.Unregister( sink ); + return this; + } + + IReadOnlyList IDefaultActivityLogger.RegisteredSinks + { + get { return _tap.RegisteredSinks; } + } + + } +} diff --git a/CK.Core/ActivityLogger/IActivityLoggerSink.cs b/CK.Core/ActivityLogger/Impl/IActivityLoggerSink.cs similarity index 65% rename from CK.Core/ActivityLogger/IActivityLoggerSink.cs rename to CK.Core/ActivityLogger/Impl/IActivityLoggerSink.cs index 0cd703b..f592338 100644 --- a/CK.Core/ActivityLogger/IActivityLoggerSink.cs +++ b/CK.Core/ActivityLogger/Impl/IActivityLoggerSink.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\IActivityLoggerSink.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/IDefaultActivityLogger.cs b/CK.Core/ActivityLogger/Impl/IDefaultActivityLogger.cs similarity index 68% rename from CK.Core/ActivityLogger/IDefaultActivityLogger.cs rename to CK.Core/ActivityLogger/Impl/IDefaultActivityLogger.cs index 866130a..0d1f011 100644 --- a/CK.Core/ActivityLogger/IDefaultActivityLogger.cs +++ b/CK.Core/ActivityLogger/Impl/IDefaultActivityLogger.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\IDefaultActivityLogger.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; namespace CK.Core { diff --git a/CK.Core/ActivityLogger/MuxActivityLoggerClientDemux.cs b/CK.Core/ActivityLogger/Impl/MuxActivityLoggerClientDemux.cs similarity index 82% rename from CK.Core/ActivityLogger/MuxActivityLoggerClientDemux.cs rename to CK.Core/ActivityLogger/Impl/MuxActivityLoggerClientDemux.cs index 09d1485..49449d2 100644 --- a/CK.Core/ActivityLogger/MuxActivityLoggerClientDemux.cs +++ b/CK.Core/ActivityLogger/Impl/MuxActivityLoggerClientDemux.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\MuxActivityLoggerClientDemux.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/MuxActivityLoggerHub.cs b/CK.Core/ActivityLogger/Impl/MuxActivityLoggerHub.cs similarity index 80% rename from CK.Core/ActivityLogger/MuxActivityLoggerHub.cs rename to CK.Core/ActivityLogger/Impl/MuxActivityLoggerHub.cs index f065580..8bca00a 100644 --- a/CK.Core/ActivityLogger/MuxActivityLoggerHub.cs +++ b/CK.Core/ActivityLogger/Impl/MuxActivityLoggerHub.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\Impl\MuxActivityLoggerHub.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/ActivityLogger/LogLevel.cs b/CK.Core/ActivityLogger/LogLevel.cs index 7c6ef4d..36df582 100644 --- a/CK.Core/ActivityLogger/LogLevel.cs +++ b/CK.Core/ActivityLogger/LogLevel.cs @@ -1,4 +1,26 @@ - +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\LogLevel.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + namespace CK.Core { /// diff --git a/CK.Core/ActivityLogger/LogLevelFilter.cs b/CK.Core/ActivityLogger/LogLevelFilter.cs index 2ee8166..857535b 100644 --- a/CK.Core/ActivityLogger/LogLevelFilter.cs +++ b/CK.Core/ActivityLogger/LogLevelFilter.cs @@ -1,4 +1,26 @@ - +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ActivityLogger\LogLevelFilter.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + namespace CK.Core { /// diff --git a/CK.Core/CK.Core.csproj b/CK.Core/CK.Core.csproj index 726e097..fc99ab0 100644 --- a/CK.Core/CK.Core.csproj +++ b/CK.Core/CK.Core.csproj @@ -58,30 +58,31 @@ - - - - - - + - + + - - + + + + + + + + + + + + + + + - - - - - - - - - + @@ -110,7 +111,6 @@ - diff --git a/CK.Core/CKException.cs b/CK.Core/CKException.cs index 3eb9967..c395786 100644 --- a/CK.Core/CKException.cs +++ b/CK.Core/CKException.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ChangeStatus.cs b/CK.Core/ChangeStatus.cs index 364080e..4961a35 100644 --- a/CK.Core/ChangeStatus.cs +++ b/CK.Core/ChangeStatus.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\StandardEnums.cs) is part of CiviKey. +* This file (CK.Core\ChangeStatus.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/CollectionExtension.cs b/CK.Core/CollectionExtension.cs index ebf4e95..2f79aff 100644 --- a/CK.Core/CollectionExtension.cs +++ b/CK.Core/CollectionExtension.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\ComponentModelExtension.cs) is part of CiviKey. +* This file (CK.Core\CollectionExtension.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ComponentModel/ComponentModelExtension.cs b/CK.Core/ComponentModel/ComponentModelExtension.cs index 2ae350c..2b890fe 100644 --- a/CK.Core/ComponentModel/ComponentModelExtension.cs +++ b/CK.Core/ComponentModel/ComponentModelExtension.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Core\ComponentModel\ComponentModelExtension.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ComponentModel/ISimpleServiceContainer.cs b/CK.Core/ComponentModel/ISimpleServiceContainer.cs index d072391..2c6e43a 100644 --- a/CK.Core/ComponentModel/ISimpleServiceContainer.cs +++ b/CK.Core/ComponentModel/ISimpleServiceContainer.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ComponentModel/ISimpleTypeFinder.cs b/CK.Core/ComponentModel/ISimpleTypeFinder.cs index 422721d..a841673 100644 --- a/CK.Core/ComponentModel/ISimpleTypeFinder.cs +++ b/CK.Core/ComponentModel/ISimpleTypeFinder.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\ComponentModel\ComponentModel\ISimpleTypeFinder.cs) is part of CiviKey. +* This file (CK.Core\ComponentModel\ISimpleTypeFinder.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ComponentModel/ISimpleTypeNaming.cs b/CK.Core/ComponentModel/ISimpleTypeNaming.cs index d402bad..618193d 100644 --- a/CK.Core/ComponentModel/ISimpleTypeNaming.cs +++ b/CK.Core/ComponentModel/ISimpleTypeNaming.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ComponentModel/ObservableSortedArrayKeyList.cs b/CK.Core/ComponentModel/ObservableSortedArrayKeyList.cs index c4fe4f5..bdc7fd1 100644 --- a/CK.Core/ComponentModel/ObservableSortedArrayKeyList.cs +++ b/CK.Core/ComponentModel/ObservableSortedArrayKeyList.cs @@ -1,4 +1,27 @@ -using System.Collections.Generic; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ComponentModel\ObservableSortedArrayKeyList.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System; diff --git a/CK.Core/ComponentModel/ObservableSortedArrayList.cs b/CK.Core/ComponentModel/ObservableSortedArrayList.cs index 3e97f04..73f722a 100644 --- a/CK.Core/ComponentModel/ObservableSortedArrayList.cs +++ b/CK.Core/ComponentModel/ObservableSortedArrayList.cs @@ -1,4 +1,27 @@ -using System.Collections.Generic; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ComponentModel\ObservableSortedArrayList.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; diff --git a/CK.Core/ComponentModel/SimpleServiceContainer.cs b/CK.Core/ComponentModel/SimpleServiceContainer.cs index cca8874..afa2b52 100644 --- a/CK.Core/ComponentModel/SimpleServiceContainer.cs +++ b/CK.Core/ComponentModel/SimpleServiceContainer.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ComponentModel/SimpleTypeFinder.cs b/CK.Core/ComponentModel/SimpleTypeFinder.cs index 8e0f443..4978b89 100644 --- a/CK.Core/ComponentModel/SimpleTypeFinder.cs +++ b/CK.Core/ComponentModel/SimpleTypeFinder.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Core\ComponentModel\SimpleTypeFinder.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ComponentModel/SortedArrayKeyList.cs b/CK.Core/ComponentModel/SortedArrayKeyList.cs index 897fc73..a63cc5f 100644 --- a/CK.Core/ComponentModel/SortedArrayKeyList.cs +++ b/CK.Core/ComponentModel/SortedArrayKeyList.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ComponentModel\SortedArrayKeyList.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; diff --git a/CK.Core/ComponentModel/SortedArrayList.cs b/CK.Core/ComponentModel/SortedArrayList.cs index 243eaee..a050804 100644 --- a/CK.Core/ComponentModel/SortedArrayList.cs +++ b/CK.Core/ComponentModel/SortedArrayList.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ComponentModel\SortedArrayList.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections; using System.Collections.Generic; diff --git a/CK.Core/DictionaryExtension.cs b/CK.Core/DictionaryExtension.cs index 033c621..4932a88 100644 --- a/CK.Core/DictionaryExtension.cs +++ b/CK.Core/DictionaryExtension.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Core\DictionaryExtension.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/EnumerableExtension.cs b/CK.Core/EnumerableExtension.cs index 3176168..29f0d74 100644 --- a/CK.Core/EnumerableExtension.cs +++ b/CK.Core/EnumerableExtension.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Core\EnumerableExtension.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/FIFOBuffer.cs b/CK.Core/FIFOBuffer.cs index 2a94c3c..28480e6 100644 --- a/CK.Core/FIFOBuffer.cs +++ b/CK.Core/FIFOBuffer.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\FIFOBuffer.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; diff --git a/CK.Core/File/FileUtil.cs b/CK.Core/File/FileUtil.cs index f2fa66f..23593a5 100644 --- a/CK.Core/File/FileUtil.cs +++ b/CK.Core/File/FileUtil.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Extension.cs) is part of CiviKey. +* This file (CK.Core\File\FileUtil.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/File/TemporaryFile.cs b/CK.Core/File/TemporaryFile.cs index 962df0f..40e0537 100644 --- a/CK.Core/File/TemporaryFile.cs +++ b/CK.Core/File/TemporaryFile.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\TemporaryFile.cs) is part of CiviKey. +* This file (CK.Core\File\TemporaryFile.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,8 +14,9 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, -* Invenietis +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , * All rights reserved. *-----------------------------------------------------------------------------*/ #endregion diff --git a/CK.Core/IFluentInterface.cs b/CK.Core/IFluentInterface.cs index 0e2ff64..0785f80 100644 --- a/CK.Core/IFluentInterface.cs +++ b/CK.Core/IFluentInterface.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Core\IFluentInterface.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/IMergeable.cs b/CK.Core/IMergeable.cs index 91f376a..c2c7f93 100644 --- a/CK.Core/IMergeable.cs +++ b/CK.Core/IMergeable.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Core\IMergeable.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/IObservableReadOnlyCollection.cs b/CK.Core/IObservableReadOnlyCollection.cs index a9ecb07..59baedd 100644 --- a/CK.Core/IObservableReadOnlyCollection.cs +++ b/CK.Core/IObservableReadOnlyCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\IObservableReadOnlyCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/IObservableReadOnlyList.cs b/CK.Core/IObservableReadOnlyList.cs index bb5ad82..a2d5dc8 100644 --- a/CK.Core/IObservableReadOnlyList.cs +++ b/CK.Core/IObservableReadOnlyList.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\IObservableReadOnlyList.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/IReadOnlyCollection.cs b/CK.Core/IReadOnlyCollection.cs index 475a92f..afeb845 100644 --- a/CK.Core/IReadOnlyCollection.cs +++ b/CK.Core/IReadOnlyCollection.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/IReadOnlyList.cs b/CK.Core/IReadOnlyList.cs index 818ffd9..19b826c 100644 --- a/CK.Core/IReadOnlyList.cs +++ b/CK.Core/IReadOnlyList.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/IReadOnlyMultiKeyedCollection.cs b/CK.Core/IReadOnlyMultiKeyedCollection.cs index b327450..a1ed0c2 100644 --- a/CK.Core/IReadOnlyMultiKeyedCollection.cs +++ b/CK.Core/IReadOnlyMultiKeyedCollection.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\IReadOnlyCollection.cs) is part of CiviKey. +* This file (CK.Core\IReadOnlyMultiKeyedCollection.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/IReadOnlyUniqueKeyedCollection.cs b/CK.Core/IReadOnlyUniqueKeyedCollection.cs index fbc765e..eee29ee 100644 --- a/CK.Core/IReadOnlyUniqueKeyedCollection.cs +++ b/CK.Core/IReadOnlyUniqueKeyedCollection.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\IReadOnlyCollection.cs) is part of CiviKey. +* This file (CK.Core\IReadOnlyUniqueKeyedCollection.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/ISimpleErrorMessage.cs b/CK.Core/ISimpleErrorMessage.cs index fa3dbe3..a59792e 100644 --- a/CK.Core/ISimpleErrorMessage.cs +++ b/CK.Core/ISimpleErrorMessage.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\ISimpleErrorMessage.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/IWritableCollection.cs b/CK.Core/IWritableCollection.cs index 4390e92..5e7c79a 100644 --- a/CK.Core/IWritableCollection.cs +++ b/CK.Core/IWritableCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\IWritableCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/IWritableCollector.cs b/CK.Core/IWritableCollector.cs index c30c54b..745f795 100644 --- a/CK.Core/IWritableCollector.cs +++ b/CK.Core/IWritableCollector.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\IWritableCollector.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/Impl/Collections/Adapter.cs b/CK.Core/Impl/Collections/Adapter.cs index 02b3f11..e3a91de 100644 --- a/CK.Core/Impl/Collections/Adapter.cs +++ b/CK.Core/Impl/Collections/Adapter.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/CollectionDebuggerView.cs b/CK.Core/Impl/Collections/CollectionDebuggerView.cs index f116c35..d477fdd 100644 --- a/CK.Core/Impl/Collections/CollectionDebuggerView.cs +++ b/CK.Core/Impl/Collections/CollectionDebuggerView.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\Impl\Collections\CollectionDebuggerView.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/Impl/Collections/EnumMono.cs b/CK.Core/Impl/Collections/EnumMono.cs index 64aed6e..5a60d1f 100644 --- a/CK.Core/Impl/Collections/EnumMono.cs +++ b/CK.Core/Impl/Collections/EnumMono.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/EnumerableConverter.cs b/CK.Core/Impl/Collections/EnumerableConverter.cs index 8585219..b3c6fc2 100644 --- a/CK.Core/Impl/Collections/EnumerableConverter.cs +++ b/CK.Core/Impl/Collections/EnumerableConverter.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/EnumeratorEmpty.cs b/CK.Core/Impl/Collections/EnumeratorEmpty.cs index 0c4498a..36c30cf 100644 --- a/CK.Core/Impl/Collections/EnumeratorEmpty.cs +++ b/CK.Core/Impl/Collections/EnumeratorEmpty.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Collections\EnumEmpty.cs) is part of CiviKey. +* This file (CK.Core\Impl\Collections\EnumeratorEmpty.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/ReadOnlyCollectionOnICollection.cs b/CK.Core/Impl/Collections/ReadOnlyCollectionOnICollection.cs index 7096d2c..e6b5ed1 100644 --- a/CK.Core/Impl/Collections/ReadOnlyCollectionOnICollection.cs +++ b/CK.Core/Impl/Collections/ReadOnlyCollectionOnICollection.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/ReadOnlyCollectionOnISet.cs b/CK.Core/Impl/Collections/ReadOnlyCollectionOnISet.cs index 02054e3..66316a7 100644 --- a/CK.Core/Impl/Collections/ReadOnlyCollectionOnISet.cs +++ b/CK.Core/Impl/Collections/ReadOnlyCollectionOnISet.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Collections\ReadOnlyCollectionOnICollection.cs) is part of CiviKey. +* This file (CK.Core\Impl\Collections\ReadOnlyCollectionOnISet.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/ReadOnlyCollectionTypeConverter.cs b/CK.Core/Impl/Collections/ReadOnlyCollectionTypeConverter.cs index 54a85cc..6aaf757 100644 --- a/CK.Core/Impl/Collections/ReadOnlyCollectionTypeConverter.cs +++ b/CK.Core/Impl/Collections/ReadOnlyCollectionTypeConverter.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Collections\ReadOnlyCollectionTypeAdapter.cs) is part of CiviKey. +* This file (CK.Core\Impl\Collections\ReadOnlyCollectionTypeConverter.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/ReadOnlyListEmpty.cs b/CK.Core/Impl/Collections/ReadOnlyListEmpty.cs index a91eaa5..52d9321 100644 --- a/CK.Core/Impl/Collections/ReadOnlyListEmpty.cs +++ b/CK.Core/Impl/Collections/ReadOnlyListEmpty.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/ReadOnlyListMono.cs b/CK.Core/Impl/Collections/ReadOnlyListMono.cs index 304d59d..0e6d2a7 100644 --- a/CK.Core/Impl/Collections/ReadOnlyListMono.cs +++ b/CK.Core/Impl/Collections/ReadOnlyListMono.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/ReadOnlyListOnIList.cs b/CK.Core/Impl/Collections/ReadOnlyListOnIList.cs index 035bb3f..ee6e09d 100644 --- a/CK.Core/Impl/Collections/ReadOnlyListOnIList.cs +++ b/CK.Core/Impl/Collections/ReadOnlyListOnIList.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/Collections/Wrapper.cs b/CK.Core/Impl/Collections/Wrapper.cs index 5d60482..9c68da1 100644 --- a/CK.Core/Impl/Collections/Wrapper.cs +++ b/CK.Core/Impl/Collections/Wrapper.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Impl/ReadOnlyExtension.cs b/CK.Core/Impl/ReadOnlyExtension.cs index 32f7d27..03289eb 100644 --- a/CK.Core/Impl/ReadOnlyExtension.cs +++ b/CK.Core/Impl/ReadOnlyExtension.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\ReadOnlyExtensions.cs) is part of CiviKey. +* This file (CK.Core\Impl\ReadOnlyExtension.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/InvalidFileException.cs b/CK.Core/InvalidFileException.cs index 9a6966d..a429132 100644 --- a/CK.Core/InvalidFileException.cs +++ b/CK.Core/InvalidFileException.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/MissingDisposeCallSentinel.cs b/CK.Core/MissingDisposeCallSentinel.cs deleted file mode 100644 index 5838da2..0000000 --- a/CK.Core/MissingDisposeCallSentinel.cs +++ /dev/null @@ -1,186 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading; -using System.Diagnostics; -using System.Runtime.Serialization; -using System.Runtime.CompilerServices; - -namespace CK.Core -{ - /// - /// Helper class that helps detecting missing calls to . - /// - /// - /// Sample code for a simple class (if unmanaged resources are involved or may be involved by the disposable object, - /// the standard Dispose(bool disposing) pattern must be implemented. - /// - /// class DisposableClassDebug : IDisposable - /// { - /// #if DEBUG - /// MissingDisposeCallSentinel _sentinel = new MissingDisposeCallSentinel(); - /// ~DisposableClassDebug() - /// { - /// MissingDisposeCallSentinel.RegisterMissing( _sentinel ); - /// } - /// #endif - /// - /// public void Dispose() - /// { - /// #if DEBUG - /// _sentinel = null; - /// GC.SuppressFinalize( this ); - /// #endif - /// } - /// } - /// - /// - public class MissingDisposeCallSentinel - { - /// - /// Creation time of the object. - /// - public readonly DateTime Time; - - /// - /// Thread identifier that created the object. - /// - public readonly int ThreadId; - - /// - /// Stack trace of the object creation. - /// - public readonly StackTrace StackTrace; - - MissingDisposeCallSentinel _nextFail; - static object _lock = new Object(); - static MissingDisposeCallSentinel _lastFail; - static int _count; - - /// - /// Initializes a new . - /// Should be called during a field initializer in the object. - /// - [MethodImplAttribute( MethodImplOptions.NoInlining )] - public MissingDisposeCallSentinel() - { - Time = DateTime.UtcNow; - ThreadId = Thread.CurrentThread.ManagedThreadId; - StackTrace = new StackTrace( 1, true ); - } - - /// - /// Overriden to return , and . - /// - /// Creation time information. - public override string ToString() - { - return - "Time: " + Time + Environment.NewLine + - "Thread: " + ThreadId + Environment.NewLine + - "Stack: " + StackTrace; - } - - /// - /// Clears all registered - /// This method is thread safe. - /// - public static void Clear() - { - lock( _lock ) - { - _lastFail = null; - _count = 0; - } - } - - /// - /// Gets all the that been registered via . - /// This method is thread safe. - /// - public static IEnumerable Missing - { - get - { - MissingDisposeCallSentinel last; - lock( _lock ) { last = _lastFail; } - while( last != null ) - { - yield return last; - last = last._nextFail; - } - } - } - - /// - /// Gets a string with missing dispose information. Null if is false. - /// This method is thread safe. - /// - /// Number of missing dispose and related information to each of them. - public static string DumpMissing() - { - lock( _lock ) - { - if( _count == 0 ) return null; - StringBuilder b = new StringBuilder(); - b.AppendFormat( "Missing {0} Dispose:", _count ); - MissingDisposeCallSentinel m = _lastFail; - while( m != null ) - { - b.AppendLine(); - b.Append( m.ToString() ); - m = m._nextFail; - } - return b.ToString(); - } - } - - /// - /// True if any missing call to dispose have been detected. - /// This method is thread safe. - /// - public static bool HasMissingDisposeCall - { - get { return _lastFail != null; } - } - - /// - /// Registers a sentinel. Should be called from the object finalizer. - /// This method is thread safe. - /// - /// A . Can be null (to avoid the test in the caller). - public static void RegisterMissing( MissingDisposeCallSentinel s ) - { - if( s != null ) - { - lock( _lock ) - { - s._nextFail = _lastFail; - _lastFail = s; - ++_count; - } - } - } - - /// - /// DEBUG must be active (at the caller level). Typical use: DebugCheckMissing( s => Debug.Fail( s ) );. - /// ( can not be used as a delegate because of its own .) - /// Triggers to detect missing dispose calls. - /// - [Conditional( "DEBUG" )] - public static void DebugCheckMissing( Action onMissing ) - { - GC.Collect( 1, GCCollectionMode.Forced ); - GC.WaitForPendingFinalizers(); - string missing = DumpMissing(); - if( missing != null ) - { - if( onMissing != null ) onMissing( missing ); - else Debug.Fail( missing ); - } - } - - } - -} diff --git a/CK.Core/OSVersionInfo.cs b/CK.Core/OSVersionInfo.cs index 0699dd5..f4199de 100644 --- a/CK.Core/OSVersionInfo.cs +++ b/CK.Core/OSVersionInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\OSVersionInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/CK.Core/Properties/AssemblyInfo.cs b/CK.Core/Properties/AssemblyInfo.cs index bbffb6d..bfae772 100644 --- a/CK.Core/Properties/AssemblyInfo.cs +++ b/CK.Core/Properties/AssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/SimpleErrorMessage.cs b/CK.Core/SimpleErrorMessage.cs index a658805..3b82eb2 100644 --- a/CK.Core/SimpleErrorMessage.cs +++ b/CK.Core/SimpleErrorMessage.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\SimpleErrorMessage.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/UniqueId/INamedVersionedUniqueId.cs b/CK.Core/UniqueId/INamedVersionedUniqueId.cs index d47b132..70faaae 100644 --- a/CK.Core/UniqueId/INamedVersionedUniqueId.cs +++ b/CK.Core/UniqueId/INamedVersionedUniqueId.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\UniqueId\INamedVersionedUniqueId.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/UniqueId/IUniqueId.cs b/CK.Core/UniqueId/IUniqueId.cs index 8be3d02..2a612ea 100644 --- a/CK.Core/UniqueId/IUniqueId.cs +++ b/CK.Core/UniqueId/IUniqueId.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\UniqueId\IUniqueId.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/UniqueId/IVersionedUniqueId.cs b/CK.Core/UniqueId/IVersionedUniqueId.cs index 7649233..5ae59ff 100644 --- a/CK.Core/UniqueId/IVersionedUniqueId.cs +++ b/CK.Core/UniqueId/IVersionedUniqueId.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\UniqueId\IVersionedUniqueId.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/UniqueId/SimpleNamedVersionedUniqueId.cs b/CK.Core/UniqueId/SimpleNamedVersionedUniqueId.cs index 1104095..8732123 100644 --- a/CK.Core/UniqueId/SimpleNamedVersionedUniqueId.cs +++ b/CK.Core/UniqueId/SimpleNamedVersionedUniqueId.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\UniqueId\SimpleNamedVersionedUniqueId.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/UniqueId/SimpleUniqueId.cs b/CK.Core/UniqueId/SimpleUniqueId.cs index 32971a7..7028107 100644 --- a/CK.Core/UniqueId/SimpleUniqueId.cs +++ b/CK.Core/UniqueId/SimpleUniqueId.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\UniqueId\SimpleUniqueId.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/UniqueId/SimpleVersionedUniqueId.cs b/CK.Core/UniqueId/SimpleVersionedUniqueId.cs index f44a4b3..335a5aa 100644 --- a/CK.Core/UniqueId/SimpleVersionedUniqueId.cs +++ b/CK.Core/UniqueId/SimpleVersionedUniqueId.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\UniqueId\SimpleVersionedUniqueId.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/Uri/UriExtension.cs b/CK.Core/Uri/UriExtension.cs index 48b4348..63562fe 100644 --- a/CK.Core/Uri/UriExtension.cs +++ b/CK.Core/Uri/UriExtension.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\Uri\UriExtension.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/Uri/UriHelper.cs b/CK.Core/Uri/UriHelper.cs index 3b06930..d34ce70 100644 --- a/CK.Core/Uri/UriHelper.cs +++ b/CK.Core/Uri/UriHelper.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Core\Uri\UriHelper.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Core/Util.Converter.cs b/CK.Core/Util.Converter.cs index 329c8dc..8624f2a 100644 --- a/CK.Core/Util.Converter.cs +++ b/CK.Core/Util.Converter.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Extension.cs) is part of CiviKey. +* This file (CK.Core\Util.Converter.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Util.Hash.cs b/CK.Core/Util.Hash.cs index 7575905..8fe6ec4 100644 --- a/CK.Core/Util.Hash.cs +++ b/CK.Core/Util.Hash.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Extension.cs) is part of CiviKey. +* This file (CK.Core\Util.Hash.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Util.Math.cs b/CK.Core/Util.Math.cs index 1a676fd..11280bb 100644 --- a/CK.Core/Util.Math.cs +++ b/CK.Core/Util.Math.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Extension.cs) is part of CiviKey. +* This file (CK.Core\Util.Math.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/Util.cs b/CK.Core/Util.cs index 3177bde..0256626 100644 --- a/CK.Core/Util.cs +++ b/CK.Core/Util.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Core\Impl\Extension.cs) is part of CiviKey. +* This file (CK.Core\Util.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Core/WeakReference.cs b/CK.Core/WeakReference.cs index 9014c24..4d13144 100644 --- a/CK.Core/WeakReference.cs +++ b/CK.Core/WeakReference.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Core\WeakReference.cs) is part of CiviKey. * @@ -14,12 +14,13 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. *-----------------------------------------------------------------------------*/ #endregion + using System; using System.Collections.Generic; using System.Linq; diff --git a/CK.Core/XmlExtension.cs b/CK.Core/XmlExtension.cs index 63eda88..8bb00ad 100644 --- a/CK.Core/XmlExtension.cs +++ b/CK.Core/XmlExtension.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Interop/Api/DesktopWindowManager.cs b/CK.Interop/Api/DesktopWindowManager.cs index 6f84463..e7a755f 100644 --- a/CK.Interop/Api/DesktopWindowManager.cs +++ b/CK.Interop/Api/DesktopWindowManager.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Interop\Api\DesktopWindowManager.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Runtime.InteropServices; namespace CK.Interop diff --git a/CK.Interop/Api/Win.cs b/CK.Interop/Api/Win.cs index 87ba13c..f90edec 100644 --- a/CK.Interop/Api/Win.cs +++ b/CK.Interop/Api/Win.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Interop\Api\Win.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Runtime.InteropServices; using System.Security; diff --git a/CK.Interop/DllImportAttribute.cs b/CK.Interop/DllImportAttribute.cs index dd6c51c..43bc03d 100644 --- a/CK.Interop/DllImportAttribute.cs +++ b/CK.Interop/DllImportAttribute.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Interop\DllImportAttribute.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Interop/NativeDllAttribute.cs b/CK.Interop/NativeDllAttribute.cs index e72990f..6c8ecb8 100644 --- a/CK.Interop/NativeDllAttribute.cs +++ b/CK.Interop/NativeDllAttribute.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Interop\NativeDllAttribute.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Interop/PInvoker.cs b/CK.Interop/PInvoker.cs index 35f2d46..fd291a4 100644 --- a/CK.Interop/PInvoker.cs +++ b/CK.Interop/PInvoker.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Interop\PInvoker.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Interop/Properties/AssemblyInfo.cs b/CK.Interop/Properties/AssemblyInfo.cs index 43922af..f54b622 100644 --- a/CK.Interop/Properties/AssemblyInfo.cs +++ b/CK.Interop/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Interop\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/CK.MultiTrait/MultiTrait.cs b/CK.MultiTrait/MultiTrait.cs index b231f46..f7361b1 100644 --- a/CK.MultiTrait/MultiTrait.cs +++ b/CK.MultiTrait/MultiTrait.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Context\KeyboardTrait.cs) is part of CiviKey. +* This file (CK.MultiTrait\MultiTrait.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.MultiTrait/MultiTraitContext.cs b/CK.MultiTrait/MultiTraitContext.cs index 7953c30..f8f0997 100644 --- a/CK.MultiTrait/MultiTraitContext.cs +++ b/CK.MultiTrait/MultiTraitContext.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.MultiTrait\MultiTraitContext.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; diff --git a/CK.MultiTrait/Properties/AssemblyInfo.cs b/CK.MultiTrait/Properties/AssemblyInfo.cs index f7338f5..253b2d4 100644 --- a/CK.MultiTrait/Properties/AssemblyInfo.cs +++ b/CK.MultiTrait/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.MultiTrait\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/CK.Plugin.Config.Model/ConfigChangedEventArgs.cs b/CK.Plugin.Config.Model/ConfigChangedEventArgs.cs index a4702a2..6e7cfed 100644 --- a/CK.Plugin.Config.Model/ConfigChangedEventArgs.cs +++ b/CK.Plugin.Config.Model/ConfigChangedEventArgs.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/ConfigExtension.cs b/CK.Plugin.Config.Model/ConfigExtension.cs index 5437c22..e1e63fb 100644 --- a/CK.Plugin.Config.Model/ConfigExtension.cs +++ b/CK.Plugin.Config.Model/ConfigExtension.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Config.Model\IConfigContainer.cs) is part of CiviKey. +* This file (CK.Plugin.Config.Model\ConfigExtension.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/ConfigPluginStatus.cs b/CK.Plugin.Config.Model/ConfigPluginStatus.cs index 9d79c24..45605dd 100644 --- a/CK.Plugin.Config.Model/ConfigPluginStatus.cs +++ b/CK.Plugin.Config.Model/ConfigPluginStatus.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Plugin\ConfigPluginStatus.cs) is part of CiviKey. +* This file (CK.Plugin.Config.Model\ConfigPluginStatus.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/ConfigurationAccessorAttribute.cs b/CK.Plugin.Config.Model/ConfigurationAccessorAttribute.cs index 9fdab54..cb1076f 100644 --- a/CK.Plugin.Config.Model/ConfigurationAccessorAttribute.cs +++ b/CK.Plugin.Config.Model/ConfigurationAccessorAttribute.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Config.Model\EditedConfigurationAttribute.cs) is part of CiviKey. +* This file (CK.Plugin.Config.Model\ConfigurationAccessorAttribute.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/IConfigContainer.cs b/CK.Plugin.Config.Model/IConfigContainer.cs index 42175ad..f33b3c9 100644 --- a/CK.Plugin.Config.Model/IConfigContainer.cs +++ b/CK.Plugin.Config.Model/IConfigContainer.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/IConfigEntry.cs b/CK.Plugin.Config.Model/IConfigEntry.cs index e4bb693..69e2126 100644 --- a/CK.Plugin.Config.Model/IConfigEntry.cs +++ b/CK.Plugin.Config.Model/IConfigEntry.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/IConfigObjectEntry.cs b/CK.Plugin.Config.Model/IConfigObjectEntry.cs index 03a5ef5..40afd56 100644 --- a/CK.Plugin.Config.Model/IConfigObjectEntry.cs +++ b/CK.Plugin.Config.Model/IConfigObjectEntry.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/IConfigPluginEntry.cs b/CK.Plugin.Config.Model/IConfigPluginEntry.cs index bbff14a..d66d5cb 100644 --- a/CK.Plugin.Config.Model/IConfigPluginEntry.cs +++ b/CK.Plugin.Config.Model/IConfigPluginEntry.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/IObjectPluginAssociation.cs b/CK.Plugin.Config.Model/IObjectPluginAssociation.cs index 71f6219..e2b1ec2 100644 --- a/CK.Plugin.Config.Model/IObjectPluginAssociation.cs +++ b/CK.Plugin.Config.Model/IObjectPluginAssociation.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/IObjectPluginConfig.cs b/CK.Plugin.Config.Model/IObjectPluginConfig.cs index 44d0161..cdb50a1 100644 --- a/CK.Plugin.Config.Model/IObjectPluginConfig.cs +++ b/CK.Plugin.Config.Model/IObjectPluginConfig.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config.Model/IObjectScopeTracker.cs b/CK.Plugin.Config.Model/IObjectScopeTracker.cs index 0593b39..f74fe34 100644 --- a/CK.Plugin.Config.Model/IObjectScopeTracker.cs +++ b/CK.Plugin.Config.Model/IObjectScopeTracker.cs @@ -1,4 +1,27 @@ -//using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config.Model\IObjectScopeTracker.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +//using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; diff --git a/CK.Plugin.Config.Model/IPluginConfigAccessor.cs b/CK.Plugin.Config.Model/IPluginConfigAccessor.cs index f88c9d1..918c2fd 100644 --- a/CK.Plugin.Config.Model/IPluginConfigAccessor.cs +++ b/CK.Plugin.Config.Model/IPluginConfigAccessor.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Config.Model\IPluginConfigAccessor.cs) is part of CiviKey. * @@ -14,12 +14,13 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. *-----------------------------------------------------------------------------*/ #endregion + using System; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config.Model/Properties/AssemblyInfo.cs b/CK.Plugin.Config.Model/Properties/AssemblyInfo.cs index 0f78083..269cc34 100644 --- a/CK.Plugin.Config.Model/Properties/AssemblyInfo.cs +++ b/CK.Plugin.Config.Model/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config.Model\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; diff --git a/CK.Plugin.Config/ConfigurationManager.cs b/CK.Plugin.Config/ConfigurationManager.cs index 7144aa0..5b62f36 100644 --- a/CK.Plugin.Config/ConfigurationManager.cs +++ b/CK.Plugin.Config/ConfigurationManager.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\ConfigurationManager.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Config/Events/CollectionElementChangedEventArgs.cs b/CK.Plugin.Config/Events/CollectionElementChangedEventArgs.cs index d79a1a0..3c53469 100644 --- a/CK.Plugin.Config/Events/CollectionElementChangedEventArgs.cs +++ b/CK.Plugin.Config/Events/CollectionElementChangedEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Events\CollectionElementChangedEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; namespace CK.Plugin.Config { diff --git a/CK.Plugin.Config/IConfigManager.cs b/CK.Plugin.Config/IConfigManager.cs index 5965772..b7823bf 100644 --- a/CK.Plugin.Config/IConfigManager.cs +++ b/CK.Plugin.Config/IConfigManager.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\IConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\IConfigManager.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/IConfigManagerExtended.cs b/CK.Plugin.Config/IConfigManagerExtended.cs index 3f6aab5..40e7be0 100644 --- a/CK.Plugin.Config/IConfigManagerExtended.cs +++ b/CK.Plugin.Config/IConfigManagerExtended.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\IConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\IConfigManagerExtended.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/ISolvedPluginConfiguration.cs b/CK.Plugin.Config/ISolvedPluginConfiguration.cs index 5bb0495..05542f4 100644 --- a/CK.Plugin.Config/ISolvedPluginConfiguration.cs +++ b/CK.Plugin.Config/ISolvedPluginConfiguration.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\IConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\ISolvedPluginConfiguration.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/Impl/Collections/LiveUserAction.cs b/CK.Plugin.Config/Impl/Collections/LiveUserAction.cs index a6121c7..5d2eeb0 100644 --- a/CK.Plugin.Config/Impl/Collections/LiveUserAction.cs +++ b/CK.Plugin.Config/Impl/Collections/LiveUserAction.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Impl\Collections\LiveUserAction.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; namespace CK.Plugin.Config { internal class LiveUserAction : ILiveUserAction diff --git a/CK.Plugin.Config/Impl/Collections/LiveUserConfiguration.cs b/CK.Plugin.Config/Impl/Collections/LiveUserConfiguration.cs index 770c6b5..cc4a941 100644 --- a/CK.Plugin.Config/Impl/Collections/LiveUserConfiguration.cs +++ b/CK.Plugin.Config/Impl/Collections/LiveUserConfiguration.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Config\Impl\Configuration\Collections\LiveUserConfiguration.cs) is part of CiviKey. +* This file (CK.Plugin.Config\Impl\Collections\LiveUserConfiguration.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/Impl/Collections/PluginStatus.cs b/CK.Plugin.Config/Impl/Collections/PluginStatus.cs index 8034063..afa565d 100644 --- a/CK.Plugin.Config/Impl/Collections/PluginStatus.cs +++ b/CK.Plugin.Config/Impl/Collections/PluginStatus.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Impl\Collections\PluginStatus.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Core; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config/Impl/Collections/PluginStatusCollection.cs b/CK.Plugin.Config/Impl/Collections/PluginStatusCollection.cs index b7c1c5b..afc3c80 100644 --- a/CK.Plugin.Config/Impl/Collections/PluginStatusCollection.cs +++ b/CK.Plugin.Config/Impl/Collections/PluginStatusCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Impl\Collections\PluginStatusCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Linq; using System.Collections.Generic; using CK.Storage; diff --git a/CK.Plugin.Config/Impl/Collections/UriHistory.cs b/CK.Plugin.Config/Impl/Collections/UriHistory.cs index ee7e811..8d0c94a 100644 --- a/CK.Plugin.Config/Impl/Collections/UriHistory.cs +++ b/CK.Plugin.Config/Impl/Collections/UriHistory.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\ConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\Impl\Collections\UriHistory.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/Impl/Collections/UriHistoryCollection.cs b/CK.Plugin.Config/Impl/Collections/UriHistoryCollection.cs index 58fa201..47ab619 100644 --- a/CK.Plugin.Config/Impl/Collections/UriHistoryCollection.cs +++ b/CK.Plugin.Config/Impl/Collections/UriHistoryCollection.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\ConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\Impl\Collections\UriHistoryCollection.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/Impl/ConfigManagerImpl.cs b/CK.Plugin.Config/Impl/ConfigManagerImpl.cs index 94a17d8..437254e 100644 --- a/CK.Plugin.Config/Impl/ConfigManagerImpl.cs +++ b/CK.Plugin.Config/Impl/ConfigManagerImpl.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\ConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\Impl\ConfigManagerImpl.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/Impl/ConfigurationBase.cs b/CK.Plugin.Config/Impl/ConfigurationBase.cs index 9492496..0051e77 100644 --- a/CK.Plugin.Config/Impl/ConfigurationBase.cs +++ b/CK.Plugin.Config/Impl/ConfigurationBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Impl\ConfigurationBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Diagnostics; using CK.Core; using CK.Storage; diff --git a/CK.Plugin.Config/Impl/RequirementLayerSerializer.cs b/CK.Plugin.Config/Impl/RequirementLayerSerializer.cs index 240558e..1bea01b 100644 --- a/CK.Plugin.Config/Impl/RequirementLayerSerializer.cs +++ b/CK.Plugin.Config/Impl/RequirementLayerSerializer.cs @@ -1,4 +1,27 @@ -using CK.Plugin; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Impl\RequirementLayerSerializer.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using CK.Plugin; using CK.Storage; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config/Impl/SolvedPluginConfiguration.cs b/CK.Plugin.Config/Impl/SolvedPluginConfiguration.cs index adca2b9..42710a1 100644 --- a/CK.Plugin.Config/Impl/SolvedPluginConfiguration.cs +++ b/CK.Plugin.Config/Impl/SolvedPluginConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Impl\SolvedPluginConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Diagnostics; using System.Collections.Generic; using CK.Core; diff --git a/CK.Plugin.Config/Impl/SystemConfiguration.cs b/CK.Plugin.Config/Impl/SystemConfiguration.cs index 2794d34..a9f4080 100644 --- a/CK.Plugin.Config/Impl/SystemConfiguration.cs +++ b/CK.Plugin.Config/Impl/SystemConfiguration.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\ConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\Impl\SystemConfiguration.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/Impl/UserConfiguration.cs b/CK.Plugin.Config/Impl/UserConfiguration.cs index e1a53b1..637b442 100644 --- a/CK.Plugin.Config/Impl/UserConfiguration.cs +++ b/CK.Plugin.Config/Impl/UserConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Impl\UserConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Diagnostics; using CK.Core; using CK.Storage; diff --git a/CK.Plugin.Config/Properties/AssemblyInfo.cs b/CK.Plugin.Config/Properties/AssemblyInfo.cs index 789f036..9bf93e7 100644 --- a/CK.Plugin.Config/Properties/AssemblyInfo.cs +++ b/CK.Plugin.Config/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/CK.Plugin.Config/SolvedPluginConfigElement.cs b/CK.Plugin.Config/SolvedPluginConfigElement.cs index 2f847c5..78e988c 100644 --- a/CK.Plugin.Config/SolvedPluginConfigElement.cs +++ b/CK.Plugin.Config/SolvedPluginConfigElement.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Loader\PluginLoaderInfo.cs) is part of CiviKey. +* This file (CK.Plugin.Config\SolvedPluginConfigElement.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/UserAndSystemConfig/IPluginStatus.cs b/CK.Plugin.Config/UserAndSystemConfig/IPluginStatus.cs index a1a8a07..849ec14 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/IPluginStatus.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/IPluginStatus.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\IPluginStatus.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; namespace CK.Plugin.Config { diff --git a/CK.Plugin.Config/UserAndSystemConfig/IPluginStatusCollection.cs b/CK.Plugin.Config/UserAndSystemConfig/IPluginStatusCollection.cs index 427157b..7a43c7a 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/IPluginStatusCollection.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/IPluginStatusCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\IPluginStatusCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Core; using System.ComponentModel; diff --git a/CK.Plugin.Config/UserAndSystemConfig/ISystemConfiguration.cs b/CK.Plugin.Config/UserAndSystemConfig/ISystemConfiguration.cs index c21b357..c064ce6 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/ISystemConfiguration.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/ISystemConfiguration.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\ConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\UserAndSystemConfig\ISystemConfiguration.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/UserAndSystemConfig/IUriHistory.cs b/CK.Plugin.Config/UserAndSystemConfig/IUriHistory.cs index 93a78bd..e81bfa3 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/IUriHistory.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/IUriHistory.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\ConfigManager.cs) is part of CiviKey. +* This file (CK.Plugin.Config\UserAndSystemConfig\IUriHistory.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,14 +14,13 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. *-----------------------------------------------------------------------------*/ #endregion - using System; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config/UserAndSystemConfig/IUriHistoryCollection.cs b/CK.Plugin.Config/UserAndSystemConfig/IUriHistoryCollection.cs index 7934e3d..e2245f3 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/IUriHistoryCollection.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/IUriHistoryCollection.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\IPluginConfigAccessor.cs) is part of CiviKey. +* This file (CK.Plugin.Config\UserAndSystemConfig\IUriHistoryCollection.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/UserAndSystemConfig/IUserConfiguration.cs b/CK.Plugin.Config/UserAndSystemConfig/IUserConfiguration.cs index d10ca45..8ae59a6 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/IUserConfiguration.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/IUserConfiguration.cs @@ -1,4 +1,26 @@ - +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\IUserConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + using System.ComponentModel; namespace CK.Plugin.Config { diff --git a/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ConfigUserAction.cs b/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ConfigUserAction.cs index 39dbf91..57fc38d 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ConfigUserAction.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ConfigUserAction.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Config.Model\ConfigUserAction.cs) is part of CiviKey. +* This file (CK.Plugin.Config\UserAndSystemConfig\LiveConfiguration\ConfigUserAction.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserAction.cs b/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserAction.cs index 7ca04fc..1633baa 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserAction.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserAction.cs @@ -1,4 +1,26 @@ - +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\LiveConfiguration\ILiveUserAction.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + using System; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserConfiguration.cs b/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserConfiguration.cs index 53261ea..1ae01bc 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserConfiguration.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/LiveConfiguration/ILiveUserConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\LiveConfiguration\ILiveUserConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Core; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangedEventArgs.cs b/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangedEventArgs.cs index caf619e..eb483d7 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangedEventArgs.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangedEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\LiveUserConfigurationChangedEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Core; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangingEventArgs.cs b/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangingEventArgs.cs index d4cd8d5..40ed27f 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangingEventArgs.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/LiveUserConfigurationChangingEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\LiveUserConfigurationChangingEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Core; using System.ComponentModel; diff --git a/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangedEventArgs.cs b/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangedEventArgs.cs index 3abaa59..5dfa65f 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangedEventArgs.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangedEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\PluginStatusCollectionChangedEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Core; namespace CK.Plugin.Config diff --git a/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangingEventArgs.cs b/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangingEventArgs.cs index f66fc87..cfcba6d 100644 --- a/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangingEventArgs.cs +++ b/CK.Plugin.Config/UserAndSystemConfig/PluginStatusCollectionChangingEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Config\UserAndSystemConfig\PluginStatusCollectionChangingEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.ComponentModel; using CK.Core; diff --git a/CK.Plugin.Discoverer.Runner/DiscoveredInfo.cs b/CK.Plugin.Discoverer.Runner/DiscoveredInfo.cs index 1dbf0f0..48a59c7 100644 --- a/CK.Plugin.Discoverer.Runner/DiscoveredInfo.cs +++ b/CK.Plugin.Discoverer.Runner/DiscoveredInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/PluginAssemblyInfo.cs b/CK.Plugin.Discoverer.Runner/PluginAssemblyInfo.cs index 38a9519..90c0696 100644 --- a/CK.Plugin.Discoverer.Runner/PluginAssemblyInfo.cs +++ b/CK.Plugin.Discoverer.Runner/PluginAssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/PluginConfigAccessorInfo.cs b/CK.Plugin.Discoverer.Runner/PluginConfigAccessorInfo.cs index 83c37b7..da76914 100644 --- a/CK.Plugin.Discoverer.Runner/PluginConfigAccessorInfo.cs +++ b/CK.Plugin.Discoverer.Runner/PluginConfigAccessorInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Discoverer.Runner\PluginEditorAssociationInfo.cs) is part of CiviKey. +* This file (CK.Plugin.Discoverer.Runner\PluginConfigAccessorInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/PluginDiscoverer.cs b/CK.Plugin.Discoverer.Runner/PluginDiscoverer.cs index c87387a..15aee19 100644 --- a/CK.Plugin.Discoverer.Runner/PluginDiscoverer.cs +++ b/CK.Plugin.Discoverer.Runner/PluginDiscoverer.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/PluginInfo.cs b/CK.Plugin.Discoverer.Runner/PluginInfo.cs index af6fd0d..2e18f34 100644 --- a/CK.Plugin.Discoverer.Runner/PluginInfo.cs +++ b/CK.Plugin.Discoverer.Runner/PluginInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/Properties/AssemblyInfo.cs b/CK.Plugin.Discoverer.Runner/Properties/AssemblyInfo.cs index ecc943d..752e6e5 100644 --- a/CK.Plugin.Discoverer.Runner/Properties/AssemblyInfo.cs +++ b/CK.Plugin.Discoverer.Runner/Properties/AssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/RunnerDataHolder.cs b/CK.Plugin.Discoverer.Runner/RunnerDataHolder.cs index 48813ad..0b29c81 100644 --- a/CK.Plugin.Discoverer.Runner/RunnerDataHolder.cs +++ b/CK.Plugin.Discoverer.Runner/RunnerDataHolder.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/ServiceInfo.cs b/CK.Plugin.Discoverer.Runner/ServiceInfo.cs index 3c9f505..7241a0f 100644 --- a/CK.Plugin.Discoverer.Runner/ServiceInfo.cs +++ b/CK.Plugin.Discoverer.Runner/ServiceInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/ServiceRefInfo.cs b/CK.Plugin.Discoverer.Runner/ServiceRefInfo.cs index 4a0819a..0d3d57a 100644 --- a/CK.Plugin.Discoverer.Runner/ServiceRefInfo.cs +++ b/CK.Plugin.Discoverer.Runner/ServiceRefInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Discoverer.Runner\ServiceReferenceInfo.cs) is part of CiviKey. +* This file (CK.Plugin.Discoverer.Runner\ServiceRefInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/ServiceReferenceInfo.cs b/CK.Plugin.Discoverer.Runner/ServiceReferenceInfo.cs index 19ab8d7..d866261 100644 --- a/CK.Plugin.Discoverer.Runner/ServiceReferenceInfo.cs +++ b/CK.Plugin.Discoverer.Runner/ServiceReferenceInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer.Runner/SimpleEventInfo.cs b/CK.Plugin.Discoverer.Runner/SimpleEventInfo.cs index 1b1da5d..a7bf8ec 100644 --- a/CK.Plugin.Discoverer.Runner/SimpleEventInfo.cs +++ b/CK.Plugin.Discoverer.Runner/SimpleEventInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer.Runner\SimpleEventInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Discoverer.Runner/SimpleMethodInfo.cs b/CK.Plugin.Discoverer.Runner/SimpleMethodInfo.cs index acace1f..66cbdc5 100644 --- a/CK.Plugin.Discoverer.Runner/SimpleMethodInfo.cs +++ b/CK.Plugin.Discoverer.Runner/SimpleMethodInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer.Runner\SimpleMethodInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Discoverer.Runner/SimpleParameterInfo.cs b/CK.Plugin.Discoverer.Runner/SimpleParameterInfo.cs index 049351e..6bdc43c 100644 --- a/CK.Plugin.Discoverer.Runner/SimpleParameterInfo.cs +++ b/CK.Plugin.Discoverer.Runner/SimpleParameterInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer.Runner\SimpleParameterInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Discoverer.Runner/SimplePropertyInfo.cs b/CK.Plugin.Discoverer.Runner/SimplePropertyInfo.cs index 8871449..55ef4fd 100644 --- a/CK.Plugin.Discoverer.Runner/SimplePropertyInfo.cs +++ b/CK.Plugin.Discoverer.Runner/SimplePropertyInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer.Runner\SimplePropertyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Discoverer/DiscoveredInfo.cs b/CK.Plugin.Discoverer/DiscoveredInfo.cs index 37a842d..f8a4503 100644 --- a/CK.Plugin.Discoverer/DiscoveredInfo.cs +++ b/CK.Plugin.Discoverer/DiscoveredInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/PluginAssemblyInfo.cs b/CK.Plugin.Discoverer/PluginAssemblyInfo.cs index 6f6c662..7ce1122 100644 --- a/CK.Plugin.Discoverer/PluginAssemblyInfo.cs +++ b/CK.Plugin.Discoverer/PluginAssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/PluginConfigAccessorInfo.cs b/CK.Plugin.Discoverer/PluginConfigAccessorInfo.cs index d94ddd0..40f3a21 100644 --- a/CK.Plugin.Discoverer/PluginConfigAccessorInfo.cs +++ b/CK.Plugin.Discoverer/PluginConfigAccessorInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Discoverer\PluginEditorAssociationInfo.cs) is part of CiviKey. +* This file (CK.Plugin.Discoverer\PluginConfigAccessorInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/PluginDiscoverer.cs b/CK.Plugin.Discoverer/PluginDiscoverer.cs index 7a27c6c..32f799f 100644 --- a/CK.Plugin.Discoverer/PluginDiscoverer.cs +++ b/CK.Plugin.Discoverer/PluginDiscoverer.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/PluginInfo.cs b/CK.Plugin.Discoverer/PluginInfo.cs index dc12d8f..407ad03 100644 --- a/CK.Plugin.Discoverer/PluginInfo.cs +++ b/CK.Plugin.Discoverer/PluginInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/Properties/AssemblyInfo.cs b/CK.Plugin.Discoverer/Properties/AssemblyInfo.cs index d125cd4..0a575de 100644 --- a/CK.Plugin.Discoverer/Properties/AssemblyInfo.cs +++ b/CK.Plugin.Discoverer/Properties/AssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/ServiceInfo.cs b/CK.Plugin.Discoverer/ServiceInfo.cs index 38f34b5..13ae2a5 100644 --- a/CK.Plugin.Discoverer/ServiceInfo.cs +++ b/CK.Plugin.Discoverer/ServiceInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/ServiceReferenceInfo.cs b/CK.Plugin.Discoverer/ServiceReferenceInfo.cs index b9e94ff..e5203b9 100644 --- a/CK.Plugin.Discoverer/ServiceReferenceInfo.cs +++ b/CK.Plugin.Discoverer/ServiceReferenceInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Discoverer/SimpleEventInfo.cs b/CK.Plugin.Discoverer/SimpleEventInfo.cs index 1f3412f..28c6e58 100644 --- a/CK.Plugin.Discoverer/SimpleEventInfo.cs +++ b/CK.Plugin.Discoverer/SimpleEventInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer\SimpleEventInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Discoverer/SimpleMethodInfo.cs b/CK.Plugin.Discoverer/SimpleMethodInfo.cs index fb3a2ba..e56d784 100644 --- a/CK.Plugin.Discoverer/SimpleMethodInfo.cs +++ b/CK.Plugin.Discoverer/SimpleMethodInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer\SimpleMethodInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Discoverer/SimpleParameterInfo.cs b/CK.Plugin.Discoverer/SimpleParameterInfo.cs index a22b344..6f682b9 100644 --- a/CK.Plugin.Discoverer/SimpleParameterInfo.cs +++ b/CK.Plugin.Discoverer/SimpleParameterInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer\SimpleParameterInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Discoverer/SimplePropertyInfo.cs b/CK.Plugin.Discoverer/SimplePropertyInfo.cs index 873bb28..0be0a9f 100644 --- a/CK.Plugin.Discoverer/SimplePropertyInfo.cs +++ b/CK.Plugin.Discoverer/SimplePropertyInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Discoverer\SimplePropertyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Host/Plugin/ExecutionPlanResult.cs b/CK.Plugin.Host/Plugin/ExecutionPlanResult.cs index ad5dc4e..64d6e39 100644 --- a/CK.Plugin.Host/Plugin/ExecutionPlanResult.cs +++ b/CK.Plugin.Host/Plugin/ExecutionPlanResult.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Host\Plugin\ExecutionPlanResult.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Host/Plugin/PluginHost.cs b/CK.Plugin.Host/Plugin/PluginHost.cs index bde5903..acda1e0 100644 --- a/CK.Plugin.Host/Plugin/PluginHost.cs +++ b/CK.Plugin.Host/Plugin/PluginHost.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Host\Plugin\PluginHost.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Host/Plugin/PluginProxy.cs b/CK.Plugin.Host/Plugin/PluginProxy.cs index 5465e3e..f530b74 100644 --- a/CK.Plugin.Host/Plugin/PluginProxy.cs +++ b/CK.Plugin.Host/Plugin/PluginProxy.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Host\Plugin\PluginProxy.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Host/Plugin/PluginProxyBase.cs b/CK.Plugin.Host/Plugin/PluginProxyBase.cs index 37e361f..16d9907 100644 --- a/CK.Plugin.Host/Plugin/PluginProxyBase.cs +++ b/CK.Plugin.Host/Plugin/PluginProxyBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Host\Plugin\PluginProxyBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Host/Properties/AssemblyInfo.cs b/CK.Plugin.Host/Properties/AssemblyInfo.cs index 2b0d3a0..f5d6cb9 100644 --- a/CK.Plugin.Host/Properties/AssemblyInfo.cs +++ b/CK.Plugin.Host/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Host\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; diff --git a/CK.Plugin.Host/Service/DefaultProxyDefinition.cs b/CK.Plugin.Host/Service/DefaultProxyDefinition.cs index eee4c2f..d8a93c9 100644 --- a/CK.Plugin.Host/Service/DefaultProxyDefinition.cs +++ b/CK.Plugin.Host/Service/DefaultProxyDefinition.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\DefaultProxyDefinition.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\DefaultProxyDefinition.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/IProxyDefinition.cs b/CK.Plugin.Host/Service/IProxyDefinition.cs index 4ee986d..a3376c2 100644 --- a/CK.Plugin.Host/Service/IProxyDefinition.cs +++ b/CK.Plugin.Host/Service/IProxyDefinition.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\IProxyDefinition.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\IProxyDefinition.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogEventEntry.cs b/CK.Plugin.Host/Service/LogEventEntry.cs index 38c52bd..3dbdb75 100644 --- a/CK.Plugin.Host/Service/LogEventEntry.cs +++ b/CK.Plugin.Host/Service/LogEventEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogEventEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogEventEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogEventEntryError.cs b/CK.Plugin.Host/Service/LogEventEntryError.cs index 7dd0f42..259f97d 100644 --- a/CK.Plugin.Host/Service/LogEventEntryError.cs +++ b/CK.Plugin.Host/Service/LogEventEntryError.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogEventEntryError.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogEventEntryError.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogEventNotRunningError.cs b/CK.Plugin.Host/Service/LogEventNotRunningError.cs index a5b44ae..b9a4f16 100644 --- a/CK.Plugin.Host/Service/LogEventNotRunningError.cs +++ b/CK.Plugin.Host/Service/LogEventNotRunningError.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogEventEntryError.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogEventNotRunningError.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogExternalEntry.cs b/CK.Plugin.Host/Service/LogExternalEntry.cs index 23d3a2a..81f870c 100644 --- a/CK.Plugin.Host/Service/LogExternalEntry.cs +++ b/CK.Plugin.Host/Service/LogExternalEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogMethodEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogExternalEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogExternalErrorEntry.cs b/CK.Plugin.Host/Service/LogExternalErrorEntry.cs index a62530e..fa09704 100644 --- a/CK.Plugin.Host/Service/LogExternalErrorEntry.cs +++ b/CK.Plugin.Host/Service/LogExternalErrorEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogMethodEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogExternalErrorEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogMethodEntry.cs b/CK.Plugin.Host/Service/LogMethodEntry.cs index eb3b7c7..f08a9db 100644 --- a/CK.Plugin.Host/Service/LogMethodEntry.cs +++ b/CK.Plugin.Host/Service/LogMethodEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogMethodEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogMethodEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogMethodEntryError.cs b/CK.Plugin.Host/Service/LogMethodEntryError.cs index 49ae729..d92685b 100644 --- a/CK.Plugin.Host/Service/LogMethodEntryError.cs +++ b/CK.Plugin.Host/Service/LogMethodEntryError.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogMethodEntryError.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogMethodEntryError.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/LogMethodError.cs b/CK.Plugin.Host/Service/LogMethodError.cs index 47c86dc..2f4a6bf 100644 --- a/CK.Plugin.Host/Service/LogMethodError.cs +++ b/CK.Plugin.Host/Service/LogMethodError.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogMethodError.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\LogMethodError.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/ProxyFactory.cs b/CK.Plugin.Host/Service/ProxyFactory.cs index 41f1048..f791099 100644 --- a/CK.Plugin.Host/Service/ProxyFactory.cs +++ b/CK.Plugin.Host/Service/ProxyFactory.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\ProxyFactory.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\ProxyFactory.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/ServiceHost.cs b/CK.Plugin.Host/Service/ServiceHost.cs index 7f0074a..0aaa9d2 100644 --- a/CK.Plugin.Host/Service/ServiceHost.cs +++ b/CK.Plugin.Host/Service/ServiceHost.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\ServiceHost.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\ServiceHost.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/ServiceProxyBase.cs b/CK.Plugin.Host/Service/ServiceProxyBase.cs index 6a3d275..4c4a61d 100644 --- a/CK.Plugin.Host/Service/ServiceProxyBase.cs +++ b/CK.Plugin.Host/Service/ServiceProxyBase.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\ServiceProxyBase.cs) is part of CiviKey. +* This file (CK.Plugin.Host\Service\ServiceProxyBase.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Host/Service/SimpleServiceHostConfiguration.cs b/CK.Plugin.Host/Service/SimpleServiceHostConfiguration.cs index 2b5a8fd..dc60348 100644 --- a/CK.Plugin.Host/Service/SimpleServiceHostConfiguration.cs +++ b/CK.Plugin.Host/Service/SimpleServiceHostConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Host\Service\SimpleServiceHostConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Reflection; using System.Linq; diff --git a/CK.Plugin.Host/UseTheProxyBase.cs b/CK.Plugin.Host/UseTheProxyBase.cs index 53726cb..4f6cbeb 100644 --- a/CK.Plugin.Host/UseTheProxyBase.cs +++ b/CK.Plugin.Host/UseTheProxyBase.cs @@ -1,4 +1,27 @@ -namespace CK.Plugin.Hosting +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Host\UseTheProxyBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +namespace CK.Plugin.Hosting { /// /// Fake internal class that forces the compiler to keep implementation. diff --git a/CK.Plugin.Model/ApplyDoneEventArgs.cs b/CK.Plugin.Model/ApplyDoneEventArgs.cs index bb11e76..017329c 100644 --- a/CK.Plugin.Model/ApplyDoneEventArgs.cs +++ b/CK.Plugin.Model/ApplyDoneEventArgs.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\ApplyDoneEventArgs.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/DiscoverDoneEventArgs.cs b/CK.Plugin.Model/Discoverer/DiscoverDoneEventArgs.cs index 89447c7..de6d55f 100644 --- a/CK.Plugin.Model/Discoverer/DiscoverDoneEventArgs.cs +++ b/CK.Plugin.Model/Discoverer/DiscoverDoneEventArgs.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/DiscovererExtension.cs b/CK.Plugin.Model/Discoverer/DiscovererExtension.cs index 25e083b..e51fb64 100644 --- a/CK.Plugin.Model/Discoverer/DiscovererExtension.cs +++ b/CK.Plugin.Model/Discoverer/DiscovererExtension.cs @@ -1,4 +1,26 @@ - +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Discoverer\DiscovererExtension.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + using System.Text; namespace CK.Plugin diff --git a/CK.Plugin.Model/Discoverer/IAssemblyInfo.cs b/CK.Plugin.Model/Discoverer/IAssemblyInfo.cs index fae82e0..cbb05f5 100644 --- a/CK.Plugin.Model/Discoverer/IAssemblyInfo.cs +++ b/CK.Plugin.Model/Discoverer/IAssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/IDiscoveredInfo.cs b/CK.Plugin.Model/Discoverer/IDiscoveredInfo.cs index 9d8b4da..1dd9f71 100644 --- a/CK.Plugin.Model/Discoverer/IDiscoveredInfo.cs +++ b/CK.Plugin.Model/Discoverer/IDiscoveredInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/IPluginConfigAccessorInfo.cs b/CK.Plugin.Model/Discoverer/IPluginConfigAccessorInfo.cs index e7e43e3..dfbd025 100644 --- a/CK.Plugin.Model/Discoverer/IPluginConfigAccessorInfo.cs +++ b/CK.Plugin.Model/Discoverer/IPluginConfigAccessorInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Discoverer\IPluginEditorAssociationInfo.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Discoverer\IPluginConfigAccessorInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/IPluginDiscoverer.cs b/CK.Plugin.Model/Discoverer/IPluginDiscoverer.cs index be85996..c30f431 100644 --- a/CK.Plugin.Model/Discoverer/IPluginDiscoverer.cs +++ b/CK.Plugin.Model/Discoverer/IPluginDiscoverer.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/IPluginInfo.cs b/CK.Plugin.Model/Discoverer/IPluginInfo.cs index a4704a5..278fdd3 100644 --- a/CK.Plugin.Model/Discoverer/IPluginInfo.cs +++ b/CK.Plugin.Model/Discoverer/IPluginInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/IServiceInfo.cs b/CK.Plugin.Model/Discoverer/IServiceInfo.cs index 36c588a..b5fc65c 100644 --- a/CK.Plugin.Model/Discoverer/IServiceInfo.cs +++ b/CK.Plugin.Model/Discoverer/IServiceInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/IServiceReferenceInfo.cs b/CK.Plugin.Model/Discoverer/IServiceReferenceInfo.cs index 1d28bd3..f441862 100644 --- a/CK.Plugin.Model/Discoverer/IServiceReferenceInfo.cs +++ b/CK.Plugin.Model/Discoverer/IServiceReferenceInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Discoverer/ISimpleEventInfo.cs b/CK.Plugin.Model/Discoverer/ISimpleEventInfo.cs index ab9be2a..7cfb6e1 100644 --- a/CK.Plugin.Model/Discoverer/ISimpleEventInfo.cs +++ b/CK.Plugin.Model/Discoverer/ISimpleEventInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Discoverer\ISimpleEventInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Discoverer/ISimpleMethodInfo.cs b/CK.Plugin.Model/Discoverer/ISimpleMethodInfo.cs index bee16c3..cdc646a 100644 --- a/CK.Plugin.Model/Discoverer/ISimpleMethodInfo.cs +++ b/CK.Plugin.Model/Discoverer/ISimpleMethodInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Discoverer\ISimpleMethodInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Discoverer/ISimpleParameterInfo.cs b/CK.Plugin.Model/Discoverer/ISimpleParameterInfo.cs index 6f82aa8..53ff854 100644 --- a/CK.Plugin.Model/Discoverer/ISimpleParameterInfo.cs +++ b/CK.Plugin.Model/Discoverer/ISimpleParameterInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Discoverer\ISimpleParameterInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Discoverer/ISimplePropertyInfo.cs b/CK.Plugin.Model/Discoverer/ISimplePropertyInfo.cs index f89bcf2..367eb12 100644 --- a/CK.Plugin.Model/Discoverer/ISimplePropertyInfo.cs +++ b/CK.Plugin.Model/Discoverer/ISimplePropertyInfo.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Discoverer\ISimplePropertyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/DynamicServiceAttribute.cs b/CK.Plugin.Model/DynamicServiceAttribute.cs index 110127e..61ada29 100644 --- a/CK.Plugin.Model/DynamicServiceAttribute.cs +++ b/CK.Plugin.Model/DynamicServiceAttribute.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/HostExtension.cs b/CK.Plugin.Model/Host/HostExtension.cs index 7e4b8b3..23281c1 100644 --- a/CK.Plugin.Model/Host/HostExtension.cs +++ b/CK.Plugin.Model/Host/HostExtension.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Host\HostExtension.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/IExecutionPlanResult.cs b/CK.Plugin.Model/Host/IExecutionPlanResult.cs index 136ecd9..829dfd5 100644 --- a/CK.Plugin.Model/Host/IExecutionPlanResult.cs +++ b/CK.Plugin.Model/Host/IExecutionPlanResult.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Host\IExecutionPlanResult.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Core; namespace CK.Plugin diff --git a/CK.Plugin.Model/Host/IPluginHost.cs b/CK.Plugin.Model/Host/IPluginHost.cs index 1aa94be..97e2e31 100644 --- a/CK.Plugin.Model/Host/IPluginHost.cs +++ b/CK.Plugin.Model/Host/IPluginHost.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Host\IPluginHost.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Host/IPluginProxy.cs b/CK.Plugin.Model/Host/IPluginProxy.cs index 89b280b..a625aab 100644 --- a/CK.Plugin.Model/Host/IPluginProxy.cs +++ b/CK.Plugin.Model/Host/IPluginProxy.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Hosting.Model\Plugin\IPlugin.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\IPluginProxy.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/IServiceHost.cs b/CK.Plugin.Model/Host/IServiceHost.cs index ecf13c8..a9eba8d 100644 --- a/CK.Plugin.Model/Host/IServiceHost.cs +++ b/CK.Plugin.Model/Host/IServiceHost.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Host\IServiceHost.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; namespace CK.Plugin diff --git a/CK.Plugin.Model/Host/IServiceHostConfiguration.cs b/CK.Plugin.Model/Host/IServiceHostConfiguration.cs index 970837a..76af26f 100644 --- a/CK.Plugin.Model/Host/IServiceHostConfiguration.cs +++ b/CK.Plugin.Model/Host/IServiceHostConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Host\IServiceHostConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Reflection; diff --git a/CK.Plugin.Model/Host/ISimpleServiceHostConfiguration.cs b/CK.Plugin.Model/Host/ISimpleServiceHostConfiguration.cs index e6cf90d..e405000 100644 --- a/CK.Plugin.Model/Host/ISimpleServiceHostConfiguration.cs +++ b/CK.Plugin.Model/Host/ISimpleServiceHostConfiguration.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Model\Service\ISimpleServiceHostConfiguration.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\ISimpleServiceHostConfiguration.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogCenter.cs b/CK.Plugin.Model/Host/Log/ILogCenter.cs index 7f125b4..74ad4d5 100644 --- a/CK.Plugin.Model/Host/Log/ILogCenter.cs +++ b/CK.Plugin.Model/Host/Log/ILogCenter.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Host\Log\ILogCenter.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Host/Log/ILogEntry.cs b/CK.Plugin.Model/Host/Log/ILogEntry.cs index f7a51d9..b2bc919 100644 --- a/CK.Plugin.Model/Host/Log/ILogEntry.cs +++ b/CK.Plugin.Model/Host/Log/ILogEntry.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Host\Log\ILogEntry.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogErrorCaught.cs b/CK.Plugin.Model/Host/Log/ILogErrorCaught.cs index a39c029..e938cac 100644 --- a/CK.Plugin.Model/Host/Log/ILogErrorCaught.cs +++ b/CK.Plugin.Model/Host/Log/ILogErrorCaught.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Host\Log\ILogErrorCaught.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Host/Log/ILogErrorCulprit.cs b/CK.Plugin.Model/Host/Log/ILogErrorCulprit.cs index d9b8eb6..13760e8 100644 --- a/CK.Plugin.Model/Host/Log/ILogErrorCulprit.cs +++ b/CK.Plugin.Model/Host/Log/ILogErrorCulprit.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Host\Log\ILogErrorCulprit.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Host/Log/ILogEventEntry.cs b/CK.Plugin.Model/Host/Log/ILogEventEntry.cs index 9f14ea8..7ba4288 100644 --- a/CK.Plugin.Model/Host/Log/ILogEventEntry.cs +++ b/CK.Plugin.Model/Host/Log/ILogEventEntry.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Host\Log\ILogEventEntry.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogEventError.cs b/CK.Plugin.Model/Host/Log/ILogEventError.cs index dea9709..bbb9a9c 100644 --- a/CK.Plugin.Model/Host/Log/ILogEventError.cs +++ b/CK.Plugin.Model/Host/Log/ILogEventError.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Host\Log\ILogEventError.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogEventNotRunningError.cs b/CK.Plugin.Model/Host/Log/ILogEventNotRunningError.cs index 60da4a5..50e73d4 100644 --- a/CK.Plugin.Model/Host/Log/ILogEventNotRunningError.cs +++ b/CK.Plugin.Model/Host/Log/ILogEventNotRunningError.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Host\Log\ILogEventNotRunningError.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogExternalEntry.cs b/CK.Plugin.Model/Host/Log/ILogExternalEntry.cs index f0ebb0c..5f4dfc8 100644 --- a/CK.Plugin.Model/Host/Log/ILogExternalEntry.cs +++ b/CK.Plugin.Model/Host/Log/ILogExternalEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Host\Log\ILogMethodEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\Log\ILogExternalEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogExternalErrorEntry.cs b/CK.Plugin.Model/Host/Log/ILogExternalErrorEntry.cs index 12a98d1..01f4bbb 100644 --- a/CK.Plugin.Model/Host/Log/ILogExternalErrorEntry.cs +++ b/CK.Plugin.Model/Host/Log/ILogExternalErrorEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Host\Log\ILogMethodEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\Log\ILogExternalErrorEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogInterceptionEntry.cs b/CK.Plugin.Model/Host/Log/ILogInterceptionEntry.cs index 9b4d1e3..32666ef 100644 --- a/CK.Plugin.Model/Host/Log/ILogInterceptionEntry.cs +++ b/CK.Plugin.Model/Host/Log/ILogInterceptionEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Host\Log\ILogEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\Log\ILogInterceptionEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogMethodEntry.cs b/CK.Plugin.Model/Host/Log/ILogMethodEntry.cs index 7399e42..b19d0fe 100644 --- a/CK.Plugin.Model/Host/Log/ILogMethodEntry.cs +++ b/CK.Plugin.Model/Host/Log/ILogMethodEntry.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Host\Log\ILogMethodEntry.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogMethodError.cs b/CK.Plugin.Model/Host/Log/ILogMethodError.cs index 8afa7b6..e427a56 100644 --- a/CK.Plugin.Model/Host/Log/ILogMethodError.cs +++ b/CK.Plugin.Model/Host/Log/ILogMethodError.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Host\Log\ILogMethodError.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/ILogWithParametersEntry.cs b/CK.Plugin.Model/Host/Log/ILogWithParametersEntry.cs index 5759018..e1dcd26 100644 --- a/CK.Plugin.Model/Host/Log/ILogWithParametersEntry.cs +++ b/CK.Plugin.Model/Host/Log/ILogWithParametersEntry.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Host\Log\ILogEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\Log\ILogWithParametersEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/LogEntryType.cs b/CK.Plugin.Model/Host/Log/LogEntryType.cs index 96a8c36..8114df4 100644 --- a/CK.Plugin.Model/Host/Log/LogEntryType.cs +++ b/CK.Plugin.Model/Host/Log/LogEntryType.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Host\Log\ILogEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\Log\LogEntryType.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,14 +14,13 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. *-----------------------------------------------------------------------------*/ #endregion - namespace CK.Plugin { /// diff --git a/CK.Plugin.Model/Host/Log/LogEventArgs.cs b/CK.Plugin.Model/Host/Log/LogEventArgs.cs index f062bf3..178af76 100644 --- a/CK.Plugin.Model/Host/Log/LogEventArgs.cs +++ b/CK.Plugin.Model/Host/Log/LogEventArgs.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Host\Log\ILogEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\Log\LogEventArgs.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/Log/LogHostEventArgs.cs b/CK.Plugin.Model/Host/Log/LogHostEventArgs.cs index 1536d9f..6e4e389 100644 --- a/CK.Plugin.Model/Host/Log/LogHostEventArgs.cs +++ b/CK.Plugin.Model/Host/Log/LogHostEventArgs.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Host\Log\ILogEntry.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\Log\LogHostEventArgs.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/PluginStatusChangedEventArgs.cs b/CK.Plugin.Model/Host/PluginStatusChangedEventArgs.cs index 6727d05..90129e1 100644 --- a/CK.Plugin.Model/Host/PluginStatusChangedEventArgs.cs +++ b/CK.Plugin.Model/Host/PluginStatusChangedEventArgs.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Plugin\PluginStatusChangedEventArgs.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\PluginStatusChangedEventArgs.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/ServiceLogEventOptions.cs b/CK.Plugin.Model/Host/ServiceLogEventOptions.cs index 44b1be7..d58f151 100644 --- a/CK.Plugin.Model/Host/ServiceLogEventOptions.cs +++ b/CK.Plugin.Model/Host/ServiceLogEventOptions.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogEventOptions.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\ServiceLogEventOptions.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Host/ServiceLogMethodOptions.cs b/CK.Plugin.Model/Host/ServiceLogMethodOptions.cs index 6a26ec0..19bf927 100644 --- a/CK.Plugin.Model/Host/ServiceLogMethodOptions.cs +++ b/CK.Plugin.Model/Host/ServiceLogMethodOptions.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\Runner\LogMethodOptions.cs) is part of CiviKey. +* This file (CK.Plugin.Model\Host\ServiceLogMethodOptions.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/IDynamicService.cs b/CK.Plugin.Model/IDynamicService.cs index d793969..605cac6 100644 --- a/CK.Plugin.Model/IDynamicService.cs +++ b/CK.Plugin.Model/IDynamicService.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/IPlugin.cs b/CK.Plugin.Model/IPlugin.cs index fc73bba..95969c8 100644 --- a/CK.Plugin.Model/IPlugin.cs +++ b/CK.Plugin.Model/IPlugin.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Model\Plugin\IPlugin.cs) is part of CiviKey. +* This file (CK.Plugin.Model\IPlugin.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/IPluginSetupInfo.cs b/CK.Plugin.Model/IPluginSetupInfo.cs index 18b64fd..e486ccf 100644 --- a/CK.Plugin.Model/IPluginSetupInfo.cs +++ b/CK.Plugin.Model/IPluginSetupInfo.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Model\Plugin\IPluginSetupInfo.cs) is part of CiviKey. +* This file (CK.Plugin.Model\IPluginSetupInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/IService.cs b/CK.Plugin.Model/IService.cs index b6cb07b..6944cd7 100644 --- a/CK.Plugin.Model/IService.cs +++ b/CK.Plugin.Model/IService.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\IService.cs) is part of CiviKey. +* This file (CK.Plugin.Model\IService.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/ISimplePluginRunner.cs b/CK.Plugin.Model/ISimplePluginRunner.cs index e1c9aa5..3ecaf5f 100644 --- a/CK.Plugin.Model/ISimplePluginRunner.cs +++ b/CK.Plugin.Model/ISimplePluginRunner.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\ISimplePluginRunner.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/IgnoreExceptionAttribute.cs b/CK.Plugin.Model/IgnoreExceptionAttribute.cs index 35af0f5..5bca136 100644 --- a/CK.Plugin.Model/IgnoreExceptionAttribute.cs +++ b/CK.Plugin.Model/IgnoreExceptionAttribute.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\IgnoreExceptionAttribute.cs) is part of CiviKey. +* This file (CK.Plugin.Model\IgnoreExceptionAttribute.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/IgnoreServiceStoppedAttribute.cs b/CK.Plugin.Model/IgnoreServiceStoppedAttribute.cs index f04b3b8..361db40 100644 --- a/CK.Plugin.Model/IgnoreServiceStoppedAttribute.cs +++ b/CK.Plugin.Model/IgnoreServiceStoppedAttribute.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\IgnoreServiceRunningStatusAttribute.cs) is part of CiviKey. +* This file (CK.Plugin.Model\IgnoreServiceStoppedAttribute.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/PluginAttribute.cs b/CK.Plugin.Model/PluginAttribute.cs index de1aa96..029d155 100644 --- a/CK.Plugin.Model/PluginAttribute.cs +++ b/CK.Plugin.Model/PluginAttribute.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Plugin\Definition\PluginAttribute.cs) is part of CiviKey. +* This file (CK.Plugin.Model\PluginAttribute.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/PluginModelExtension.cs b/CK.Plugin.Model/PluginModelExtension.cs index 3bda9cd..5256135 100644 --- a/CK.Plugin.Model/PluginModelExtension.cs +++ b/CK.Plugin.Model/PluginModelExtension.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\PluginModelExtension.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Properties/AssemblyInfo.cs b/CK.Plugin.Model/Properties/AssemblyInfo.cs index 294d9b1..cbb4388 100644 --- a/CK.Plugin.Model/Properties/AssemblyInfo.cs +++ b/CK.Plugin.Model/Properties/AssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/RequiredServiceAttribute.cs b/CK.Plugin.Model/RequiredServiceAttribute.cs index 172585b..ca6393f 100644 --- a/CK.Plugin.Model/RequiredServiceAttribute.cs +++ b/CK.Plugin.Model/RequiredServiceAttribute.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangedEventArgs.cs b/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangedEventArgs.cs index 509239f..002e696 100644 --- a/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangedEventArgs.cs +++ b/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangedEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\Events\PluginRequirementCollectionChangedEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangingEventArgs.cs b/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangingEventArgs.cs index f7dc557..cb975ed 100644 --- a/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangingEventArgs.cs +++ b/CK.Plugin.Model/Requirements/Events/PluginRequirementCollectionChangingEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\Events\PluginRequirementCollectionChangingEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangedEventArgs.cs b/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangedEventArgs.cs index 3c55d08..1d5ab6c 100644 --- a/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangedEventArgs.cs +++ b/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangedEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\Events\ServiceRequirementCollectionChangedEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangingEventArgs.cs b/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangingEventArgs.cs index 6d4c89d..5c1b7b7 100644 --- a/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangingEventArgs.cs +++ b/CK.Plugin.Model/Requirements/Events/ServiceRequirementCollectionChangingEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\Events\ServiceRequirementCollectionChangingEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Requirements/IPluginRequirementCollection.cs b/CK.Plugin.Model/Requirements/IPluginRequirementCollection.cs index dfd8c01..183dec9 100644 --- a/CK.Plugin.Model/Requirements/IPluginRequirementCollection.cs +++ b/CK.Plugin.Model/Requirements/IPluginRequirementCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\IPluginRequirementCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Requirements/IServiceRequirementCollection.cs b/CK.Plugin.Model/Requirements/IServiceRequirementCollection.cs index f296d96..1d19d25 100644 --- a/CK.Plugin.Model/Requirements/IServiceRequirementCollection.cs +++ b/CK.Plugin.Model/Requirements/IServiceRequirementCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\IServiceRequirementCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Model/Requirements/PluginRequirement.cs b/CK.Plugin.Model/Requirements/PluginRequirement.cs index 2a43296..747dd50 100644 --- a/CK.Plugin.Model/Requirements/PluginRequirement.cs +++ b/CK.Plugin.Model/Requirements/PluginRequirement.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\PluginRequirement.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Xml; using System.Diagnostics; using CK.Core; diff --git a/CK.Plugin.Model/Requirements/PluginRequirementCollection.cs b/CK.Plugin.Model/Requirements/PluginRequirementCollection.cs index 1af7e28..639af69 100644 --- a/CK.Plugin.Model/Requirements/PluginRequirementCollection.cs +++ b/CK.Plugin.Model/Requirements/PluginRequirementCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\PluginRequirementCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Xml; diff --git a/CK.Plugin.Model/Requirements/RequirementLayer.cs b/CK.Plugin.Model/Requirements/RequirementLayer.cs index 49b86f5..9c24acd 100644 --- a/CK.Plugin.Model/Requirements/RequirementLayer.cs +++ b/CK.Plugin.Model/Requirements/RequirementLayer.cs @@ -1,4 +1,4 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- * This file (CK.Plugin.Model\Requirements\RequirementLayer.cs) is part of CiviKey. * @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2011, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/Requirements/ServiceRequirement.cs b/CK.Plugin.Model/Requirements/ServiceRequirement.cs index dce60e0..21265ee 100644 --- a/CK.Plugin.Model/Requirements/ServiceRequirement.cs +++ b/CK.Plugin.Model/Requirements/ServiceRequirement.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\ServiceRequirement.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Diagnostics; using CK.Core; using System.Xml; diff --git a/CK.Plugin.Model/Requirements/ServiceRequirementCollection.cs b/CK.Plugin.Model/Requirements/ServiceRequirementCollection.cs index c1a453d..30c05da 100644 --- a/CK.Plugin.Model/Requirements/ServiceRequirementCollection.cs +++ b/CK.Plugin.Model/Requirements/ServiceRequirementCollection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Model\Requirements\ServiceRequirementCollection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using CK.Core; diff --git a/CK.Plugin.Model/RunningRequirements.cs b/CK.Plugin.Model/RunningRequirements.cs index 6f4052c..537010d 100644 --- a/CK.Plugin.Model/RunningRequirements.cs +++ b/CK.Plugin.Model/RunningRequirements.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\ServiceRequirements.cs) is part of CiviKey. +* This file (CK.Plugin.Model\RunningRequirements.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/RunningStatus.cs b/CK.Plugin.Model/RunningStatus.cs index 5d0f69b..1c26655 100644 --- a/CK.Plugin.Model/RunningStatus.cs +++ b/CK.Plugin.Model/RunningStatus.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\ServiceStatus.cs) is part of CiviKey. +* This file (CK.Plugin.Model\RunningStatus.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/ServiceNotAvailableException.cs b/CK.Plugin.Model/ServiceNotAvailableException.cs index 37fe6f9..bd856f0 100644 --- a/CK.Plugin.Model/ServiceNotAvailableException.cs +++ b/CK.Plugin.Model/ServiceNotAvailableException.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\ServiceNotRunningException.cs) is part of CiviKey. +* This file (CK.Plugin.Model\ServiceNotAvailableException.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/ServiceStatusChangedEventArgs.cs b/CK.Plugin.Model/ServiceStatusChangedEventArgs.cs index 7b9436f..b35ebb1 100644 --- a/CK.Plugin.Model/ServiceStatusChangedEventArgs.cs +++ b/CK.Plugin.Model/ServiceStatusChangedEventArgs.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\ServiceStatusChangedEventArgs.cs) is part of CiviKey. +* This file (CK.Plugin.Model\ServiceStatusChangedEventArgs.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/ServiceStoppedException.cs b/CK.Plugin.Model/ServiceStoppedException.cs index c7e30e8..f89d172 100644 --- a/CK.Plugin.Model/ServiceStoppedException.cs +++ b/CK.Plugin.Model/ServiceStoppedException.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\ServiceNotRunningException.cs) is part of CiviKey. +* This file (CK.Plugin.Model\ServiceStoppedException.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Model/SolvedConfigStatus.cs b/CK.Plugin.Model/SolvedConfigStatus.cs index 322dc1c..3caf4e0 100644 --- a/CK.Plugin.Model/SolvedConfigStatus.cs +++ b/CK.Plugin.Model/SolvedConfigStatus.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Model\Service\ServiceRequirements.cs) is part of CiviKey. +* This file (CK.Plugin.Model\SolvedConfigStatus.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Runner/ExecutionPlan.cs b/CK.Plugin.Runner/ExecutionPlan.cs index 9876ae3..f11ac43 100644 --- a/CK.Plugin.Runner/ExecutionPlan.cs +++ b/CK.Plugin.Runner/ExecutionPlan.cs @@ -1,4 +1,27 @@ -using System.Collections.Generic; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\ExecutionPlan.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Collections.Generic; using System.Linq; using CK.Core; using System.Diagnostics; diff --git a/CK.Plugin.Runner/PlanCalculator.cs b/CK.Plugin.Runner/PlanCalculator.cs index 6bd2ccb..ae02e77 100644 --- a/CK.Plugin.Runner/PlanCalculator.cs +++ b/CK.Plugin.Runner/PlanCalculator.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\PlanCalculator.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Diagnostics; using CK.Core; diff --git a/CK.Plugin.Runner/PluginConfigAccessor.cs b/CK.Plugin.Runner/PluginConfigAccessor.cs index 42f2b8f..097e761 100644 --- a/CK.Plugin.Runner/PluginConfigAccessor.cs +++ b/CK.Plugin.Runner/PluginConfigAccessor.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Context\Plugin\PluginConfig\PluginConfigAccessor.cs) is part of CiviKey. +* This file (CK.Plugin.Runner\PluginConfigAccessor.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Plugin.Runner/PluginRunner.ConfigAccessor.cs b/CK.Plugin.Runner/PluginRunner.ConfigAccessor.cs index 7d5efdd..19d66cc 100644 --- a/CK.Plugin.Runner/PluginRunner.ConfigAccessor.cs +++ b/CK.Plugin.Runner/PluginRunner.ConfigAccessor.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\PluginRunner.ConfigAccessor.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Runner/PluginRunner.cs b/CK.Plugin.Runner/PluginRunner.cs index 19b84c8..507a647 100644 --- a/CK.Plugin.Runner/PluginRunner.cs +++ b/CK.Plugin.Runner/PluginRunner.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\PluginRunner.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Runner/Properties/AssemblyInfo.cs b/CK.Plugin.Runner/Properties/AssemblyInfo.cs index af0a300..aab7472 100644 --- a/CK.Plugin.Runner/Properties/AssemblyInfo.cs +++ b/CK.Plugin.Runner/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/CK.Plugin.Runner/RequirementLayerSnapshot.cs b/CK.Plugin.Runner/RequirementLayerSnapshot.cs index f8f3805..2fb999b 100644 --- a/CK.Plugin.Runner/RequirementLayerSnapshot.cs +++ b/CK.Plugin.Runner/RequirementLayerSnapshot.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\RequirementLayerSnapshot.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Runner/RunnerRequirements.cs b/CK.Plugin.Runner/RunnerRequirements.cs index 377d40f..2270549 100644 --- a/CK.Plugin.Runner/RunnerRequirements.cs +++ b/CK.Plugin.Runner/RunnerRequirements.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\RunnerRequirements.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Runner/RunnerRequirementsSnapshot.cs b/CK.Plugin.Runner/RunnerRequirementsSnapshot.cs index 912f7fc..5bcd185 100644 --- a/CK.Plugin.Runner/RunnerRequirementsSnapshot.cs +++ b/CK.Plugin.Runner/RunnerRequirementsSnapshot.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\RunnerRequirementsSnapshot.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Runner/RunningConfiguration.cs b/CK.Plugin.Runner/RunningConfiguration.cs index dc14fca..4eb0099 100644 --- a/CK.Plugin.Runner/RunningConfiguration.cs +++ b/CK.Plugin.Runner/RunningConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Plugin.Runner\RunningConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Plugin.Runner/SolvedPluginConfigurationSnapshot.cs b/CK.Plugin.Runner/SolvedPluginConfigurationSnapshot.cs index 5a09351..2c642f4 100644 --- a/CK.Plugin.Runner/SolvedPluginConfigurationSnapshot.cs +++ b/CK.Plugin.Runner/SolvedPluginConfigurationSnapshot.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Loader\PluginLoaderInfo.cs) is part of CiviKey. +* This file (CK.Plugin.Runner\SolvedPluginConfigurationSnapshot.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Reflection/ILGeneratorExtension.cs b/CK.Reflection/ILGeneratorExtension.cs index 1c10fd8..c264cdc 100644 --- a/CK.Reflection/ILGeneratorExtension.cs +++ b/CK.Reflection/ILGeneratorExtension.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Reflection\ILGeneratorExtension.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Reflection/ObjectAndTypeExtension.cs b/CK.Reflection/ObjectAndTypeExtension.cs index 6019c53..6daddb1 100644 --- a/CK.Reflection/ObjectAndTypeExtension.cs +++ b/CK.Reflection/ObjectAndTypeExtension.cs @@ -1,4 +1,27 @@ -#region Licence +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Reflection\ObjectAndTypeExtension.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +#region Licence /*---------------------------------------------------------------------------- * Copyright (C) 2009 the original author or authors. * diff --git a/CK.Reflection/Properties/AssemblyInfo.cs b/CK.Reflection/Properties/AssemblyInfo.cs index 53acfd6..892ef6d 100644 --- a/CK.Reflection/Properties/AssemblyInfo.cs +++ b/CK.Reflection/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Reflection\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/CK.Reflection/ReflectionHelper.cs b/CK.Reflection/ReflectionHelper.cs index 59ad246..5522bb7 100644 --- a/CK.Reflection/ReflectionHelper.cs +++ b/CK.Reflection/ReflectionHelper.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Reflection\ReflectionHelper.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.SharedDic/ISharedDictionary.cs b/CK.SharedDic/ISharedDictionary.cs index e151faa..c7a0a86 100644 --- a/CK.SharedDic/ISharedDictionary.cs +++ b/CK.SharedDic/ISharedDictionary.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Model\Configuration\ConfigChangedEventArgs.cs) is part of CiviKey. +* This file (CK.SharedDic\ISharedDictionary.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/ISharedDictionaryReader.cs b/CK.SharedDic/ISharedDictionaryReader.cs index 9c30da4..2eaa86a 100644 --- a/CK.SharedDic/ISharedDictionaryReader.cs +++ b/CK.SharedDic/ISharedDictionaryReader.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Model\Configuration\ConfigChangedEventArgs.cs) is part of CiviKey. +* This file (CK.SharedDic\ISharedDictionaryReader.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/ISharedDictionaryWriter.cs b/CK.SharedDic/ISharedDictionaryWriter.cs index 0fcb635..08a4a75 100644 --- a/CK.SharedDic/ISharedDictionaryWriter.cs +++ b/CK.SharedDic/ISharedDictionaryWriter.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Model\Configuration\ConfigChangedEventArgs.cs) is part of CiviKey. +* This file (CK.SharedDic\ISharedDictionaryWriter.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Impl/FinalDictionary.cs b/CK.SharedDic/Impl/FinalDictionary.cs index 7395df2..66cd443 100644 --- a/CK.SharedDic/Impl/FinalDictionary.cs +++ b/CK.SharedDic/Impl/FinalDictionary.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\FinalDictionary.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\FinalDictionary.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Impl/PluginConfigByObject.cs b/CK.SharedDic/Impl/PluginConfigByObject.cs index 2152775..c1dbeec 100644 --- a/CK.SharedDic/Impl/PluginConfigByObject.cs +++ b/CK.SharedDic/Impl/PluginConfigByObject.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\PluginConfigByObject.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\PluginConfigByObject.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Impl/PluginConfigByPlugin.cs b/CK.SharedDic/Impl/PluginConfigByPlugin.cs index 20c3d01..70a81a4 100644 --- a/CK.SharedDic/Impl/PluginConfigByPlugin.cs +++ b/CK.SharedDic/Impl/PluginConfigByPlugin.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\PluginConfigByPlugin.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\PluginConfigByPlugin.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Impl/SharedDictionaryEntry.cs b/CK.SharedDic/Impl/SharedDictionaryEntry.cs index 7c3ea51..aeb97b1 100644 --- a/CK.SharedDic/Impl/SharedDictionaryEntry.cs +++ b/CK.SharedDic/Impl/SharedDictionaryEntry.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\SharedDictionaryEntry.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\SharedDictionaryEntry.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Impl/SharedDictionaryImpl.SkippedFragments.cs b/CK.SharedDic/Impl/SharedDictionaryImpl.SkippedFragments.cs index f2e8639..6d24379 100644 --- a/CK.SharedDic/Impl/SharedDictionaryImpl.SkippedFragments.cs +++ b/CK.SharedDic/Impl/SharedDictionaryImpl.SkippedFragments.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\SharedDictionary.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\SharedDictionaryImpl.SkippedFragments.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Impl/SharedDictionaryImpl.cs b/CK.SharedDic/Impl/SharedDictionaryImpl.cs index 9c6e44d..2be55a9 100644 --- a/CK.SharedDic/Impl/SharedDictionaryImpl.cs +++ b/CK.SharedDic/Impl/SharedDictionaryImpl.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\SharedDictionary.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\SharedDictionaryImpl.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Impl/SharedDictionaryReader.cs b/CK.SharedDic/Impl/SharedDictionaryReader.cs index 39d93f6..e6bd19c 100644 --- a/CK.SharedDic/Impl/SharedDictionaryReader.cs +++ b/CK.SharedDic/Impl/SharedDictionaryReader.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\SharedDictionaryReader.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\SharedDictionaryReader.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. @@ -188,22 +188,10 @@ public void ReadPluginsData( object o ) } } -#if DEBUG - MissingDisposeCallSentinel _sentinel = new MissingDisposeCallSentinel(); - ~SharedDictionaryReader() - { - MissingDisposeCallSentinel.RegisterMissing( _sentinel ); - } -#endif - public void Dispose() { if( _reader != null ) { -#if DEBUG - _sentinel = null; - GC.SuppressFinalize( this ); -#endif _reader.ServiceContainer.Remove( typeof( ISharedDictionaryReader ) ); _reader = null; _dic = null; diff --git a/CK.SharedDic/Impl/SharedDictionaryWriter.cs b/CK.SharedDic/Impl/SharedDictionaryWriter.cs index 52fb3fd..52dd6a2 100644 --- a/CK.SharedDic/Impl/SharedDictionaryWriter.cs +++ b/CK.SharedDic/Impl/SharedDictionaryWriter.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\SharedDictionaryWriter.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\SharedDictionaryWriter.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. @@ -138,22 +138,10 @@ int WritePluginsData( object o, string elementName ) return writeCount; } -#if DEBUG - MissingDisposeCallSentinel _sentinel = new MissingDisposeCallSentinel(); - ~SharedDictionaryWriter() - { - MissingDisposeCallSentinel.RegisterMissing( _sentinel ); - } -#endif - public void Dispose() { if( _writer != null ) { -#if DEBUG - _sentinel = null; - GC.SuppressFinalize( this ); -#endif _writer.ServiceContainer.Remove( typeof( ISharedDictionaryWriter ) ); _writer = null; _dic = null; diff --git a/CK.SharedDic/Impl/SkippedFragment.cs b/CK.SharedDic/Impl/SkippedFragment.cs index 06479c5..845e10b 100644 --- a/CK.SharedDic/Impl/SkippedFragment.cs +++ b/CK.SharedDic/Impl/SkippedFragment.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\SkippedFragment.cs) is part of CiviKey. +* This file (CK.SharedDic\Impl\SkippedFragment.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/MergeMode.cs b/CK.SharedDic/MergeMode.cs index c956cdf..530a85b 100644 --- a/CK.SharedDic/MergeMode.cs +++ b/CK.SharedDic/MergeMode.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.SharedDic\SkippedFragments.cs) is part of CiviKey. +* This file (CK.SharedDic\MergeMode.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/Properties/AssemblyInfo.cs b/CK.SharedDic/Properties/AssemblyInfo.cs index b5262ae..1d8e255 100644 --- a/CK.SharedDic/Properties/AssemblyInfo.cs +++ b/CK.SharedDic/Properties/AssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/ReadElementObjectInfo.cs b/CK.SharedDic/ReadElementObjectInfo.cs index 7706968..45711e9 100644 --- a/CK.SharedDic/ReadElementObjectInfo.cs +++ b/CK.SharedDic/ReadElementObjectInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/SharedDictionary.cs b/CK.SharedDic/SharedDictionary.cs index 2e2633b..ef75475 100644 --- a/CK.SharedDic/SharedDictionary.cs +++ b/CK.SharedDic/SharedDictionary.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.SharedDic\SharedDictionary.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.SharedDic/SharedDictionaryExtension.cs b/CK.SharedDic/SharedDictionaryExtension.cs index cde676a..7970e2d 100644 --- a/CK.SharedDic/SharedDictionaryExtension.cs +++ b/CK.SharedDic/SharedDictionaryExtension.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Model\Configuration\ConfigChangedEventArgs.cs) is part of CiviKey. +* This file (CK.SharedDic\SharedDictionaryExtension.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.SharedDic/SharedDictionaryReaderEventArgs.cs b/CK.SharedDic/SharedDictionaryReaderEventArgs.cs index 3e9e900..fe72efb 100644 --- a/CK.SharedDic/SharedDictionaryReaderEventArgs.cs +++ b/CK.SharedDic/SharedDictionaryReaderEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.SharedDic\SharedDictionaryReaderEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.SharedDic/SharedDictionaryWriterEventArgs.cs b/CK.SharedDic/SharedDictionaryWriterEventArgs.cs index 7bffe5d..caa657e 100644 --- a/CK.SharedDic/SharedDictionaryWriterEventArgs.cs +++ b/CK.SharedDic/SharedDictionaryWriterEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.SharedDic\SharedDictionaryWriterEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Storage/IStructuredReader.cs b/CK.Storage/IStructuredReader.cs index 13272e8..9235f93 100644 --- a/CK.Storage/IStructuredReader.cs +++ b/CK.Storage/IStructuredReader.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/IStructuredReaderBookmark.cs b/CK.Storage/IStructuredReaderBookmark.cs index d938c2a..1019818 100644 --- a/CK.Storage/IStructuredReaderBookmark.cs +++ b/CK.Storage/IStructuredReaderBookmark.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/IStructuredSerializable.cs b/CK.Storage/IStructuredSerializable.cs index 33fabb0..eca840b 100644 --- a/CK.Storage/IStructuredSerializable.cs +++ b/CK.Storage/IStructuredSerializable.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/IStructuredSerializer.cs b/CK.Storage/IStructuredSerializer.cs index 5a40df0..5dc0135 100644 --- a/CK.Storage/IStructuredSerializer.cs +++ b/CK.Storage/IStructuredSerializer.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\IStructuredSerializable.cs) is part of CiviKey. +* This file (CK.Storage\IStructuredSerializer.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/IStructuredWriter.cs b/CK.Storage/IStructuredWriter.cs index 24aaf32..e177276 100644 --- a/CK.Storage/IStructuredWriter.cs +++ b/CK.Storage/IStructuredWriter.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/ISubStructuredReader.cs b/CK.Storage/ISubStructuredReader.cs index ca611fb..d919a8c 100644 --- a/CK.Storage/ISubStructuredReader.cs +++ b/CK.Storage/ISubStructuredReader.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/ISubStructuredWriter.cs b/CK.Storage/ISubStructuredWriter.cs index a13ab90..c0c18a6 100644 --- a/CK.Storage/ISubStructuredWriter.cs +++ b/CK.Storage/ISubStructuredWriter.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\ISubStructuredReader.cs) is part of CiviKey. +* This file (CK.Storage\ISubStructuredWriter.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/Impl/PureXml-2.5.5/ReaderBase.cs b/CK.Storage/Impl/PureXml-2.5.5/ReaderBase.cs index 22a97b0..9924da8 100644 --- a/CK.Storage/Impl/PureXml-2.5.5/ReaderBase.cs +++ b/CK.Storage/Impl/PureXml-2.5.5/ReaderBase.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\SimpleStructuredReader.cs) is part of CiviKey. +* This file (CK.Storage\Impl\PureXml-2.5.5\ReaderBase.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. @@ -41,18 +41,9 @@ internal abstract class ReaderBase : IStructuredReader protected ReaderBase( ReaderImpl root ) { - MissingDisposeCallSentinel.DebugCheckMissing( s => Debug.Fail( s ) ); _root = root ?? (ReaderImpl)this; } - #if DEBUG - MissingDisposeCallSentinel _sentinel = new MissingDisposeCallSentinel(); - ~ReaderBase() - { - MissingDisposeCallSentinel.RegisterMissing( _sentinel ); - } - #endif - internal ReaderImpl Root { get { return _root; } @@ -67,10 +58,6 @@ public void Dispose() { if( _root != null ) { - #if DEBUG - _sentinel = null; - GC.SuppressFinalize( this ); - #endif if( _deserializationActions != null ) _deserializationActions.RunOnce(); OnDispose(); _root = null; diff --git a/CK.Storage/Impl/PureXml-2.5.5/ReaderBookmark.cs b/CK.Storage/Impl/PureXml-2.5.5/ReaderBookmark.cs index d4687f1..9cb7ec4 100644 --- a/CK.Storage/Impl/PureXml-2.5.5/ReaderBookmark.cs +++ b/CK.Storage/Impl/PureXml-2.5.5/ReaderBookmark.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\SimpleStructuredReaderBookmark.cs) is part of CiviKey. +* This file (CK.Storage\Impl\PureXml-2.5.5\ReaderBookmark.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/Impl/PureXml-2.5.5/ReaderImpl.cs b/CK.Storage/Impl/PureXml-2.5.5/ReaderImpl.cs index c3d0a5f..6624cc1 100644 --- a/CK.Storage/Impl/PureXml-2.5.5/ReaderImpl.cs +++ b/CK.Storage/Impl/PureXml-2.5.5/ReaderImpl.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\SimpleStructuredReader.cs) is part of CiviKey. +* This file (CK.Storage\Impl\PureXml-2.5.5\ReaderImpl.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. @@ -56,7 +56,6 @@ class SubReaderJail : IDisposable public SubReaderJail( ReaderImpl holder ) { - MissingDisposeCallSentinel.DebugCheckMissing( s => Debug.Fail( s ) ); _previous = holder._xmlReader; holder._xmlReader = _previous.ReadSubtree(); // Moves the reader on the current node. diff --git a/CK.Storage/Impl/PureXml-2.5.5/ReaderImplSub.cs b/CK.Storage/Impl/PureXml-2.5.5/ReaderImplSub.cs index 7b5f9f7..25ce0e3 100644 --- a/CK.Storage/Impl/PureXml-2.5.5/ReaderImplSub.cs +++ b/CK.Storage/Impl/PureXml-2.5.5/ReaderImplSub.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\SubStructuredReader.cs) is part of CiviKey. +* This file (CK.Storage\Impl\PureXml-2.5.5\ReaderImplSub.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/Impl/PureXml-2.5.5/WriterBase.cs b/CK.Storage/Impl/PureXml-2.5.5/WriterBase.cs index f3eb537..a0630e9 100644 --- a/CK.Storage/Impl/PureXml-2.5.5/WriterBase.cs +++ b/CK.Storage/Impl/PureXml-2.5.5/WriterBase.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\SimpleStructuredWriter.cs) is part of CiviKey. +* This file (CK.Storage\Impl\PureXml-2.5.5\WriterBase.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. @@ -47,18 +47,9 @@ internal abstract class WriterBase : IStructuredWriter protected WriterBase( WriterImpl root ) { - MissingDisposeCallSentinel.DebugCheckMissing( s => Debug.Fail( s ) ); _root = root ?? (WriterImpl)this; } -#if DEBUG - MissingDisposeCallSentinel _sentinel = new MissingDisposeCallSentinel(); - ~WriterBase() - { - MissingDisposeCallSentinel.RegisterMissing( _sentinel ); - } -#endif - internal WriterImpl Root { get { return _root; } @@ -73,10 +64,6 @@ public void Dispose() { if( _root != null ) { -#if DEBUG - _sentinel = null; - GC.SuppressFinalize( this ); -#endif OnDispose(); _root = null; } diff --git a/CK.Storage/Impl/PureXml-2.5.5/WriterImpl.cs b/CK.Storage/Impl/PureXml-2.5.5/WriterImpl.cs index 11ca23a..80ef5bd 100644 --- a/CK.Storage/Impl/PureXml-2.5.5/WriterImpl.cs +++ b/CK.Storage/Impl/PureXml-2.5.5/WriterImpl.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\SimpleStructuredWriter.cs) is part of CiviKey. +* This file (CK.Storage\Impl\PureXml-2.5.5\WriterImpl.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/Impl/PureXml-2.5.5/WriterImplSub.cs b/CK.Storage/Impl/PureXml-2.5.5/WriterImplSub.cs index 9268895..a847977 100644 --- a/CK.Storage/Impl/PureXml-2.5.5/WriterImplSub.cs +++ b/CK.Storage/Impl/PureXml-2.5.5/WriterImplSub.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\SubStructuredReader.cs) is part of CiviKey. +* This file (CK.Storage\Impl\PureXml-2.5.5\WriterImplSub.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/ObjectReadExDataEventArgs.cs b/CK.Storage/ObjectReadExDataEventArgs.cs index 0a33110..c06efbf 100644 --- a/CK.Storage/ObjectReadExDataEventArgs.cs +++ b/CK.Storage/ObjectReadExDataEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Storage\ObjectReadExDataEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Storage/ObjectWriteExDataEventArgs.cs b/CK.Storage/ObjectWriteExDataEventArgs.cs index ca80681..ec27e29 100644 --- a/CK.Storage/ObjectWriteExDataEventArgs.cs +++ b/CK.Storage/ObjectWriteExDataEventArgs.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Storage\ObjectWriteExDataEventArgs.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/CK.Storage/Properties/AssemblyInfo.cs b/CK.Storage/Properties/AssemblyInfo.cs index 9df4c5c..4a0adda 100644 --- a/CK.Storage/Properties/AssemblyInfo.cs +++ b/CK.Storage/Properties/AssemblyInfo.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/SimpleStructuredReader.cs b/CK.Storage/SimpleStructuredReader.cs index 0ed3308..92732a4 100644 --- a/CK.Storage/SimpleStructuredReader.cs +++ b/CK.Storage/SimpleStructuredReader.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Storage\SimpleStructuredReader.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -37,8 +60,6 @@ static public IStructuredReader CreateReader( Stream stream, IServiceProvider se /// A reader bound to the or null. static public IStructuredReader CreateReader( Stream stream, IServiceProvider serviceProvider, bool throwErrorOnMissingFile ) { - MissingDisposeCallSentinel.DebugCheckMissing( s => Debug.Fail( s ) ); - if( stream == null ) { if( throwErrorOnMissingFile ) diff --git a/CK.Storage/SimpleStructuredWriter.cs b/CK.Storage/SimpleStructuredWriter.cs index 7bea496..8fdd9ef 100644 --- a/CK.Storage/SimpleStructuredWriter.cs +++ b/CK.Storage/SimpleStructuredWriter.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (CK.Storage\SimpleStructuredWriter.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -23,7 +46,6 @@ public static class SimpleStructuredWriter /// An opened, ready to use, (that must be disposed once done). static public IStructuredWriter CreateWriter( Stream stream, IServiceProvider baseServiceProvider ) { - MissingDisposeCallSentinel.DebugCheckMissing( s => Debug.Fail( s ) ); XmlWriter w = XmlWriter.Create( stream, new XmlWriterSettings() { CheckCharacters = true, Indent = true, CloseOutput = true } ); return new WriterImpl( w, baseServiceProvider, true, true ); } diff --git a/CK.Storage/StandardReadStatus.cs b/CK.Storage/StandardReadStatus.cs index bef66e2..f9f36bf 100644 --- a/CK.Storage/StandardReadStatus.cs +++ b/CK.Storage/StandardReadStatus.cs @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/CK.Storage/StructuredReaderAndWriterExtension.cs b/CK.Storage/StructuredReaderAndWriterExtension.cs index 72bd52a..2f0c7e6 100644 --- a/CK.Storage/StructuredReaderAndWriterExtension.cs +++ b/CK.Storage/StructuredReaderAndWriterExtension.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Storage\Impl\StructuredReaderAndWriterExtension.cs) is part of CiviKey. +* This file (CK.Storage\StructuredReaderAndWriterExtension.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Context.Tests/ContextExceptionProtection.cs b/Tests/CK.Context.Tests/ContextExceptionProtection.cs index 150e1a5..df0a11e 100644 --- a/Tests/CK.Context.Tests/ContextExceptionProtection.cs +++ b/Tests/CK.Context.Tests/ContextExceptionProtection.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\ContextExceptionProtection.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Context.Tests/ContextLifetime.cs b/Tests/CK.Context.Tests/ContextLifetime.cs index 5bc78f5..25af9f3 100644 --- a/Tests/CK.Context.Tests/ContextLifetime.cs +++ b/Tests/CK.Context.Tests/ContextLifetime.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\ContextLifetime.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin; using NUnit.Framework; diff --git a/Tests/CK.Context.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs b/Tests/CK.Context.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs index bc39ec5..014e30c 100644 --- a/Tests/CK.Context.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs +++ b/Tests/CK.Context.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\Plugins\SimplePlugin\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Context.Tests/Plugins/SimplePlugin/SimplePlugin.cs b/Tests/CK.Context.Tests/Plugins/SimplePlugin/SimplePlugin.cs index bb0346c..18b22d2 100644 --- a/Tests/CK.Context.Tests/Plugins/SimplePlugin/SimplePlugin.cs +++ b/Tests/CK.Context.Tests/Plugins/SimplePlugin/SimplePlugin.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\Plugins\SimplePlugin\SimplePlugin.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Context.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Context.Tests/Properties/AssemblyInfo.cs index 7f8255a..db2ad0b 100644 --- a/Tests/CK.Context.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Context.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Context.Tests/ReadWrites.cs b/Tests/CK.Context.Tests/ReadWrites.cs index 4fb9c55..6bae65a 100644 --- a/Tests/CK.Context.Tests/ReadWrites.cs +++ b/Tests/CK.Context.Tests/ReadWrites.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\ReadWrites.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Context.Tests/TestBase.cs b/Tests/CK.Context.Tests/TestBase.cs index 7ef7d57..db0ada6 100644 --- a/Tests/CK.Context.Tests/TestBase.cs +++ b/Tests/CK.Context.Tests/TestBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\TestBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Context.Tests/TestContextHost.cs b/Tests/CK.Context.Tests/TestContextHost.cs index 2c4efc6..d310697 100644 --- a/Tests/CK.Context.Tests/TestContextHost.cs +++ b/Tests/CK.Context.Tests/TestContextHost.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Context.Tests\TestContextHost.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Core.Tests/ActionSequenceTests.cs b/Tests/CK.Core.Tests/ActionSequenceTests.cs index 4920b7a..1f04a56 100644 --- a/Tests/CK.Core.Tests/ActionSequenceTests.cs +++ b/Tests/CK.Core.Tests/ActionSequenceTests.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\ActionSequenceTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using CK.Core; using NUnit.Framework; using System.Linq; diff --git a/Tests/CK.Core.Tests/ActivityLoggerTests.cs b/Tests/CK.Core.Tests/ActivityLoggerTests.cs index 90ee375..867820f 100644 --- a/Tests/CK.Core.Tests/ActivityLoggerTests.cs +++ b/Tests/CK.Core.Tests/ActivityLoggerTests.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\ActivityLoggerTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Core.Tests/Animals.cs b/Tests/CK.Core.Tests/Animals.cs index b39ed19..7bbee49 100644 --- a/Tests/CK.Core.Tests/Animals.cs +++ b/Tests/CK.Core.Tests/Animals.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\Animals.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Core.Tests/CK.Core.Tests.csproj b/Tests/CK.Core.Tests/CK.Core.Tests.csproj index e865ebe..4d95628 100644 --- a/Tests/CK.Core.Tests/CK.Core.Tests.csproj +++ b/Tests/CK.Core.Tests/CK.Core.Tests.csproj @@ -58,7 +58,6 @@ - diff --git a/Tests/CK.Core.Tests/Collection/FIFOTests.cs b/Tests/CK.Core.Tests/Collection/FIFOTests.cs index 7dd687c..5a693cd 100644 --- a/Tests/CK.Core.Tests/Collection/FIFOTests.cs +++ b/Tests/CK.Core.Tests/Collection/FIFOTests.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\Collection\FIFOTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using CK.Core; using NUnit.Framework; using System.Linq; diff --git a/Tests/CK.Core.Tests/Collection/ReadOnlyTests.cs b/Tests/CK.Core.Tests/Collection/ReadOnlyTests.cs index 13e44bb..9ad7239 100644 --- a/Tests/CK.Core.Tests/Collection/ReadOnlyTests.cs +++ b/Tests/CK.Core.Tests/Collection/ReadOnlyTests.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\Collection\ReadOnlyTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using CK.Core; using NUnit.Framework; using System.Linq; diff --git a/Tests/CK.Core.Tests/Collection/SortedArrayKeyListTests.cs b/Tests/CK.Core.Tests/Collection/SortedArrayKeyListTests.cs index 4efc8c6..eac0b95 100644 --- a/Tests/CK.Core.Tests/Collection/SortedArrayKeyListTests.cs +++ b/Tests/CK.Core.Tests/Collection/SortedArrayKeyListTests.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\Collection\SortedArrayKeyListTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Core.Tests/Collection/SortedArrayListTests.cs b/Tests/CK.Core.Tests/Collection/SortedArrayListTests.cs index e97e288..2a03d90 100644 --- a/Tests/CK.Core.Tests/Collection/SortedArrayListTests.cs +++ b/Tests/CK.Core.Tests/Collection/SortedArrayListTests.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\Collection\SortedArrayListTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Core.Tests/CoreExtensionTests.cs b/Tests/CK.Core.Tests/CoreExtensionTests.cs index 6a10095..2200f71 100644 --- a/Tests/CK.Core.Tests/CoreExtensionTests.cs +++ b/Tests/CK.Core.Tests/CoreExtensionTests.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\CoreExtensionTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using CK.Core; using NUnit.Framework; using System.Linq; diff --git a/Tests/CK.Core.Tests/FileUtilTests.cs b/Tests/CK.Core.Tests/FileUtilTests.cs index 937b2e3..64d79c8 100644 --- a/Tests/CK.Core.Tests/FileUtilTests.cs +++ b/Tests/CK.Core.Tests/FileUtilTests.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\FileUtilTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Core.Tests/MissingDisposeCallSentinelTests.cs b/Tests/CK.Core.Tests/MissingDisposeCallSentinelTests.cs deleted file mode 100644 index febdacb..0000000 --- a/Tests/CK.Core.Tests/MissingDisposeCallSentinelTests.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using NUnit.Framework; -using System.Diagnostics; - -namespace CK.Core -{ - - [TestFixture] - public class MissingDisposeCallSentinelTests - { - - class DisposableClassDebug : IDisposable - { - -#if DEBUG - MissingDisposeCallSentinel _sentinel = new MissingDisposeCallSentinel(); - ~DisposableClassDebug() - { - MissingDisposeCallSentinel.RegisterMissing( _sentinel ); - } -#endif - - public void Dispose() - { -#if DEBUG - _sentinel = null; - GC.SuppressFinalize( this ); -#endif - } - } - - [Test] - public void TestWorksInDebug1() - { - MissingDisposeCallSentinel.Clear(); - var c = new DisposableClassDebug(); - c = null; - GC.Collect( 1, GCCollectionMode.Forced ); - GC.WaitForPendingFinalizers(); - #if DEBUG - Assert.That( MissingDisposeCallSentinel.Missing.Count() == 1 ); - MissingDisposeCallSentinel.Clear(); - #else - Assert.That( MissingDisposeCallSentinel.Missing.Count() == 0 ); - #endif - } - - [Test] - public void TestWorksInDebug2() - { - MissingDisposeCallSentinel.Clear(); - var c = new DisposableClassDebug(); - c = null; - string missing = null; - MissingDisposeCallSentinel.DebugCheckMissing( s => missing = s ); - - #if DEBUG - Assert.That( missing != null, "Missing Dispose detected." ); - MissingDisposeCallSentinel.Clear(); - #else - Assert.That( missing == null, "Missing Dispose NOT detected." ); - #endif - } - - [Test] - public void TestSuccess() - { - MissingDisposeCallSentinel.Clear(); - using( var c = new DisposableClassDebug() ) - { - } - GC.Collect( 1, GCCollectionMode.Forced ); - GC.WaitForPendingFinalizers(); - Assert.That( MissingDisposeCallSentinel.Missing.Count() == 0 ); - } - } -} diff --git a/Tests/CK.Core.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Core.Tests/Properties/AssemblyInfo.cs index 9261aaa..ee606bb 100644 --- a/Tests/CK.Core.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Core.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Core.Tests/ServiceContainerTests.cs b/Tests/CK.Core.Tests/ServiceContainerTests.cs index 9cbdf99..0dc53e6 100644 --- a/Tests/CK.Core.Tests/ServiceContainerTests.cs +++ b/Tests/CK.Core.Tests/ServiceContainerTests.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\ServiceContainerTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using CK.Core; using NUnit.Framework; using System.Linq; diff --git a/Tests/CK.Core.Tests/TestHelper.cs b/Tests/CK.Core.Tests/TestHelper.cs index 6e2306f..f57b257 100644 --- a/Tests/CK.Core.Tests/TestHelper.cs +++ b/Tests/CK.Core.Tests/TestHelper.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\TestHelper.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Core.Tests/UriHelperTests.cs b/Tests/CK.Core.Tests/UriHelperTests.cs index 8cce235..48ddf75 100644 --- a/Tests/CK.Core.Tests/UriHelperTests.cs +++ b/Tests/CK.Core.Tests/UriHelperTests.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Core.Tests\UriHelperTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Discoverer.ProducerConsumer.cs b/Tests/CK.Discoverer.Tests/Discoverer.ProducerConsumer.cs index 037aef0..d31d7e4 100644 --- a/Tests/CK.Discoverer.Tests/Discoverer.ProducerConsumer.cs +++ b/Tests/CK.Discoverer.Tests/Discoverer.ProducerConsumer.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Tests\Plugin\Discoverer.TestDiffs.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Discoverer.ProducerConsumer.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Discoverer.TestDiffs.cs b/Tests/CK.Discoverer.Tests/Discoverer.TestDiffs.cs index fa97dc1..b4cd920 100644 --- a/Tests/CK.Discoverer.Tests/Discoverer.TestDiffs.cs +++ b/Tests/CK.Discoverer.Tests/Discoverer.TestDiffs.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Tests\Plugin\Discoverer.TestDiffs.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Discoverer.TestDiffs.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Discoverer.cs b/Tests/CK.Discoverer.Tests/Discoverer.cs index 57e9230..419aca4 100644 --- a/Tests/CK.Discoverer.Tests/Discoverer.cs +++ b/Tests/CK.Discoverer.Tests/Discoverer.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Tests\Plugin\Discoverer.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Discoverer.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01.cs b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01.cs index 1d296fb..32bd56d 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\EditorsOfPlugins\EditorOfPlugin01.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\EditorsOfPlugins\EditorOfPlugin01.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01and02.cs b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01and02.cs index 02a7ed8..25c23bd 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01and02.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin01and02.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\EditorsOfPlugins\EditorOfPlugin01and02.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\EditorsOfPlugins\EditorOfPlugin01and02.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin02.cs b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin02.cs index 564ff92..9791f04 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin02.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfPlugin02.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\EditorsOfPlugins\EditorOfPlugin02.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\EditorsOfPlugins\EditorOfPlugin02.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfUnknownPlugin.cs b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfUnknownPlugin.cs index ab7cd95..a978f53 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfUnknownPlugin.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/EditorOfUnknownPlugin.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\EditorsOfPlugins\EditorOfUnknownPlugin.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\EditorsOfPlugins\EditorOfUnknownPlugin.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/Properties/AssemblyInfo.cs index 14c754d..0f0ff4d 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/EditorsOfPlugins/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\EditorsOfPlugins\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\EditorsOfPlugins\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/ClassZ.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/ClassZ.cs index 934024a..e0ed4df 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/ClassZ.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/ClassZ.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymClassZ\ClassZ.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/Properties/AssemblyInfo.cs index 79c0ac1..7e3b0e3 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZ/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymClassZ\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/ClassZbis.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/ClassZbis.cs index c13862a..3ea2384 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/ClassZbis.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/ClassZbis.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymClassZbis\ClassZbis.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/Properties/AssemblyInfo.cs index 1691883..29178bb 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymClassZbis/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymClassZbis\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/IServiceZ.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/IServiceZ.cs index 8ade50e..7ab3a71 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/IServiceZ.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/IServiceZ.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymServiceZ\IServiceZ.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/ImplZ.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/ImplZ.cs index 5721afa..72979cc 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/ImplZ.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/ImplZ.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\Plugin01.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymServiceZ\ImplZ.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/Properties/AssemblyInfo.cs index fc92acb..c65a5c8 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZ/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymServiceZ\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/IServiceZ.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/IServiceZ.cs index bc9ea27..506eb9c 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/IServiceZ.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/IServiceZ.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymServiceZbis\IServiceZ.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/ImplZbis.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/ImplZbis.cs index 582456b..eb4bf0c 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/ImplZbis.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/ImplZbis.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\Plugin01.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymServiceZbis\ImplZbis.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/Properties/AssemblyInfo.cs index 74836e3..77f22e8 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/HomonymServiceZbis/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\HomonymServiceZbis\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/Properties/AssemblyInfo.cs index da55c81..a46ccdb 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\RefExternalNonDynamicService\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/RefExternalNonDynamicService.cs b/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/RefExternalNonDynamicService.cs index a924e76..cfcac8b 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/RefExternalNonDynamicService.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/RefExternalNonDynamicService/RefExternalNonDynamicService.cs @@ -1,4 +1,27 @@ -using CK.Plugin; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\RefExternalNonDynamicService\RefExternalNonDynamicService.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using CK.Plugin; using CK.Tests.Plugin; namespace RefExternalNonDynamicService diff --git a/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/Properties/AssemblyInfo.cs index 01f6602..9ed80c1 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\RefInternalNonDynamicService\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/RefInternalNonDynamicService.cs b/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/RefInternalNonDynamicService.cs index 9d47653..6a98d85 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/RefInternalNonDynamicService.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/RefInternalNonDynamicService/RefInternalNonDynamicService.cs @@ -1,4 +1,27 @@ -using CK.Plugin; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\RefInternalNonDynamicService\RefInternalNonDynamicService.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using CK.Plugin; namespace RefInternalNonDynamicService { diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/IServiceA.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/IServiceA.cs index 32a2f5c..30c6cec 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/IServiceA.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/IServiceA.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA.2\IServiceA.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.2.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.2.cs index 8e1de74..c0bcac0 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.2.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.2.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\Plugin01.2.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA.2\Plugin01.2.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.cs index 73bf0cc..0b2f89b 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Plugin01.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\Plugin01.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA.2\Plugin01.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Properties/AssemblyInfo.cs index d5bd56a..f45e626 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.2/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.2\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA.2\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Plugin01.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Plugin01.cs index 9f4b0ce..bf890d3 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Plugin01.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Plugin01.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.Old\Plugin01.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA.Old\Plugin01.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Properties/AssemblyInfo.cs index 2321cce..173da46 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA.Old/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA.Old\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA.Old\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA/IServiceA.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA/IServiceA.cs index d407ed5..85e3f66 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA/IServiceA.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA/IServiceA.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA\IServiceA.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Plugin01.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Plugin01.cs index e6b68f0..86c2917 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Plugin01.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Plugin01.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\Plugin01.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA\Plugin01.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs index 7b017be..db4cf99 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceA\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceB/IServiceB.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceB/IServiceB.cs index a63afe6..6c7a26a 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceB/IServiceB.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceB/IServiceB.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\IServiceB.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceB\IServiceB.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Plugin02.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Plugin02.cs index 50a5981..a02993f 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Plugin02.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Plugin02.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\Plugin02.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceB\Plugin02.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs index 8f26d49..4a37833 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceB\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs index 48a3392..1868fbc 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceOnlyC\INotDynamicServiceC.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceC.Model\INotDynamicServiceC.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/IServiceC.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/IServiceC.cs index 5be29c6..f604588 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/IServiceC.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/IServiceC.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceOnlyC\IServiceC.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceC.Model\IServiceC.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs index 42ad675..4341a83 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceOnlyC\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceC.Model\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceC/PluginServiceC.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceC/PluginServiceC.cs index 25eaf17..1a7c6e0 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceC/PluginServiceC.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceC/PluginServiceC.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC\PluginServiceC.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceC\PluginServiceC.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs index ccf2121..e5ad9b4 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer01.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer01.cs index eaadcdf..cfdfcab 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer01.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer01.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceConsumer\Consumer01.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer02.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer02.cs index d30c208..91059c1 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer02.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Consumer02.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceConsumer\Consumer02.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Properties/AssemblyInfo.cs index fcd891d..94fc30f 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceConsumer/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceConsumer\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceD.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceD.cs index 84f715d..52c6b17 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceD.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceD.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceD\IServiceD.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceE.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceE.cs index debf473..53475b7 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceE.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/IServiceE.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceD\IServiceE.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Plugin04.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Plugin04.cs index 5b546bc..813d818 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Plugin04.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Plugin04.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceD\Plugin04.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Properties/AssemblyInfo.cs index 0aa943d..49377c6 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceD/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceD\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer.cs index dde0765..1f87d3f 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceProducer.Model\IServiceProducer.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer02.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer02.cs index 650d777..3820e0f 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer02.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/IServiceProducer02.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceProducer.Model\IServiceProducer02.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/Properties/AssemblyInfo.cs index fab7ba9..6a2eb1c 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer.Model/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceProducer.Model\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/Properties/AssemblyInfo.cs index b07b587..1eaee30 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceProducer\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/ServiceProducer.cs b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/ServiceProducer.cs index 24d8261..e2ee68d 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/ServiceProducer.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/ServiceProducer/ServiceProducer.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\ServiceProducer\ServiceProducer.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/IServiceE.cs b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/IServiceE.cs index bf31af1..2813029 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/IServiceE.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/IServiceE.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\VersionedPluginWithService\IServiceE.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin05.cs b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin05.cs index b30ea45..23b29a9 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin05.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin05.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\VersionedPluginWithService\Plugin05.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin06.cs b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin06.cs index ecd4804..a24a5ca 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin06.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Plugin06.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\VersionedPluginWithService\Plugin06.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Properties/AssemblyInfo.cs index af605c1..2839ae9 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/VersionedPluginWithService/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Plugins\VersionedPluginWithService\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/NewPlugin.cs b/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/NewPlugin.cs index ef05075..75a67a2 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/NewPlugin.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/NewPlugin.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\VersinnedPlugins\NewPlugin.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\VersionedPlugins\NewPlugin.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/OldPlugin.cs b/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/OldPlugin.cs index c3acacc..eb12c4a 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/OldPlugin.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/OldPlugin.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\VersinnedPlugins\OldPlugin.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\VersionedPlugins\OldPlugin.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/Properties/AssemblyInfo.cs index 0a1dab7..d37ee93 100644 --- a/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Plugins/VersionedPlugins/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\VersinnedPlugins\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Discoverer.Tests\Plugins\VersionedPlugins\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Discoverer.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Discoverer.Tests/Properties/AssemblyInfo.cs index 9827335..0433d56 100644 --- a/Tests/CK.Discoverer.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Discoverer.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Discoverer.Tests/RunningStatusTests.cs b/Tests/CK.Discoverer.Tests/RunningStatusTests.cs index 2254822..67108b2 100644 --- a/Tests/CK.Discoverer.Tests/RunningStatusTests.cs +++ b/Tests/CK.Discoverer.Tests/RunningStatusTests.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\RunningStatusTests.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Discoverer.Tests/TestBase.cs b/Tests/CK.Discoverer.Tests/TestBase.cs index eb9319f..55b0848 100644 --- a/Tests/CK.Discoverer.Tests/TestBase.cs +++ b/Tests/CK.Discoverer.Tests/TestBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Discoverer.Tests\TestBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.MultiTrait.Tests/Properties/AssemblyInfo.cs b/Tests/CK.MultiTrait.Tests/Properties/AssemblyInfo.cs index 5c1ee87..c28e1df 100644 --- a/Tests/CK.MultiTrait.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.MultiTrait.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.MultiTrait.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.MultiTrait.Tests/Traits.cs b/Tests/CK.MultiTrait.Tests/Traits.cs index 0ebc0d5..f6e878f 100644 --- a/Tests/CK.MultiTrait.Tests/Traits.cs +++ b/Tests/CK.MultiTrait.Tests/Traits.cs @@ -1,6 +1,6 @@ -#region LGPL License +#region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.MultiTrait.Tests\Traits.cs) is part of CiviKey. +* This file (Tests\CK.MultiTrait.Tests\Traits.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published diff --git a/Tests/CK.Plugin.Config.Tests/ChangeUser.cs b/Tests/CK.Plugin.Config.Tests/ChangeUser.cs index 67a869c..845ce0a 100644 --- a/Tests/CK.Plugin.Config.Tests/ChangeUser.cs +++ b/Tests/CK.Plugin.Config.Tests/ChangeUser.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\ChangeUser.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Config.Tests/ConfigCollections.cs b/Tests/CK.Plugin.Config.Tests/ConfigCollections.cs index 1434501..42a4c68 100644 --- a/Tests/CK.Plugin.Config.Tests/ConfigCollections.cs +++ b/Tests/CK.Plugin.Config.Tests/ConfigCollections.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\ConfigCollections.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.IO; using CK.Plugin; using CK.Plugin.Config; diff --git a/Tests/CK.Plugin.Config.Tests/HostConfiguration.cs b/Tests/CK.Plugin.Config.Tests/HostConfiguration.cs index d3650de..275a19f 100644 --- a/Tests/CK.Plugin.Config.Tests/HostConfiguration.cs +++ b/Tests/CK.Plugin.Config.Tests/HostConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\HostConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.IO; using CK.Core; using CK.Plugin.Config; diff --git a/Tests/CK.Plugin.Config.Tests/MiniContext.cs b/Tests/CK.Plugin.Config.Tests/MiniContext.cs index ea6d11e..0b60352 100644 --- a/Tests/CK.Plugin.Config.Tests/MiniContext.cs +++ b/Tests/CK.Plugin.Config.Tests/MiniContext.cs @@ -1,4 +1,27 @@ -using CK.Core; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\MiniContext.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using CK.Core; using CK.Plugin.Config; using CK.SharedDic; diff --git a/Tests/CK.Plugin.Config.Tests/PluginRequirements.cs b/Tests/CK.Plugin.Config.Tests/PluginRequirements.cs index 5a20182..9a029ce 100644 --- a/Tests/CK.Plugin.Config.Tests/PluginRequirements.cs +++ b/Tests/CK.Plugin.Config.Tests/PluginRequirements.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\PluginRequirements.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Config.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Config.Tests/Properties/AssemblyInfo.cs index 0cae296..2e6fcfd 100644 --- a/Tests/CK.Plugin.Config.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Config.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Plugin.Config.Tests/ReadFiles.cs b/Tests/CK.Plugin.Config.Tests/ReadFiles.cs index 72e4419..1d08b6e 100644 --- a/Tests/CK.Plugin.Config.Tests/ReadFiles.cs +++ b/Tests/CK.Plugin.Config.Tests/ReadFiles.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\ReadFiles.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Config.Tests/ResolveConfiguration.cs b/Tests/CK.Plugin.Config.Tests/ResolveConfiguration.cs index 3f31cbe..18211ad 100644 --- a/Tests/CK.Plugin.Config.Tests/ResolveConfiguration.cs +++ b/Tests/CK.Plugin.Config.Tests/ResolveConfiguration.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\ResolveConfiguration.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Config.Tests/TestBase.cs b/Tests/CK.Plugin.Config.Tests/TestBase.cs index 102ea0a..85bd6e8 100644 --- a/Tests/CK.Plugin.Config.Tests/TestBase.cs +++ b/Tests/CK.Plugin.Config.Tests/TestBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\TestBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Config.Tests/TestHost.cs b/Tests/CK.Plugin.Config.Tests/TestHost.cs index 5317896..f854085 100644 --- a/Tests/CK.Plugin.Config.Tests/TestHost.cs +++ b/Tests/CK.Plugin.Config.Tests/TestHost.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Config.Tests\TestHost.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Host.Tests/ChoucroutePlugin.cs b/Tests/CK.Plugin.Host.Tests/ChoucroutePlugin.cs index 61bfda6..ef4e51b 100644 --- a/Tests/CK.Plugin.Host.Tests/ChoucroutePlugin.cs +++ b/Tests/CK.Plugin.Host.Tests/ChoucroutePlugin.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\ChoucroutePlugin.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Host.Tests\ChoucroutePlugin.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Host.Tests/ChoucrouteServiceNotAvailable.cs b/Tests/CK.Plugin.Host.Tests/ChoucrouteServiceNotAvailable.cs index fcac355..199f203 100644 --- a/Tests/CK.Plugin.Host.Tests/ChoucrouteServiceNotAvailable.cs +++ b/Tests/CK.Plugin.Host.Tests/ChoucrouteServiceNotAvailable.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\ChoucroutePlugin.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Host.Tests\ChoucrouteServiceNotAvailable.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Host.Tests/ConsumerPlugin.cs b/Tests/CK.Plugin.Host.Tests/ConsumerPlugin.cs index 96fe79f..c81bd52 100644 --- a/Tests/CK.Plugin.Host.Tests/ConsumerPlugin.cs +++ b/Tests/CK.Plugin.Host.Tests/ConsumerPlugin.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\ConsumerPlugin.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Host.Tests\ConsumerPlugin.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Host.Tests/IChoucrouteService.cs b/Tests/CK.Plugin.Host.Tests/IChoucrouteService.cs index cb5a6bb..15afad4 100644 --- a/Tests/CK.Plugin.Host.Tests/IChoucrouteService.cs +++ b/Tests/CK.Plugin.Host.Tests/IChoucrouteService.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\IChoucrouteService.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Host.Tests\IChoucrouteService.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Host.Tests/IChoucrouteServiceHandMadeProxy.cs b/Tests/CK.Plugin.Host.Tests/IChoucrouteServiceHandMadeProxy.cs index 1cca23a..208184b 100644 --- a/Tests/CK.Plugin.Host.Tests/IChoucrouteServiceHandMadeProxy.cs +++ b/Tests/CK.Plugin.Host.Tests/IChoucrouteServiceHandMadeProxy.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\IChoucrouteServiceHandMadeProxy.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Host.Tests\IChoucrouteServiceHandMadeProxy.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Host.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Host.Tests/Properties/AssemblyInfo.cs index 5a94dd6..baf52d0 100644 --- a/Tests/CK.Plugin.Host.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Host.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Host.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Plugin.Host.Tests/TestContext.cs b/Tests/CK.Plugin.Host.Tests/TestContext.cs index 8fc8ce8..c1ae396 100644 --- a/Tests/CK.Plugin.Host.Tests/TestContext.cs +++ b/Tests/CK.Plugin.Host.Tests/TestContext.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Host.Tests\TestContext.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using CK.Core; using CK.Plugin.Hosting; using NUnit.Framework; diff --git a/Tests/CK.Plugin.Host.Tests/TestDynProxy.cs b/Tests/CK.Plugin.Host.Tests/TestDynProxy.cs index 8b1a653..f0f972e 100644 --- a/Tests/CK.Plugin.Host.Tests/TestDynProxy.cs +++ b/Tests/CK.Plugin.Host.Tests/TestDynProxy.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\TestDynProxy.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Host.Tests\TestDynProxy.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Host.Tests/TestEmit.cs b/Tests/CK.Plugin.Host.Tests/TestEmit.cs index cb0e8e9..9220ca4 100644 --- a/Tests/CK.Plugin.Host.Tests/TestEmit.cs +++ b/Tests/CK.Plugin.Host.Tests/TestEmit.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\TestEmit.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Host.Tests\TestEmit.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/BasicStartStop.cs b/Tests/CK.Plugin.Runner.Tests/BasicStartStop.cs index 99f6013..ad9cd85 100644 --- a/Tests/CK.Plugin.Runner.Tests/BasicStartStop.cs +++ b/Tests/CK.Plugin.Runner.Tests/BasicStartStop.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\BasicStartStop.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin.Config; using CK.Plugin.Hosting; using NUnit.Framework; diff --git a/Tests/CK.Plugin.Runner.Tests/CheckServiceReferences.cs b/Tests/CK.Plugin.Runner.Tests/CheckServiceReferences.cs index 62344fb..95bc910 100644 --- a/Tests/CK.Plugin.Runner.Tests/CheckServiceReferences.cs +++ b/Tests/CK.Plugin.Runner.Tests/CheckServiceReferences.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\CheckServiceReferences.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin.Config; using CK.Plugin.Hosting; using NUnit.Framework; diff --git a/Tests/CK.Plugin.Runner.Tests/Injections.cs b/Tests/CK.Plugin.Runner.Tests/Injections.cs index b3cdfb6..fd8f207 100644 --- a/Tests/CK.Plugin.Runner.Tests/Injections.cs +++ b/Tests/CK.Plugin.Runner.Tests/Injections.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Injections.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin.Hosting; using NUnit.Framework; diff --git a/Tests/CK.Plugin.Runner.Tests/IsDirty.cs b/Tests/CK.Plugin.Runner.Tests/IsDirty.cs index 3062b1c..cba2be3 100644 --- a/Tests/CK.Plugin.Runner.Tests/IsDirty.cs +++ b/Tests/CK.Plugin.Runner.Tests/IsDirty.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\IsDirty.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin; using CK.Plugin.Config; using CK.Plugin.Hosting; diff --git a/Tests/CK.Plugin.Runner.Tests/MiniContext.cs b/Tests/CK.Plugin.Runner.Tests/MiniContext.cs index 05bb97e..363656d 100644 --- a/Tests/CK.Plugin.Runner.Tests/MiniContext.cs +++ b/Tests/CK.Plugin.Runner.Tests/MiniContext.cs @@ -1,4 +1,27 @@ -using CK.Core; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\MiniContext.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using CK.Core; using CK.Plugin.Config; using CK.SharedDic; diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/BuggyPluginServiceC.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/BuggyPluginServiceC.cs index a00fc3d..d656206 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/BuggyPluginServiceC.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/BuggyPluginServiceC.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC\PluginServiceC.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\BuggyServiceC\BuggyPluginServiceC.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/Properties/AssemblyInfo.cs index ccf2121..22a5c68 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/BuggyServiceC/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\BuggyServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin01.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin01.cs index 4beaf45..e1c439b 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin01.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin01.cs @@ -1,4 +1,27 @@ -using CK.Plugin; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\Injection\CircleReferences\Plugin01.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using CK.Plugin; using NUnit.Framework; namespace Injection.CircleRef diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin02.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin02.cs index b8090fb..241e96f 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin02.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin02.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\Injection\CircleReferences\Plugin02.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin03.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin03.cs index 28a4ee3..7897d81 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin03.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/CircleReferences/Plugin03.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\Injection\CircleReferences\Plugin03.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin01.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin01.cs index cccb250..1a29dde 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin01.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin01.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\Injection\Plugin01.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin02.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin02.cs index f9aff13..6d77251 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin02.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Plugin02.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\Injection\Plugin02.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Properties/AssemblyInfo.cs index d3498cd..7e1618f 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/Injection/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\Injection\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/IServiceB.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/IServiceB.cs index a63afe6..8d8abe0 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/IServiceB.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/IServiceB.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\IServiceB.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\PluginNeedsServiceC\IServiceB.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsIService.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsIService.cs index 1721bdb..816f9fe 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsIService.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsIService.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\Plugin02.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\PluginNeedsServiceC\PluginNeedsIService.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsService.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsService.cs index bc44b84..a3dc70d 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsService.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/PluginNeedsService.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\Plugin02.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\PluginNeedsServiceC\PluginNeedsService.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/Properties/AssemblyInfo.cs index 917e4e8..8cfbb19 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/PluginNeedsServiceC/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\PluginNeedsServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/IServiceA.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/IServiceA.cs index d407ed5..75f90e7 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/IServiceA.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/IServiceA.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\IServiceA.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceA\IServiceA.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Plugin01.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Plugin01.cs index e6b68f0..535d4d1 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Plugin01.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Plugin01.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\Plugin01.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceA\Plugin01.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs index 8f4be4f..6f3c932 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceA/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceA\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceA\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/IServiceB.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/IServiceB.cs index a63afe6..44ed9e1 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/IServiceB.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/IServiceB.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\IServiceB.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceB\IServiceB.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Plugin02.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Plugin02.cs index 50a5981..bdd12d5 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Plugin02.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Plugin02.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\Plugin02.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceB\Plugin02.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs index cba0add..d976323 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceB/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceB\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceB\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/PluginServiceC.2.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/PluginServiceC.2.cs index bcdbf12..da065c9 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/PluginServiceC.2.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/PluginServiceC.2.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC.Bis\PluginServiceC.Bis.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceC.Bis\PluginServiceC.2.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/Properties/AssemblyInfo.cs index 1eeff54..f3e0d5f 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Bis/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceC.Bis\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs index 48a3392..2df8a5b 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/INotDynamicServiceC.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceOnlyC\INotDynamicServiceC.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceC.Model\INotDynamicServiceC.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/IServiceC.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/IServiceC.cs index 5be29c6..45cbc2f 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/IServiceC.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/IServiceC.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceOnlyC\IServiceC.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceC.Model\IServiceC.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs index 42ad675..34f428b 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC.Model/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceOnlyC\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceC.Model\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/PluginServiceC.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/PluginServiceC.cs index 25eaf17..a15c4a6 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/PluginServiceC.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/PluginServiceC.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC\PluginServiceC.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceC\PluginServiceC.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs index ccf2121..86f728b 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/ServiceC/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (TestPlugins\ServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\ServiceC\Properties\AssemblyInfo.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs index 4b347c3..cf73346 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\SimplePlugin\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/SimplePlugin.cs b/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/SimplePlugin.cs index d41f3ba..c94dc25 100644 --- a/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/SimplePlugin.cs +++ b/Tests/CK.Plugin.Runner.Tests/Plugins/SimplePlugin/SimplePlugin.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Plugins\SimplePlugin\SimplePlugin.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Plugin.Runner.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Plugin.Runner.Tests/Properties/AssemblyInfo.cs index d3686fb..f7fc45e 100644 --- a/Tests/CK.Plugin.Runner.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Plugin.Runner.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Plugin.Runner.Tests/ResolveRequirements.cs b/Tests/CK.Plugin.Runner.Tests/ResolveRequirements.cs index b9039b4..ccadc1b 100644 --- a/Tests/CK.Plugin.Runner.Tests/ResolveRequirements.cs +++ b/Tests/CK.Plugin.Runner.Tests/ResolveRequirements.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\ResolveRequirements.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin.Config; using CK.Plugin.Hosting; using NUnit.Framework; diff --git a/Tests/CK.Plugin.Runner.Tests/RunningErrors.cs b/Tests/CK.Plugin.Runner.Tests/RunningErrors.cs index 435c8a7..8f5d011 100644 --- a/Tests/CK.Plugin.Runner.Tests/RunningErrors.cs +++ b/Tests/CK.Plugin.Runner.Tests/RunningErrors.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\RunningErrors.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using CK.Plugin.Config; using CK.Plugin.Hosting; using NUnit.Framework; diff --git a/Tests/CK.Plugin.Runner.Tests/TestBase.cs b/Tests/CK.Plugin.Runner.Tests/TestBase.cs index 4f0ae3a..ae7b0a4 100644 --- a/Tests/CK.Plugin.Runner.Tests/TestBase.cs +++ b/Tests/CK.Plugin.Runner.Tests/TestBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Plugin.Runner.Tests\TestBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Reflection.Tests/HelperTest.cs b/Tests/CK.Reflection.Tests/HelperTest.cs index 0a6aa49..8bd3bba 100644 --- a/Tests/CK.Reflection.Tests/HelperTest.cs +++ b/Tests/CK.Reflection.Tests/HelperTest.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Reflection.Tests\HelperTest.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Reflection.Tests/ObjectAndTypeTest.cs b/Tests/CK.Reflection.Tests/ObjectAndTypeTest.cs index 296dcfa..8dae7fa 100644 --- a/Tests/CK.Reflection.Tests/ObjectAndTypeTest.cs +++ b/Tests/CK.Reflection.Tests/ObjectAndTypeTest.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Reflection.Tests\ObjectAndTypeTest.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Reflection.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Reflection.Tests/Properties/AssemblyInfo.cs index f1665c2..fb103b7 100644 --- a/Tests/CK.Reflection.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Reflection.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Reflection.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Reflection.Tests/TypeMatches.cs b/Tests/CK.Reflection.Tests/TypeMatches.cs index 9f76139..cb26f12 100644 --- a/Tests/CK.Reflection.Tests/TypeMatches.cs +++ b/Tests/CK.Reflection.Tests/TypeMatches.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Reflection.Tests\TypeMatches.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.SharedDic.Tests/ArchitectureSharedDicReader.cs b/Tests/CK.SharedDic.Tests/ArchitectureSharedDicReader.cs index da90d7e..390190b 100644 --- a/Tests/CK.SharedDic.Tests/ArchitectureSharedDicReader.cs +++ b/Tests/CK.SharedDic.Tests/ArchitectureSharedDicReader.cs @@ -1,6 +1,6 @@ #region LGPL License /*---------------------------------------------------------------------------- -* This file (CK.Plugin.Host.Tests\Tests\TestEmit.cs) is part of CiviKey. +* This file (Tests\CK.SharedDic.Tests\ArchitectureSharedDicReader.cs) is part of CiviKey. * * CiviKey is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with CiviKey. If not, see . * -* Copyright © 2007-2010, +* Copyright © 2007-2012, * Invenietis , * In’Tech INFO , * All rights reserved. diff --git a/Tests/CK.SharedDic.Tests/BuggyObject.cs b/Tests/CK.SharedDic.Tests/BuggyObject.cs index 79452fb..466e661 100644 --- a/Tests/CK.SharedDic.Tests/BuggyObject.cs +++ b/Tests/CK.SharedDic.Tests/BuggyObject.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\BuggyObject.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Xml; using CK.Core; using CK.Storage; diff --git a/Tests/CK.SharedDic.Tests/Events.cs b/Tests/CK.SharedDic.Tests/Events.cs index 957b210..fcc15f9 100644 --- a/Tests/CK.SharedDic.Tests/Events.cs +++ b/Tests/CK.SharedDic.Tests/Events.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\Events.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/Tests/CK.SharedDic.Tests/Helpers/SharedDicTestContext.cs b/Tests/CK.SharedDic.Tests/Helpers/SharedDicTestContext.cs index 96cda74..b836f9f 100644 --- a/Tests/CK.SharedDic.Tests/Helpers/SharedDicTestContext.cs +++ b/Tests/CK.SharedDic.Tests/Helpers/SharedDicTestContext.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\Helpers\SharedDicTestContext.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.SharedDic.Tests/Helpers/SharedDictionaryTester.cs b/Tests/CK.SharedDic.Tests/Helpers/SharedDictionaryTester.cs index d1ae452..23fff6b 100644 --- a/Tests/CK.SharedDic.Tests/Helpers/SharedDictionaryTester.cs +++ b/Tests/CK.SharedDic.Tests/Helpers/SharedDictionaryTester.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\Helpers\SharedDictionaryTester.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.SharedDic.Tests/Imports.cs b/Tests/CK.SharedDic.Tests/Imports.cs index c4378f8..c8213bb 100644 --- a/Tests/CK.SharedDic.Tests/Imports.cs +++ b/Tests/CK.SharedDic.Tests/Imports.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\Imports.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/Tests/CK.SharedDic.Tests/Properties/AssemblyInfo.cs b/Tests/CK.SharedDic.Tests/Properties/AssemblyInfo.cs index 7cc658d..448fbee 100644 --- a/Tests/CK.SharedDic.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.SharedDic.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.SharedDic.Tests/ReadWrites.cs b/Tests/CK.SharedDic.Tests/ReadWrites.cs index ae6f446..fe8e812 100644 --- a/Tests/CK.SharedDic.Tests/ReadWrites.cs +++ b/Tests/CK.SharedDic.Tests/ReadWrites.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\ReadWrites.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/Tests/CK.SharedDic.Tests/SkippedFragments.cs b/Tests/CK.SharedDic.Tests/SkippedFragments.cs index d089c1b..5e51f70 100644 --- a/Tests/CK.SharedDic.Tests/SkippedFragments.cs +++ b/Tests/CK.SharedDic.Tests/SkippedFragments.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\SkippedFragments.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/Tests/CK.SharedDic.Tests/TestBase.cs b/Tests/CK.SharedDic.Tests/TestBase.cs index 6cf8547..89efa69 100644 --- a/Tests/CK.SharedDic.Tests/TestBase.cs +++ b/Tests/CK.SharedDic.Tests/TestBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.SharedDic.Tests\TestBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Storage.Tests/ExternalDll/ExternalClass.cs b/Tests/CK.Storage.Tests/ExternalDll/ExternalClass.cs index 56adc65..07e961c 100644 --- a/Tests/CK.Storage.Tests/ExternalDll/ExternalClass.cs +++ b/Tests/CK.Storage.Tests/ExternalDll/ExternalClass.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\ExternalDll\ExternalClass.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Storage.Tests/ExternalDll/Properties/AssemblyInfo.cs b/Tests/CK.Storage.Tests/ExternalDll/Properties/AssemblyInfo.cs index 1f9c27c..4b704f1 100644 --- a/Tests/CK.Storage.Tests/ExternalDll/Properties/AssemblyInfo.cs +++ b/Tests/CK.Storage.Tests/ExternalDll/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\ExternalDll\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Storage.Tests/Properties/AssemblyInfo.cs b/Tests/CK.Storage.Tests/Properties/AssemblyInfo.cs index 8a09483..690e83b 100644 --- a/Tests/CK.Storage.Tests/Properties/AssemblyInfo.cs +++ b/Tests/CK.Storage.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,27 @@ -using System.Reflection; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\Properties\AssemblyInfo.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/Tests/CK.Storage.Tests/SerializableObjects.cs b/Tests/CK.Storage.Tests/SerializableObjects.cs index dc5c976..e64ce5c 100644 --- a/Tests/CK.Storage.Tests/SerializableObjects.cs +++ b/Tests/CK.Storage.Tests/SerializableObjects.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\SerializableObjects.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Storage.Tests/StructuredReadWrites.cs b/Tests/CK.Storage.Tests/StructuredReadWrites.cs index 1a0cff2..7cd50c0 100644 --- a/Tests/CK.Storage.Tests/StructuredReadWrites.cs +++ b/Tests/CK.Storage.Tests/StructuredReadWrites.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\StructuredReadWrites.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Storage.Tests/StructuredSerializer.cs b/Tests/CK.Storage.Tests/StructuredSerializer.cs index 0bd1b10..20b0be6 100644 --- a/Tests/CK.Storage.Tests/StructuredSerializer.cs +++ b/Tests/CK.Storage.Tests/StructuredSerializer.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\StructuredSerializer.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Storage.Tests/TestBase.cs b/Tests/CK.Storage.Tests/TestBase.cs index 2ccc0df..2735d1d 100644 --- a/Tests/CK.Storage.Tests/TestBase.cs +++ b/Tests/CK.Storage.Tests/TestBase.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\TestBase.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Tests/CK.Storage.Tests/XmlRawObject.cs b/Tests/CK.Storage.Tests/XmlRawObject.cs index 5db5815..e07c6d1 100644 --- a/Tests/CK.Storage.Tests/XmlRawObject.cs +++ b/Tests/CK.Storage.Tests/XmlRawObject.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\XmlRawObject.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Xml; using CK.Core; using CK.Storage; diff --git a/Tests/CK.Storage.Tests/XmlSerializableObjects.cs b/Tests/CK.Storage.Tests/XmlSerializableObjects.cs index e1728ff..2eaebc0 100644 --- a/Tests/CK.Storage.Tests/XmlSerializableObjects.cs +++ b/Tests/CK.Storage.Tests/XmlSerializableObjects.cs @@ -1,4 +1,27 @@ -using System; +#region LGPL License +/*---------------------------------------------------------------------------- +* This file (Tests\CK.Storage.Tests\XmlSerializableObjects.cs) is part of CiviKey. +* +* CiviKey is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CiviKey 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 Lesser General Public License for more details. +* You should have received a copy of the GNU Lesser General Public License +* along with CiviKey. If not, see . +* +* Copyright © 2007-2012, +* Invenietis , +* In’Tech INFO , +* All rights reserved. +*-----------------------------------------------------------------------------*/ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text;