Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / HtmlString.cs / 1305376 / HtmlString.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { // Simple objects that wraps a string that is assumed to not need HTML encoded. // It implements IHtmlString, so when calling HttpUtility.HtmlEncode(htmlString), the string won't be encoded. public class HtmlString: IHtmlString { private string _htmlString; public HtmlString(string value) { _htmlString = value; } public string ToHtmlString() { return _htmlString; } public override string ToString() { return _htmlString; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { // Simple objects that wraps a string that is assumed to not need HTML encoded. // It implements IHtmlString, so when calling HttpUtility.HtmlEncode(htmlString), the string won't be encoded. public class HtmlString: IHtmlString { private string _htmlString; public HtmlString(string value) { _htmlString = value; } public string ToHtmlString() { return _htmlString; } public override string ToString() { return _htmlString; } } } // 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
- ProfileEventArgs.cs
- WpfGeneratedKnownTypes.cs
- RelatedCurrencyManager.cs
- TableItemPatternIdentifiers.cs
- ToolStripItemTextRenderEventArgs.cs
- _ListenerAsyncResult.cs
- GridViewSelectEventArgs.cs
- Int32AnimationBase.cs
- CfgSemanticTag.cs
- XmlDataSourceNodeDescriptor.cs
- TypeConstant.cs
- WindowsSlider.cs
- HttpInputStream.cs
- TemplateBuilder.cs
- PenLineCapValidation.cs
- MouseEvent.cs
- ViewgenContext.cs
- TouchFrameEventArgs.cs
- MenuItemStyleCollection.cs
- ConstraintConverter.cs
- X509UI.cs
- PropertyTabChangedEvent.cs
- ChannelManager.cs
- HyperLinkStyle.cs
- DependencyPropertyKey.cs
- MediaPlayer.cs
- ProcessRequestArgs.cs
- FormsAuthenticationModule.cs
- NameGenerator.cs
- HebrewCalendar.cs
- AnnotationService.cs
- RemotingException.cs
- JavaScriptSerializer.cs
- FlowDocumentView.cs
- DataTableReaderListener.cs
- DescendantQuery.cs
- Accessors.cs
- TemplateControlParser.cs
- ItemContainerGenerator.cs
- PageTheme.cs
- ProxyElement.cs
- BlockUIContainer.cs
- VisualBasicValue.cs
- CodeNamespaceImport.cs
- Codec.cs
- XmlReader.cs
- EntityDataSourceUtil.cs
- VirtualizingStackPanel.cs
- AnnotationService.cs
- EditCommandColumn.cs
- BCLDebug.cs
- ClientType.cs
- MachineKeySection.cs
- TreeBuilder.cs
- BorderSidesEditor.cs
- SerializationFieldInfo.cs
- TextFormatter.cs
- XmlSchemaInclude.cs
- EditingScope.cs
- RootProfilePropertySettingsCollection.cs
- WebConfigurationFileMap.cs
- ButtonStandardAdapter.cs
- XmlSchemaSimpleType.cs
- BinaryConverter.cs
- LongValidatorAttribute.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- WebPartMinimizeVerb.cs
- _BaseOverlappedAsyncResult.cs
- ApplicationSettingsBase.cs
- FlowDocumentScrollViewer.cs
- SslStream.cs
- ColumnReorderedEventArgs.cs
- XpsImageSerializationService.cs
- BoolExpression.cs
- Style.cs
- DataObject.cs
- FileDialogCustomPlace.cs
- XmlLoader.cs
- UnsignedPublishLicense.cs
- FilterException.cs
- RectIndependentAnimationStorage.cs
- DeflateStream.cs
- AddInServer.cs
- EventDescriptorCollection.cs
- TableRowCollection.cs
- StateMachineHistory.cs
- ActiveDesignSurfaceEvent.cs
- AsyncPostBackErrorEventArgs.cs
- DBCSCodePageEncoding.cs
- TextStore.cs
- ObjectKeyFrameCollection.cs
- ConnectionStringsSection.cs
- SoapFormatExtensions.cs
- CompilerHelpers.cs
- relpropertyhelper.cs
- __ComObject.cs
- AssemblyAttributesGoHere.cs
- DataServiceConfiguration.cs
- Win32.cs
- CodeObjectCreateExpression.cs