Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelVerb.cs / 1305376 / WebPartConnectionsCancelVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCancelVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCancelVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChannelTokenTypeConverter.cs
- SafeLocalMemHandle.cs
- Line.cs
- RealProxy.cs
- XsdDuration.cs
- DoubleCollectionConverter.cs
- Hash.cs
- SafeProcessHandle.cs
- TextTreeFixupNode.cs
- XslNumber.cs
- PropertyChangedEventManager.cs
- CustomExpressionEventArgs.cs
- SocketElement.cs
- ColorConvertedBitmap.cs
- ScrollChrome.cs
- SelectionProcessor.cs
- RayMeshGeometry3DHitTestResult.cs
- UpdatePanel.cs
- CodePropertyReferenceExpression.cs
- TextContainerChangedEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- MenuTracker.cs
- XhtmlBasicListAdapter.cs
- TileModeValidation.cs
- EnumMember.cs
- CombinedGeometry.cs
- TripleDESCryptoServiceProvider.cs
- FunctionImportMapping.cs
- ProgressiveCrcCalculatingStream.cs
- Wizard.cs
- ServiceOperation.cs
- StatusBarDrawItemEvent.cs
- SimpleBitVector32.cs
- CurrentChangedEventManager.cs
- SmiEventStream.cs
- HttpModulesSection.cs
- AdRotator.cs
- XPathSingletonIterator.cs
- AlphabeticalEnumConverter.cs
- AssemblyResourceLoader.cs
- TextDecorationCollectionConverter.cs
- Application.cs
- DockingAttribute.cs
- FullTextBreakpoint.cs
- ExecutedRoutedEventArgs.cs
- NativeBuffer.cs
- UnmanagedMemoryStream.cs
- PersonalizationDictionary.cs
- SamlSecurityToken.cs
- CreateParams.cs
- ColorTransform.cs
- TreeViewImageKeyConverter.cs
- UnmanagedMemoryStream.cs
- DoubleStorage.cs
- DrawingGroup.cs
- SubMenuStyle.cs
- IgnoreFileBuildProvider.cs
- HttpApplicationFactory.cs
- X500Name.cs
- MenuCommand.cs
- storepermission.cs
- ToolStripGrip.cs
- Line.cs
- ICollection.cs
- ButtonField.cs
- AdCreatedEventArgs.cs
- HtmlInputPassword.cs
- SoapTypeAttribute.cs
- HMACRIPEMD160.cs
- VisualStyleElement.cs
- ListItem.cs
- ObjectDataSourceView.cs
- SingleAnimationUsingKeyFrames.cs
- XmlProcessingInstruction.cs
- BamlLocalizationDictionary.cs
- DocumentReference.cs
- Drawing.cs
- TableCell.cs
- DataSourceNameHandler.cs
- DockPattern.cs
- Events.cs
- HttpPostProtocolReflector.cs
- recordstatefactory.cs
- HtmlTitle.cs
- LiteralSubsegment.cs
- MergePropertyDescriptor.cs
- ScriptingRoleServiceSection.cs
- WebPartDisplayModeEventArgs.cs
- HttpRawResponse.cs
- PropertyDescriptorCollection.cs
- WindowClosedEventArgs.cs
- SoapClientProtocol.cs
- WriteTimeStream.cs
- FreezableDefaultValueFactory.cs
- ObjectIDGenerator.cs
- ItemCollection.cs
- TypeUnloadedException.cs
- ColumnPropertiesGroup.cs
- TreeWalker.cs
- RemotingSurrogateSelector.cs