Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartCatalogAddVerb.cs / 1 / WebPartCatalogAddVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartCatalogAddVerb : 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.WebPartCatalogAddVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartCatalogAddVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_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. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartCatalogAddVerb : 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.WebPartCatalogAddVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartCatalogAddVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartCatalogAddVerb_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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizationProvider.cs
- ParagraphResult.cs
- TypedAsyncResult.cs
- XmlQueryRuntime.cs
- SchemaTableOptionalColumn.cs
- FrameworkTextComposition.cs
- BamlRecords.cs
- SafeWaitHandle.cs
- ScriptingRoleServiceSection.cs
- UserControl.cs
- Journaling.cs
- Converter.cs
- _NegoStream.cs
- SqlAggregateChecker.cs
- SystemIPInterfaceStatistics.cs
- ObjectAnimationUsingKeyFrames.cs
- FormViewPageEventArgs.cs
- ItemChangedEventArgs.cs
- WebBrowserHelper.cs
- SharedConnectionInfo.cs
- Directory.cs
- FilteredReadOnlyMetadataCollection.cs
- Point.cs
- MailAddress.cs
- GZipStream.cs
- AutomationElementIdentifiers.cs
- DataGridView.cs
- PersonalizationProviderCollection.cs
- RbTree.cs
- SQLDouble.cs
- WizardPanelChangingEventArgs.cs
- PermissionSetTriple.cs
- Zone.cs
- XmlnsDictionary.cs
- EntityKey.cs
- QilReplaceVisitor.cs
- ConfigXmlWhitespace.cs
- XmlUtilWriter.cs
- FilterQueryOptionExpression.cs
- BigIntegerStorage.cs
- Triangle.cs
- TextTreeDeleteContentUndoUnit.cs
- EllipticalNodeOperations.cs
- SortDescriptionCollection.cs
- RoleGroupCollection.cs
- DataObjectSettingDataEventArgs.cs
- CssClassPropertyAttribute.cs
- VisualBasicExpressionConverter.cs
- COM2Enum.cs
- ShaderRenderModeValidation.cs
- Int16Storage.cs
- DataServiceProviderWrapper.cs
- DecoderBestFitFallback.cs
- XmlSchemaDocumentation.cs
- InheritanceRules.cs
- SoapFault.cs
- TextBreakpoint.cs
- HTMLTagNameToTypeMapper.cs
- ReliableOutputConnection.cs
- Context.cs
- StringCollection.cs
- InfoCardSymmetricCrypto.cs
- ArgumentNullException.cs
- BufferedReadStream.cs
- Operators.cs
- ListBox.cs
- EdmToObjectNamespaceMap.cs
- LineVisual.cs
- MruCache.cs
- InternalConfigRoot.cs
- Zone.cs
- CollectionViewProxy.cs
- FileInfo.cs
- CompoundFileStreamReference.cs
- InlineCollection.cs
- ClientConvert.cs
- InterleavedZipPartStream.cs
- TaskFormBase.cs
- ProcessStartInfo.cs
- Utils.cs
- RawStylusInputCustomData.cs
- ProcessModuleCollection.cs
- ExpressionBuilderCollection.cs
- SqlReorderer.cs
- CodeMemberProperty.cs
- ResourceLoader.cs
- WebPartManagerInternals.cs
- DesignerGenericWebPart.cs
- BrowserCapabilitiesCompiler.cs
- XmlBuffer.cs
- DocComment.cs
- HttpSessionStateWrapper.cs
- Formatter.cs
- MSAAEventDispatcher.cs
- AssociationSet.cs
- GeometryDrawing.cs
- InputLanguageProfileNotifySink.cs
- Console.cs
- BadImageFormatException.cs
- ThreadBehavior.cs