Author: jordi
Date: 2006-11-30 09:54:37 -0500 (Thu, 30 Nov 2006)
New Revision: 68743

Added:
   
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.Configuration/
   
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.Configuration/WorkflowRuntimeSection.cs
   
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.Configuration/WorkflowRuntimeServiceElement.cs
   
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.Configuration/WorkflowRuntimeServiceElementCollection.cs
Removed:
   
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeSection.cs
   
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElement.cs
   
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElementCollection.cs
Modified:
   trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.dll.sources
Log:
Move configuration files to its down directory

Deleted: 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeSection.cs
===================================================================
--- 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeSection.cs
 2006-11-30 14:40:23 UTC (rev 68742)
+++ 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeSection.cs
 2006-11-30 14:54:37 UTC (rev 68743)
@@ -1,89 +0,0 @@
-//
-// System.Workflow.Runtime.Configuration.WorkflowRuntimeSettings
-//
-// Authors:
-//     Joel Reed ([EMAIL PROTECTED])
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Configuration;
-using System.Collections.Specialized;
-using System.Xml;
-
-namespace System.Workflow.Runtime.Configuration {
-
-       public sealed class WorkflowRuntimeSection : ConfigurationSection
-       {
-               static ConfigurationProperty commonParametersProp;
-               static ConfigurationProperty nameProp;
-               static ConfigurationProperty servicesProp;
-               static ConfigurationProperty validateOnCreateProp;
-               static ConfigurationPropertyCollection properties;
-
-               static WorkflowRuntimeSection ()
-               {
-                       commonParametersProp = new ConfigurationProperty 
("commonParameters", typeof (NameValueConfigurationCollection), null,
-                                                                               
                                                                                
                                null, null, ConfigurationPropertyOptions.None);
-                       nameProp = new ConfigurationProperty ("name", typeof 
(string), "");
-                       servicesProp = new ConfigurationProperty ("services", 
typeof (WorkflowRuntimeServiceElementCollection), null,
-                                                                               
                                                                                
                                null, null, ConfigurationPropertyOptions.None);
-                       validateOnCreateProp = new ConfigurationProperty 
("validateOnCreate", typeof (bool), true);
-
-                       properties = new ConfigurationPropertyCollection ();
-
-                       properties.Add (commonParametersProp);
-                       properties.Add (nameProp);
-                       properties.Add (servicesProp);
-                       properties.Add (validateOnCreateProp);
-               }
-
-               [ConfigurationProperty ("name")]
-               public string Name {
-                       get { return (string) base [nameProp]; }
-                       set { base [nameProp] = value; }
-               }
-
-               [ConfigurationProperty ("servicesProp")]
-               public WorkflowRuntimeServiceElementCollection Services {
-                       get { return (WorkflowRuntimeServiceElementCollection) 
base [servicesProp]; }
-               }
-
-               [ConfigurationProperty ("validateOnCreate")]
-               public bool ValidateOnCreate {
-                       get { return (bool) base [validateOnCreateProp];}
-                       set { base [validateOnCreateProp] = value;}
-               }
-
-               [ConfigurationProperty ("commonParameters")]
-               public NameValueConfigurationCollection CommonParameters {
-                       get { return (NameValueConfigurationCollection) base 
[commonParametersProp];}
-               }
-
-               protected override ConfigurationPropertyCollection Properties {
-                       get { return properties; }
-               }
-
-       }
-
-}

Deleted: 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElement.cs
===================================================================
--- 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElement.cs
  2006-11-30 14:40:23 UTC (rev 68742)
+++ 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElement.cs
  2006-11-30 14:54:37 UTC (rev 68743)
@@ -1,78 +0,0 @@
-//
-// System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElement
-//
-// Authors:
-//     Joel Reed ([EMAIL PROTECTED])
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Configuration;
-using System.Collections.Specialized;
-
-namespace System.Workflow.Runtime.Configuration {
-
-       public sealed class WorkflowRuntimeServiceElement : ConfigurationElement
-       {
-               NameValueCollection parameters;
-               static ConfigurationProperty typeProp;
-               static ConfigurationPropertyCollection properties;
-
-               static WorkflowRuntimeServiceElement ()
-                       {
-                               typeProp = new ConfigurationProperty ("type", 
typeof (string), "");
-                               properties = new 
ConfigurationPropertyCollection ();
-
-                               properties.Add (typeProp);
-                       }
-
-               protected override bool OnDeserializeUnrecognizedAttribute 
(string name, string value)
-               {
-                       if (parameters == null)
-                               parameters = new NameValueCollection ();
-
-                       parameters [name] = value;
-                       return true;
-               }
-
-               [ConfigurationProperty ("type")]
-                       public string Type {
-                       get { return (string) base [typeProp];}
-                       set { base[typeProp] = value; }
-               }
-
-               public NameValueCollection Parameters {
-                       get {
-                               if (parameters == null)
-                                       parameters = new NameValueCollection ();
-                               return parameters;
-                       }
-               }
-
-               protected override ConfigurationPropertyCollection Properties {
-                       get { return properties; }
-               }
-
-       }
-
-}

