diff options
author | Konstantin Safonov <kasthack@epicm.org> | 2017-10-31 22:48:41 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-10-31 22:48:41 +0300 |
commit | 08bb8da2cc0f041d9f822690284cdacd4a5b4cc5 (patch) | |
tree | b95dcfe307aacd0d33249afbda486d98957b6a19 /mcs/class/System.Web | |
parent | bea6d82e80be7c6ca6ec52732149e593c820cadf (diff) |
[System.Web] Reference source import (#5909)
* [System.Web] Reference source import: DataSourceControlBuilder, DefaultAuthenticationEventHandler, EventEntry, Pair, ServerValidateEventArgs, TreeNodeTypes, WizardStep
* Bump API snapshot submodule
Diffstat (limited to 'mcs/class/System.Web')
8 files changed, 7 insertions, 312 deletions
diff --git a/mcs/class/System.Web/System.Web.Security/DefaultAuthenticationEventHandler.cs b/mcs/class/System.Web/System.Web.Security/DefaultAuthenticationEventHandler.cs deleted file mode 100644 index c7982c7a482..00000000000 --- a/mcs/class/System.Web/System.Web.Security/DefaultAuthenticationEventHandler.cs +++ /dev/null @@ -1,36 +0,0 @@ -// -// System.Web.Security.DefaultAuthenticationEventHandler -// -// Authors: -// Gonzalo Paniagua Javier (gonzalo@ximian.com) -// -// (C) 2002 Ximian, Inc (http://www.ximian.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. -// - -namespace System.Web.Security -{ - public delegate void DefaultAuthenticationEventHandler (object sender, - DefaultAuthenticationEventArgs e); -} - diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/ServerValidateEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/ServerValidateEventArgs.cs deleted file mode 100644 index 62b90b13d7f..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls/ServerValidateEventArgs.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// System.Web.UI.WebControls.ServerValidateEventArgs.cs -// -// Author: Duncan Mak (duncan@novell.com) -// -// Copyright (C) 2005 Novell, Inc (http://www.novell.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. -// - -namespace System.Web.UI.WebControls { - - public - class ServerValidateEventArgs : EventArgs - { - string value; - bool is_valid; - - public ServerValidateEventArgs (string value, bool isValid) - { - this.value = value; - this.is_valid = isValid; - } - - public string Value { - get { return value; } - } - - public bool IsValid { - get { return is_valid; } - set { is_valid = value; } - } - } -} diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeTypes.cs b/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeTypes.cs deleted file mode 100644 index 8e0d015b021..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeTypes.cs +++ /dev/null @@ -1,37 +0,0 @@ -// -// System.Web.UI.WebControls.TreeNodeTypes.cs -// -// Author: Sanjay Gupta (gsanjay@novell.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. -// -// Copyright (C) 2004 Novell, Inc (http://www.novell.com) -// - -namespace System.Web.UI.WebControls { - [FlagsAttribute] - public enum TreeNodeTypes { - None = 0, - Root = 1, - Parent = 2, - Leaf = 4, - All = 7 - } -} diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/WizardStep.cs b/mcs/class/System.Web/System.Web.UI.WebControls/WizardStep.cs deleted file mode 100644 index 5206ccf5bc4..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls/WizardStep.cs +++ /dev/null @@ -1,44 +0,0 @@ -// -// System.Web.UI.WebControls.WizardStep -// -// Authors: -// Lluis Sanchez Gual (lluis@novell.com) -// -// (C) 2005 Novell, Inc. (http://www.novell.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; -using System.ComponentModel; - -namespace System.Web.UI.WebControls -{ - [ControlBuilderAttribute (typeof(WizardStepControlBuilder))] - [ToolboxItemAttribute ("")] - [BindableAttribute (false)] - public sealed class WizardStep: WizardStepBase - { - } -} - diff --git a/mcs/class/System.Web/System.Web.UI/DataSourceControlBuilder.cs b/mcs/class/System.Web/System.Web.UI/DataSourceControlBuilder.cs deleted file mode 100644 index d678caaa954..00000000000 --- a/mcs/class/System.Web/System.Web.UI/DataSourceControlBuilder.cs +++ /dev/null @@ -1,35 +0,0 @@ -// -// System.Web.UI.DataSourceControlBuilder.cs -// -// Authors: -// Chris Toshok (toshok@ximian.com) -// -// (C) 2006-2010 Novell, Inc (http://www.novell.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. -// - -namespace System.Web.UI { - - public sealed class DataSourceControlBuilder : ControlBuilder - { - } - -} diff --git a/mcs/class/System.Web/System.Web.UI/EventEntry.cs b/mcs/class/System.Web/System.Web.UI/EventEntry.cs deleted file mode 100644 index 0a5649a3570..00000000000 --- a/mcs/class/System.Web/System.Web.UI/EventEntry.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// System.Web.UI.EventEntry.cs -// -// Authors: -// Arina Itkes (arinai@mainsoft.com) -// -// (C) 2007 Mainsoft Co. (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. -// - -namespace System.Web.UI -{ - public class EventEntry - { - public EventEntry () - {} - - public string HandlerMethodName { - get; - set; - } - public Type HandlerType { - get; - set; - } - public string Name { - get; - set; - } - } -} diff --git a/mcs/class/System.Web/System.Web.UI/Pair.cs b/mcs/class/System.Web/System.Web.UI/Pair.cs deleted file mode 100644 index b300cf5b1ab..00000000000 --- a/mcs/class/System.Web/System.Web.UI/Pair.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// System.Web.UI.Pair -// -// Author: -// Ben Maurer <bmaurer@novell.com> -// -// Copyright (C) 2005-2010 Novell, Inc (http://www.novell.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.Security.Permissions; - -namespace System.Web.UI -{ - // CAS - [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] - [Serializable] - public sealed class Pair - { - public Pair (object x, object y) - { - First = x; - Second = y; - } - - public Pair () - { - } - - public object First; - public object Second; - } -} diff --git a/mcs/class/System.Web/System.Web.dll.sources b/mcs/class/System.Web/System.Web.dll.sources index 48f82ed7388..37165cca17a 100644 --- a/mcs/class/System.Web/System.Web.dll.sources +++ b/mcs/class/System.Web/System.Web.dll.sources @@ -444,7 +444,7 @@ System.Web.Security/AnonymousIdentificationEventHandler.cs System.Web.Security/AnonymousIdentificationModule.cs System.Web.Security/CookieProtection.cs System.Web.Security/DefaultAuthenticationEventArgs.cs -System.Web.Security/DefaultAuthenticationEventHandler.cs +../referencesource/System.Web/Security/GenericAuthenticationEventHandler.cs System.Web.Security/DefaultAuthenticationModule.cs System.Web.Security/FileAuthorizationModule.cs System.Web.Security/FormsAuthentication.cs @@ -559,7 +559,7 @@ System.Web.UI/DataSourceCacheDurationConverter.cs ../referencesource/System.Web/UI/DataSourceCacheExpiry.cs ../referencesource/System.Web/UI/DataSourceCapabilities.cs System.Web.UI/DataSourceControl.cs -System.Web.UI/DataSourceControlBuilder.cs +../referencesource/System.Web/UI/DataSourceControlBuilder.cs ../referencesource/System.Web/UI/DataSourceOperation.cs System.Web.UI/DataSourceSelectArguments.cs System.Web.UI/DataSourceView.cs @@ -569,7 +569,7 @@ System.Web.UI/DesignerDataBoundLiteralControl.cs System.Web.UI/DesignTimeParseData.cs System.Web.UI/DesignTimeTemplateParser.cs ../referencesource/System.Web/UI/EmptyControlCollection.cs -System.Web.UI/EventEntry.cs +../referencesource/System.Web/UI/EventEntry.cs System.Web.UI/ExpressionBindingCollection.cs System.Web.UI/ExpressionBinding.cs System.Web.UI/ExtractTemplateValuesMethod.cs @@ -689,7 +689,7 @@ System.Web.UI/PageTheme.cs System.Web.UI/PageThemeBuilder.cs System.Web.UI/PageThemeFileParser.cs System.Web.UI/PageThemeParser.cs -System.Web.UI/Pair.cs +../referencesource/System.Web/UI/Pair.cs System.Web.UI/ParseChildrenAttribute.cs System.Web.UI/PartialCachingAttribute.cs System.Web.UI/PartialCachingControl.cs @@ -1054,7 +1054,7 @@ System.Web.UI.WebControls/RoleGroupCollection.cs System.Web.UI.WebControls/SelectedDatesCollection.cs System.Web.UI.WebControls/SendMailErrorEventArgs.cs ../referencesource/System.Web/UI/WebControls/SendMailErrorEventHandler.cs -System.Web.UI.WebControls/ServerValidateEventArgs.cs +../referencesource/System.Web/UI/WebControls/ServerValidateEventArgs.cs ../referencesource/System.Web/UI/WebControls/ServerValidateEventHandler.cs System.Web.UI.WebControls/SessionParameter.cs System.Web.UI.WebControls/SiteMapDataSource.cs @@ -1118,7 +1118,7 @@ System.Web.UI.WebControls/TreeNode.cs ../referencesource/System.Web/UI/WebControls/TreeNodeSelectAction.cs System.Web.UI.WebControls/TreeNodeStyleCollection.cs System.Web.UI.WebControls/TreeNodeStyle.cs -System.Web.UI.WebControls/TreeNodeTypes.cs +../referencesource/System.Web/UI/WebControls/TreeNodeType.cs System.Web.UI.WebControls/TreeView.cs ../referencesource/System.Web/UI/WebControls/TreeViewImageSet.cs System.Web.UI.WebControls/UnitConverter.cs @@ -1184,7 +1184,7 @@ System.Web.UI.WebControls/WizardNavigationEventHandler.cs System.Web.UI.WebControls/WizardStepBase.cs System.Web.UI.WebControls/WizardStepCollection.cs System.Web.UI.WebControls/WizardStepControlBuilder.cs -System.Web.UI.WebControls/WizardStep.cs +../referencesource/System.Web/UI/WebControls/WizardStep.cs ../referencesource/System.Web/UI/WebControls/WizardStepType.cs System.Web.UI.WebControls/XmlBuilder.cs System.Web.UI.WebControls/Xml.cs |