Author: igorz Date: 2008-01-02 09:07:48 -0500 (Wed, 02 Jan 2008) New Revision: 92100
Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredArrayDeclaration.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredDisposeScript.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredExpandoAttribute.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredHiddenField.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScript.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScriptType.cs Modified: trunk/mcs/class/System.Web.Extensions/System.Web.Extensions.dll.sources Log: added new classes. Modified: trunk/mcs/class/System.Web.Extensions/System.Web.Extensions.dll.sources =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.Extensions.dll.sources 2008-01-02 12:36:28 UTC (rev 92099) +++ trunk/mcs/class/System.Web.Extensions/System.Web.Extensions.dll.sources 2008-01-02 14:07:48 UTC (rev 92100) @@ -74,3 +74,9 @@ ./System.Web.UI/UpdateProgress.cs ./System.Web.UI/ScriptMode.cs ./System.Web.UI/UpdatePanelUpdateMode.cs +./System.Web.UI/RegisteredArrayDeclaration.cs +./System.Web.UI/RegisteredDisposeScript.cs +./System.Web.UI/RegisteredExpandoAttribute.cs +./System.Web.UI/RegisteredHiddenField.cs +./System.Web.UI/RegisteredScript.cs +./System.Web.UI/RegisteredScriptType.cs \ No newline at end of file Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredArrayDeclaration.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredArrayDeclaration.cs 2008-01-02 12:36:28 UTC (rev 92099) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredArrayDeclaration.cs 2008-01-02 14:07:48 UTC (rev 92100) @@ -0,0 +1,58 @@ +// +// RegisteredArrayDeclaration.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2008 Mainsoft, Inc. http://www.mainsoft.com +// +// +// 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; + +namespace System.Web.UI +{ + public sealed class RegisteredArrayDeclaration + { + readonly Control _control; + readonly string _name; + readonly string _value; + + internal RegisteredArrayDeclaration (Control control, string name, string value) { + _control = control; + _name = name; + _value = value; + } + + public Control Control { + get { return _control; } + } + + public string Name { + get { return _name; } + } + + public string Value { + get { return _value; } + } + } +} Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredDisposeScript.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredDisposeScript.cs 2008-01-02 12:36:28 UTC (rev 92099) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredDisposeScript.cs 2008-01-02 14:07:48 UTC (rev 92100) @@ -0,0 +1,52 @@ +// +// RegisteredDisposeScript.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2008 Mainsoft, Inc. http://www.mainsoft.com +// +// +// 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; + +namespace System.Web.UI +{ + public sealed class RegisteredDisposeScript + { + readonly Control _control; + readonly string _script; + + internal RegisteredDisposeScript (Control control, string script) { + _control = control; + _script = script; + } + + public Control Control { + get { return _control; } + } + + public string Script { + get { return _script; } + } + } +} Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredExpandoAttribute.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredExpandoAttribute.cs 2008-01-02 12:36:28 UTC (rev 92099) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredExpandoAttribute.cs 2008-01-02 14:07:48 UTC (rev 92100) @@ -0,0 +1,70 @@ +// +// RegisteredArrayDeclaration.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2008 Mainsoft, Inc. http://www.mainsoft.com +// +// +// 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; + +namespace System.Web.UI +{ + public sealed class RegisteredExpandoAttribute + { + readonly Control _control; + readonly string _controlId; + readonly bool _encode; + readonly string _name; + readonly string _value; + + internal RegisteredExpandoAttribute (Control control, string controlId, string name, string value, bool encode) { + _control = control; + _name = name; + _value = value; + _controlId = controlId; + _encode = encode; + } + + public Control Control { + get { return _control; } + } + + public string Name { + get { return _name; } + } + + public string Value { + get { return _value; } + } + + public string ControlId { + get { return _controlId; } + } + + public bool Encode { + get { return _encode; } + } + } +} Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredHiddenField.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredHiddenField.cs 2008-01-02 12:36:28 UTC (rev 92099) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredHiddenField.cs 2008-01-02 14:07:48 UTC (rev 92100) @@ -0,0 +1,58 @@ +// +// RegisteredHiddenField.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2008 Mainsoft, Inc. http://www.mainsoft.com +// +// +// 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; + +namespace System.Web.UI +{ + public sealed class RegisteredHiddenField + { + readonly Control _control; + readonly string _name; + readonly string _initialValue; + + internal RegisteredHiddenField (Control control, string name, string initialValue) { + _control = control; + _name = name; + _initialValue = initialValue; + } + + public Control Control { + get { return _control; } + } + + public string Name { + get { return _name; } + } + + public string InitialValue { + get { return _initialValue; } + } + } +} Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScript.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScript.cs 2008-01-02 12:36:28 UTC (rev 92099) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScript.cs 2008-01-02 14:07:48 UTC (rev 92100) @@ -0,0 +1,81 @@ +// +// RegisteredScript.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2008 Mainsoft, Inc. http://www.mainsoft.com +// +// +// 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; + +namespace System.Web.UI +{ + public sealed class RegisteredScript + { + readonly Control _control; + readonly bool _addScriptTags; + readonly string _key; + readonly string _script; + readonly RegisteredScriptType _scriptType; + readonly Type _type; + readonly string _url; + + internal RegisteredScript (Control control, Type type, string key, string script, string url, bool addScriptTag, RegisteredScriptType scriptType) { + _control = control; + _type = type; + _script = script; + _url = url; + _addScriptTags = addScriptTag; + _scriptType = scriptType; + } + + public bool AddScriptTags { + get { return _addScriptTags; } + } + + public Control Control { + get { return _control; } + } + + public string Key { + get { return _key; } + } + + public string Script { + get { return _script; } + } + + public RegisteredScriptType ScriptType { + get { return _scriptType; } + } + + public Type Type { + get { return _type; } + } + + public string Url { + get { return _url; } + } + } +} Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScriptType.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScriptType.cs 2008-01-02 12:36:28 UTC (rev 92099) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/RegisteredScriptType.cs 2008-01-02 14:07:48 UTC (rev 92100) @@ -0,0 +1,41 @@ +// +// RegisteredScriptType.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2008 Mainsoft, Inc. http://www.mainsoft.com +// +// +// 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; + +namespace System.Web.UI +{ + public enum RegisteredScriptType + { + ClientScriptInclude = 0, + ClientScriptBlock = 1, + ClientStartupScript = 2, + OnSubmitStatement = 3, + } +} _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
