Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QuaternionRotation3D.cs
- CurrentChangingEventManager.cs
- BindingBase.cs
- ObjectParameterCollection.cs
- CodeDirectiveCollection.cs
- VScrollBar.cs
- AutomationProperty.cs
- DESCryptoServiceProvider.cs
- DataMemberFieldEditor.cs
- MethodToken.cs
- DispatcherHooks.cs
- TextRangeBase.cs
- AllMembershipCondition.cs
- TaiwanCalendar.cs
- HttpServerVarsCollection.cs
- Message.cs
- MessageBox.cs
- ServiceObjectContainer.cs
- AsmxEndpointPickerExtension.cs
- RangeValidator.cs
- DynamicPropertyHolder.cs
- ArrayConverter.cs
- FileLogRecord.cs
- X509CertificateClaimSet.cs
- ObjectDataSourceFilteringEventArgs.cs
- FixedSOMTextRun.cs
- PanelDesigner.cs
- Point3D.cs
- RowToParametersTransformer.cs
- CodeObject.cs
- CompressEmulationStream.cs
- Triangle.cs
- PolicyStatement.cs
- Hyperlink.cs
- ComplusTypeValidator.cs
- Transform.cs
- SamlDoNotCacheCondition.cs
- CompModSwitches.cs
- ExtendedPropertyDescriptor.cs
- BamlRecordReader.cs
- XamlWriter.cs
- ParentUndoUnit.cs
- ErrorWebPart.cs
- Win32.cs
- NativeDirectoryServicesQueryAPIs.cs
- sqlcontext.cs
- MSHTMLHost.cs
- WindowsAuthenticationEventArgs.cs
- SessionStateContainer.cs
- InfoCardSymmetricCrypto.cs
- ObjectPersistData.cs
- EventLogPermissionEntry.cs
- FragmentQuery.cs
- ValueProviderWrapper.cs
- OutOfProcStateClientManager.cs
- DataSourceCollectionBase.cs
- Latin1Encoding.cs
- CodeThrowExceptionStatement.cs
- safex509handles.cs
- TextEndOfLine.cs
- UriPrefixTable.cs
- X509Utils.cs
- SEHException.cs
- WebPartCancelEventArgs.cs
- Process.cs
- Events.cs
- CombinedHttpChannel.cs
- Composition.cs
- WeakReadOnlyCollection.cs
- RightsManagementProvider.cs
- WindowsListViewItemCheckBox.cs
- XmlSchemaAppInfo.cs
- HyperLink.cs
- _Semaphore.cs
- HostedElements.cs
- RegistrationServices.cs
- Avt.cs
- ProjectionAnalyzer.cs
- X509Utils.cs
- WindowsTitleBar.cs
- ExpandCollapsePattern.cs
- XmlSchemaAttribute.cs
- PrePrepareMethodAttribute.cs
- MissingMemberException.cs
- NullableFloatMinMaxAggregationOperator.cs
- AttachedAnnotation.cs
- ELinqQueryState.cs
- BaseCollection.cs
- NamespaceInfo.cs
- UserMapPath.cs
- AssociationSetMetadata.cs
- AttachmentService.cs
- RelationshipFixer.cs
- DEREncoding.cs
- PathSegment.cs
- XmlEntity.cs
- DocumentXPathNavigator.cs
- Trace.cs
- ScriptControlManager.cs
- PartialCachingControl.cs