Deleted: 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElementCollection.cs
===================================================================
--- 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElementCollection.cs
        2006-11-30 14:40:23 UTC (rev 68742)
+++ 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElementCollection.cs
        2006-11-30 14:54:37 UTC (rev 68743)
@@ -1,111 +0,0 @@
-//
-// 
System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElementCollection
-//
-// Authors:
-//     Joel Reed ([EMAIL PROTECTED])
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections;
-using System.Configuration;
-
-namespace System.Workflow.Runtime.Configuration {
-
-       [ConfigurationCollection (typeof (WorkflowRuntimeServiceElement), 
CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap)]
-       public sealed class WorkflowRuntimeServiceElementCollection : 
ConfigurationElementCollection
-       {
-               public void Add (WorkflowRuntimeServiceElement element)
-               {
-                       BaseAdd (element);
-               }
-
-               public void Clear ()
-               {
-                       BaseClear ();
-               }
-
-               public bool ContainsKey (object key)
-               {
-                       return (BaseGet (key) != null);
-               }
-
-               public void CopyTo (WorkflowRuntimeServiceElement[] array, int 
index)
-               {
-                       ((ICollection)this).CopyTo (array, index);
-               }
-
-               protected override ConfigurationElement CreateNewElement ()
-               {
-                       return new WorkflowRuntimeServiceElement ();
-               }
-
-               protected override object GetElementKey (ConfigurationElement 
element)
-               {
-                       return ((WorkflowRuntimeServiceElement)element).Type;
-               }
-
-               public int IndexOf (WorkflowRuntimeServiceElement element)
-               {
-                       return BaseIndexOf (element);
-               }
-
-               public void Remove (WorkflowRuntimeServiceElement element)
-               {
-                       BaseRemove (element.Type);
-               }
-
-               public void RemoveAt (int index)
-               {
-                       BaseRemoveAt (index);
-               }
-
-               [MonoTODO ("is this right?")]
-               public void RemoveAt (object key)
-               {
-                       BaseRemove (key);
-               }
-
-               public WorkflowRuntimeServiceElement this [int index] {
-                       get { return (WorkflowRuntimeServiceElement)BaseGet 
(index); }
-                       set { if (BaseGet (index) != null) BaseRemoveAt 
(index); BaseAdd (index, value); }
-               }
-
-               public WorkflowRuntimeServiceElement this [object key] {
-                       get { return (WorkflowRuntimeServiceElement)BaseGet 
(key); }
-                       set {
-                               WorkflowRuntimeServiceElement el = 
(WorkflowRuntimeServiceElement)BaseGet (key);
-                               if (el == null) {
-                                       BaseAdd (value);
-                                       return;
-                               }
-                               int index = IndexOf (el);
-                               BaseRemoveAt (index);
-                               BaseAdd (index, value);
-                       }
-               }
-
-       }
-
-}
-

Copied: 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.Configuration/WorkflowRuntimeSection.cs
 (from rev 68741, 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeSection.cs)

Copied: 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.Configuration/WorkflowRuntimeServiceElement.cs
 (from rev 68742, 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElement.cs)

Copied: 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.Configuration/WorkflowRuntimeServiceElementCollection.cs
 (from rev 68742, 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime/WorkflowRuntimeServiceElementCollection.cs)

Modified: 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.dll.sources
===================================================================
--- 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.dll.sources   
    2006-11-30 14:40:23 UTC (rev 68742)
+++ 
trunk/olive/class/System.Workflow.Runtime/System.Workflow.Runtime.dll.sources   
    2006-11-30 14:54:37 UTC (rev 68743)
@@ -5,9 +5,9 @@
 System.Workflow.Runtime/WorkflowQueuingService.cs
 System.Workflow.Runtime/WorkflowQueue.cs
 System.Workflow.Runtime/WorkflowRuntime.cs
-System.Workflow.Runtime/WorkflowRuntimeSection.cs
-System.Workflow.Runtime/WorkflowRuntimeServiceElement.cs
-System.Workflow.Runtime/WorkflowRuntimeServiceElementCollection.cs
+System.Workflow.Runtime.Configuration/WorkflowRuntimeSection.cs
+System.Workflow.Runtime.Configuration/WorkflowRuntimeServiceElement.cs
+System.Workflow.Runtime.Configuration/WorkflowRuntimeServiceElementCollection.cs
 System.Workflow.Runtime/WorkflowInstance.cs
 System.Workflow.Hosting/WorkflowRuntimeService.cs
 System.Workflow.Hosting/WorkflowRuntimeServiceState.cs
@@ -24,4 +24,4 @@
 System.Workflow.Runtime/WorkflowProcessor.cs
 System.Workflow.Runtime/CorrelationProperty.cs
 System.Workflow.Runtime/CorrelationToken.cs
-System.Workflow.Runtime/CorrelationTokenEventArgs.cs
\ No newline at end of file
+System.Workflow.Runtime/CorrelationTokenEventArgs.cs

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to