From acdea736b6919a03994a38322760d50d791d003a Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Fri, 11 May 2007 21:15:35 +0000 Subject: [PATCH] Added CPL statement in front of all source files git-svn-id: file:///srv/devel/repo-conversion/nusu@18 d2e56fa2-650e-0410-a79f-9358c0239efd --- .../Collections/ObservableCollection.Test.cs | 19 ++++++++ Source/Collections/ObservableCollection.cs | 19 ++++++++ Source/Collections/Parentable.cs | 19 ++++++++ Source/Collections/ParentingCollection.cs | 44 +++++++++++++++---- Source/Collections/PriorityQueue.Test.cs | 19 ++++++++ Source/Collections/PriorityQueue.cs | 19 ++++++++ Source/Collections/RingMemoryStream.Test.cs | 19 ++++++++ Source/Collections/RingMemoryStream.cs | 30 +++++++++++-- .../TransformingReadOnlyCollection.cs | 19 ++++++++ .../UnintrusivePriorityQueue.Test.cs | 19 ++++++++ .../Collections/UnintrusivePriorityQueue.cs | 19 ++++++++ Source/Licensing/LicenseKey.Test.cs | 19 ++++++++ Source/Licensing/LicenseKey.cs | 19 ++++++++ Source/Serialization/BinarySerializer.Test.cs | 19 ++++++++ Source/Serialization/BinarySerializer.cs | 19 ++++++++ Source/Serialization/IBinarySerializable.cs | 19 ++++++++ .../Tracking/Internal/ObservedProgression.cs | 19 ++++++++ .../WeightedProgressionWrapperCollection.cs | 19 ++++++++ Source/Tracking/ProgressUpdateEventArgs.cs | 19 ++++++++ Source/Tracking/Progression.cs | 19 ++++++++ Source/Tracking/ProgressionTracker.cs | 19 ++++++++ Source/Tracking/SetProgression.Test.cs | 19 ++++++++ Source/Tracking/SetProgression.cs | 19 ++++++++ Source/Tracking/WeightedProgression.cs | 19 ++++++++ 24 files changed, 479 insertions(+), 13 deletions(-) diff --git a/Source/Collections/ObservableCollection.Test.cs b/Source/Collections/ObservableCollection.Test.cs index 2137d36..fae1e7e 100644 --- a/Source/Collections/ObservableCollection.Test.cs +++ b/Source/Collections/ObservableCollection.Test.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; diff --git a/Source/Collections/ObservableCollection.cs b/Source/Collections/ObservableCollection.cs index 1f8a432..0022b0e 100644 --- a/Source/Collections/ObservableCollection.cs +++ b/Source/Collections/ObservableCollection.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/Source/Collections/Parentable.cs b/Source/Collections/Parentable.cs index 51f2c68..7d75b86 100644 --- a/Source/Collections/Parentable.cs +++ b/Source/Collections/Parentable.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; diff --git a/Source/Collections/ParentingCollection.cs b/Source/Collections/ParentingCollection.cs index 840defd..9d28c0f 100644 --- a/Source/Collections/ParentingCollection.cs +++ b/Source/Collections/ParentingCollection.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Collections.ObjectModel; @@ -60,17 +79,26 @@ namespace Nuclex.Support.Collections { /// Disposes the collection and optionally all items contained therein /// Whether to try calling Dispose() on all items /// - /// This method is intended to support collections that need to dispose of their - /// items. The ParentingCollection will first detach all items from the parent - /// object and then call Dispose() on any item that implements IDisposable. + /// + /// This method is intended to support collections that need to dispose of their + /// items. The ParentingCollection will first detach all items from the parent + /// object and then call Dispose() on any item that implements IDisposable. + /// + /// + /// The items contained in the collection are not disconnected from their parent + /// (eg. Reparent()ed to null) because this is out of the scope for the + /// ParentingCollection<> class to decide and provokes the potentially + /// risky situation that an item, when it is Dispose()d, might try to disconnect + /// some events or perform other maintenance work on its parent object that + /// would then be no longer available. If you wish to disconnect the items from + /// their parent prior to disposing them, add a Reparent(null); call before the + /// line with InternalDispose(true); in your custom Dispose() method. + /// /// protected void InternalDispose(bool disposeItems) { if(disposeItems) { - // Have the items do their cleanup work - //Reparent(default(ParentType)); - // Dispose of all the items in the collection that implement IDisposable foreach(ItemType item in this) { IDisposable disposable = item as IDisposable; @@ -78,9 +106,7 @@ namespace Nuclex.Support.Collections { // If the item is disposable, we get rid of it if(disposable != null) disposable.Dispose(); - /*else - Reparent(default(ParentType));*/ - + } } diff --git a/Source/Collections/PriorityQueue.Test.cs b/Source/Collections/PriorityQueue.Test.cs index 70cae22..95411a2 100644 --- a/Source/Collections/PriorityQueue.Test.cs +++ b/Source/Collections/PriorityQueue.Test.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; diff --git a/Source/Collections/PriorityQueue.cs b/Source/Collections/PriorityQueue.cs index b71213f..dee0fab 100644 --- a/Source/Collections/PriorityQueue.cs +++ b/Source/Collections/PriorityQueue.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Collections; diff --git a/Source/Collections/RingMemoryStream.Test.cs b/Source/Collections/RingMemoryStream.Test.cs index deb9f81..166bef9 100644 --- a/Source/Collections/RingMemoryStream.Test.cs +++ b/Source/Collections/RingMemoryStream.Test.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; #if UNITTEST diff --git a/Source/Collections/RingMemoryStream.cs b/Source/Collections/RingMemoryStream.cs index c89d83d..22daba2 100644 --- a/Source/Collections/RingMemoryStream.cs +++ b/Source/Collections/RingMemoryStream.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.IO; @@ -5,8 +24,11 @@ namespace Nuclex.Support.Collections { /// Specialized memory stream for ring buffers /// - /// This ring buffer class is specialized for binary data and tries to achieve - /// optimal efficiency for storing and retrieving chunks of multiple bytes at once. + /// This ring buffer class is specialized for binary data and attempts to achieve + /// optimal efficiency when storing and retrieving chunks of several bytes + /// at once. Typical use cases include audio and network buffers where one party + /// is responsible for refilling the buffer at regular intervals while the other + /// constantly streams data out of it. /// public class RingMemoryStream : Stream { @@ -42,7 +64,7 @@ namespace Nuclex.Support.Collections { if(length > 0) Read(newBuffer.GetBuffer(), 0, length); - this.ringBuffer.Close(); + this.ringBuffer.Close(); // Equals dispose of the old buffer this.ringBuffer = newBuffer; this.startIndex = 0; this.endIndex = length; @@ -103,7 +125,7 @@ namespace Nuclex.Support.Collections { // If the end index lies before the start index, the data in the // ring memory stream is fragmented. Example: |#####>-------<#####| } else { - int linearAvailable = (int)(this.ringBuffer.Length - this.startIndex); + int linearAvailable = (int)this.ringBuffer.Length - this.startIndex; // Will this read process cross the end of the ring buffer, requiring us to // read the data in 2 steps? diff --git a/Source/Collections/TransformingReadOnlyCollection.cs b/Source/Collections/TransformingReadOnlyCollection.cs index 6102569..045bdd5 100644 --- a/Source/Collections/TransformingReadOnlyCollection.cs +++ b/Source/Collections/TransformingReadOnlyCollection.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections; using System.Collections.Generic; diff --git a/Source/Collections/UnintrusivePriorityQueue.Test.cs b/Source/Collections/UnintrusivePriorityQueue.Test.cs index 0d2b732..8b457a5 100644 --- a/Source/Collections/UnintrusivePriorityQueue.Test.cs +++ b/Source/Collections/UnintrusivePriorityQueue.Test.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; diff --git a/Source/Collections/UnintrusivePriorityQueue.cs b/Source/Collections/UnintrusivePriorityQueue.cs index e17ba0f..253a5ab 100644 --- a/Source/Collections/UnintrusivePriorityQueue.cs +++ b/Source/Collections/UnintrusivePriorityQueue.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Collections; diff --git a/Source/Licensing/LicenseKey.Test.cs b/Source/Licensing/LicenseKey.Test.cs index b6ff898..d4f08f7 100644 --- a/Source/Licensing/LicenseKey.Test.cs +++ b/Source/Licensing/LicenseKey.Test.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections; diff --git a/Source/Licensing/LicenseKey.cs b/Source/Licensing/LicenseKey.cs index d66afcb..aa94a93 100644 --- a/Source/Licensing/LicenseKey.cs +++ b/Source/Licensing/LicenseKey.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections; using System.IO; diff --git a/Source/Serialization/BinarySerializer.Test.cs b/Source/Serialization/BinarySerializer.Test.cs index 5b85e3d..267c843 100644 --- a/Source/Serialization/BinarySerializer.Test.cs +++ b/Source/Serialization/BinarySerializer.Test.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.IO; diff --git a/Source/Serialization/BinarySerializer.cs b/Source/Serialization/BinarySerializer.cs index 4203a20..a73c617 100644 --- a/Source/Serialization/BinarySerializer.cs +++ b/Source/Serialization/BinarySerializer.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.IO; diff --git a/Source/Serialization/IBinarySerializable.cs b/Source/Serialization/IBinarySerializable.cs index a396a6b..df69f65 100644 --- a/Source/Serialization/IBinarySerializable.cs +++ b/Source/Serialization/IBinarySerializable.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.IO; diff --git a/Source/Tracking/Internal/ObservedProgression.cs b/Source/Tracking/Internal/ObservedProgression.cs index a1dec6d..5ba732d 100644 --- a/Source/Tracking/Internal/ObservedProgression.cs +++ b/Source/Tracking/Internal/ObservedProgression.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Text; diff --git a/Source/Tracking/Internal/WeightedProgressionWrapperCollection.cs b/Source/Tracking/Internal/WeightedProgressionWrapperCollection.cs index 550cad9..b77c762 100644 --- a/Source/Tracking/Internal/WeightedProgressionWrapperCollection.cs +++ b/Source/Tracking/Internal/WeightedProgressionWrapperCollection.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections; using System.Collections.Generic; diff --git a/Source/Tracking/ProgressUpdateEventArgs.cs b/Source/Tracking/ProgressUpdateEventArgs.cs index c44a8d0..1dbc208 100644 --- a/Source/Tracking/ProgressUpdateEventArgs.cs +++ b/Source/Tracking/ProgressUpdateEventArgs.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Text; diff --git a/Source/Tracking/Progression.cs b/Source/Tracking/Progression.cs index b8c24c0..265b0fe 100644 --- a/Source/Tracking/Progression.cs +++ b/Source/Tracking/Progression.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Threading; diff --git a/Source/Tracking/ProgressionTracker.cs b/Source/Tracking/ProgressionTracker.cs index 4b9fb7f..8afe2e4 100644 --- a/Source/Tracking/ProgressionTracker.cs +++ b/Source/Tracking/ProgressionTracker.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Text; diff --git a/Source/Tracking/SetProgression.Test.cs b/Source/Tracking/SetProgression.Test.cs index 2d014f7..e6a6fbf 100644 --- a/Source/Tracking/SetProgression.Test.cs +++ b/Source/Tracking/SetProgression.Test.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.IO; diff --git a/Source/Tracking/SetProgression.cs b/Source/Tracking/SetProgression.cs index 9fcf90a..e7053d6 100644 --- a/Source/Tracking/SetProgression.cs +++ b/Source/Tracking/SetProgression.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/Source/Tracking/WeightedProgression.cs b/Source/Tracking/WeightedProgression.cs index c475c6c..791dca7 100644 --- a/Source/Tracking/WeightedProgression.cs +++ b/Source/Tracking/WeightedProgression.cs @@ -1,3 +1,22 @@ +#region CPL License +/* +Nuclex Framework +Copyright (C) 2002-2007 Nuclex Development Labs + +This library is free software; you can redistribute it and/or +modify it under the terms of the IBM Common Public License as +published by the IBM Corporation; either version 1.0 of the +License, or (at your option) any later version. + +This library 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 +IBM Common Public License for more details. + +You should have received a copy of the IBM Common Public +License along with this library +*/ +#endregion using System; using System.Collections.Generic; using System.Text;