Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UInt64.cs
- PeerResolverBindingElement.cs
- Model3DCollection.cs
- GlyphTypeface.cs
- Relationship.cs
- ResourceReferenceExpressionConverter.cs
- ListChangedEventArgs.cs
- XmlSerializerAssemblyAttribute.cs
- ProtocolsSection.cs
- GenerateScriptTypeAttribute.cs
- COM2IDispatchConverter.cs
- XPathScanner.cs
- Socket.cs
- WorkflowWebHostingModule.cs
- TableRowGroup.cs
- WebControlsSection.cs
- SafeEventLogReadHandle.cs
- PagedDataSource.cs
- TextViewSelectionProcessor.cs
- DataListCommandEventArgs.cs
- util.cs
- TextEditorSelection.cs
- BrowsableAttribute.cs
- StringWriter.cs
- StreamInfo.cs
- Point3D.cs
- HttpCacheParams.cs
- PathFigure.cs
- ListMarkerLine.cs
- DesignTimeVisibleAttribute.cs
- EpmAttributeNameBuilder.cs
- ConfigXmlComment.cs
- RegexReplacement.cs
- RuleValidation.cs
- RoleManagerSection.cs
- StringWriter.cs
- httpserverutility.cs
- DataServiceQueryException.cs
- BadImageFormatException.cs
- NamedPermissionSet.cs
- webclient.cs
- IpcManager.cs
- PerspectiveCamera.cs
- ObjectStateManagerMetadata.cs
- CorrelationResolver.cs
- ArgumentFixer.cs
- NegatedConstant.cs
- Content.cs
- ProcessInputEventArgs.cs
- Pair.cs
- GZipStream.cs
- InstallerTypeAttribute.cs
- DataSourceComponent.cs
- EventHandlerList.cs
- EntityDataSourceReferenceGroup.cs
- Overlapped.cs
- SecurityContext.cs
- DataGridColumnCollection.cs
- DependentList.cs
- NamespaceList.cs
- NativeObjectSecurity.cs
- BamlTreeUpdater.cs
- StyleHelper.cs
- Axis.cs
- EpmContentDeSerializer.cs
- PixelFormat.cs
- VerificationAttribute.cs
- TemplateBuilder.cs
- StyleXamlParser.cs
- CookielessData.cs
- ImageKeyConverter.cs
- CodeBlockBuilder.cs
- Helper.cs
- ListViewGroupItemCollection.cs
- CapabilitiesUse.cs
- DataConnectionHelper.cs
- EntityConnectionStringBuilderItem.cs
- ToolStripSettings.cs
- HttpCookiesSection.cs
- ThreadStartException.cs
- SqlFunctionAttribute.cs
- GridViewUpdateEventArgs.cs
- XmlSchemaObjectCollection.cs
- TextSelectionProcessor.cs
- TimeSpanValidatorAttribute.cs
- HiddenFieldPageStatePersister.cs
- ByteAnimationBase.cs
- ActiveDesignSurfaceEvent.cs
- GPPOINTF.cs
- SurrogateDataContract.cs
- RequestTimeoutManager.cs
- TextRangeEditLists.cs
- ActivityDefaults.cs
- QuaternionAnimation.cs
- DbParameterCollectionHelper.cs
- CultureTableRecord.cs
- BigInt.cs
- WindowsListViewItem.cs
- DataConnectionHelper.cs
- WebPartDisplayModeEventArgs.cs