Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConfigureVerb.cs / 1305376 / WebPartConnectionsConfigureVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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 WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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
- Matrix3D.cs
- Encoding.cs
- IsolatedStoragePermission.cs
- RecordManager.cs
- MarkedHighlightComponent.cs
- ProtocolsConfigurationEntry.cs
- EventSinkHelperWriter.cs
- DataRecordInternal.cs
- DecoderFallbackWithFailureFlag.cs
- rsa.cs
- XmlILConstructAnalyzer.cs
- EmptyReadOnlyDictionaryInternal.cs
- ItemChangedEventArgs.cs
- AutomationInteropProvider.cs
- TableItemStyle.cs
- SqlWorkflowPersistenceService.cs
- SmtpReplyReaderFactory.cs
- SystemNetHelpers.cs
- HtmlWindow.cs
- FontCacheLogic.cs
- RtfToXamlLexer.cs
- CodeAttributeArgumentCollection.cs
- CommandHelper.cs
- SoapAttributes.cs
- XmlSchemaSequence.cs
- HttpValueCollection.cs
- CqlErrorHelper.cs
- ValueType.cs
- EventLogStatus.cs
- ToolStripLabel.cs
- SRef.cs
- UnmanagedMemoryStream.cs
- EdmConstants.cs
- DataColumn.cs
- Dump.cs
- ClientApiGenerator.cs
- ContentPresenter.cs
- Expression.cs
- _BasicClient.cs
- XmlResolver.cs
- Metadata.cs
- Simplifier.cs
- NativeMethods.cs
- MissingFieldException.cs
- HttpRequest.cs
- Table.cs
- RelationalExpressions.cs
- DbModificationCommandTree.cs
- Activator.cs
- WebPartEditorOkVerb.cs
- String.cs
- TypefaceMetricsCache.cs
- IisTraceWebEventProvider.cs
- _NtlmClient.cs
- BindToObject.cs
- ConnectionProviderAttribute.cs
- UnitySerializationHolder.cs
- HttpListenerResponse.cs
- ParameterCollection.cs
- WorkflowMarkupSerializer.cs
- ScriptMethodAttribute.cs
- FileUpload.cs
- SecurityKeyUsage.cs
- DataGridViewRowHeaderCell.cs
- SmtpAuthenticationManager.cs
- Rotation3DAnimationUsingKeyFrames.cs
- _ListenerAsyncResult.cs
- MetadataFile.cs
- MaskPropertyEditor.cs
- TreeNodeStyleCollection.cs
- XmlSchemaValidator.cs
- ImageFormatConverter.cs
- ResXResourceWriter.cs
- CodeCompileUnit.cs
- IndentTextWriter.cs
- CompilerHelpers.cs
- DataViewListener.cs
- URLIdentityPermission.cs
- MapPathBasedVirtualPathProvider.cs
- TypedDatasetGenerator.cs
- SmtpAuthenticationManager.cs
- AstNode.cs
- ScriptingProfileServiceSection.cs
- isolationinterop.cs
- ProfileGroupSettingsCollection.cs
- XmlSchemaSequence.cs
- XmlSchemaSimpleContentRestriction.cs
- CngProvider.cs
- TrustSection.cs
- ListBoxAutomationPeer.cs
- HtmlInputReset.cs
- WorkflowInstanceProvider.cs
- DataComponentNameHandler.cs
- RSAOAEPKeyExchangeFormatter.cs
- DbFunctionCommandTree.cs
- ResolveNameEventArgs.cs
- EngineSite.cs
- TabPage.cs
- InputBinder.cs
- TextEditorCharacters.cs