Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConnectVerb.cs / 1305376 / WebPartConnectionsConnectVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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 WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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
- TextFormattingConverter.cs
- GregorianCalendarHelper.cs
- InkCanvasSelection.cs
- ZipIOFileItemStream.cs
- LabelLiteral.cs
- ListenerElementsCollection.cs
- RtfControls.cs
- EarlyBoundInfo.cs
- XmlAnyElementAttributes.cs
- SslStream.cs
- Point3DConverter.cs
- StaticSiteMapProvider.cs
- ComPlusServiceHost.cs
- UserControlBuildProvider.cs
- DragDrop.cs
- datacache.cs
- ClientSettingsStore.cs
- RenderDataDrawingContext.cs
- ImmutableObjectAttribute.cs
- EpmCustomContentSerializer.cs
- EncoderExceptionFallback.cs
- ContainsRowNumberChecker.cs
- EncryptedType.cs
- GZipUtils.cs
- PartitionedStreamMerger.cs
- PtsContext.cs
- PrimitiveRenderer.cs
- SafeViewOfFileHandle.cs
- EntryPointNotFoundException.cs
- _NegoStream.cs
- ThreadAttributes.cs
- BitmapEncoder.cs
- TreeBuilderBamlTranslator.cs
- Configuration.cs
- EntityDataSourceWrapperCollection.cs
- EventLogEntryCollection.cs
- DynamicMetaObject.cs
- StringStorage.cs
- TargetControlTypeAttribute.cs
- UnicodeEncoding.cs
- SqlDataSourceParameterParser.cs
- HwndMouseInputProvider.cs
- NumberFormatInfo.cs
- ConnectionsZone.cs
- DataBinding.cs
- SystemColorTracker.cs
- XamlPathDataSerializer.cs
- Set.cs
- ProvideValueServiceProvider.cs
- ControlBindingsCollection.cs
- MouseCaptureWithinProperty.cs
- CurrencyWrapper.cs
- XamlInt32CollectionSerializer.cs
- DataColumnPropertyDescriptor.cs
- TextProperties.cs
- NotifyParentPropertyAttribute.cs
- FormViewDeleteEventArgs.cs
- AccessorTable.cs
- TextStore.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- RegistrationContext.cs
- Control.cs
- CornerRadiusConverter.cs
- dataSvcMapFileLoader.cs
- CompositeFontFamily.cs
- TableLayoutStyle.cs
- DataDocumentXPathNavigator.cs
- MouseGesture.cs
- XmlChildEnumerator.cs
- XmlSerializationWriter.cs
- GetKeyedHashRequest.cs
- SystemWebExtensionsSectionGroup.cs
- ProxyGenerator.cs
- Vars.cs
- HtmlInputText.cs
- ParsedAttributeCollection.cs
- TypedTableBase.cs
- Baml2006Reader.cs
- NativeMethods.cs
- XmlILAnnotation.cs
- CompileLiteralTextParser.cs
- ContextActivityUtils.cs
- CompiledQuery.cs
- WindowsStartMenu.cs
- QuarticEase.cs
- FailedToStartupUIException.cs
- QilValidationVisitor.cs
- EndOfStreamException.cs
- AnnotationMap.cs
- EventItfInfo.cs
- FontFamilyValueSerializer.cs
- KeyValueInternalCollection.cs
- AutomationElement.cs
- ListItem.cs
- DataPagerFieldCollection.cs
- RegexReplacement.cs
- OutputScopeManager.cs
- controlskin.cs
- ThreadNeutralSemaphore.cs
- MultipleViewPattern.cs