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
- SetIterators.cs
- ContractsBCL.cs
- ConfigurationSectionCollection.cs
- DataSet.cs
- TemplateBindingExtension.cs
- AccessDataSourceView.cs
- EdmComplexPropertyAttribute.cs
- String.cs
- DESCryptoServiceProvider.cs
- CharUnicodeInfo.cs
- BitmapData.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- XmlElement.cs
- ZipIOLocalFileBlock.cs
- DatatypeImplementation.cs
- documentsequencetextcontainer.cs
- MobileCategoryAttribute.cs
- StringOutput.cs
- BypassElementCollection.cs
- PublishLicense.cs
- EntityDataSourceContextCreatedEventArgs.cs
- FileInfo.cs
- SHA384Managed.cs
- WebSysDisplayNameAttribute.cs
- VersionPair.cs
- BufferedWebEventProvider.cs
- OletxTransactionFormatter.cs
- RowBinding.cs
- MetadataCache.cs
- LinqDataSourceEditData.cs
- RolePrincipal.cs
- SoapAttributeOverrides.cs
- EntitySqlException.cs
- CheckBoxBaseAdapter.cs
- UserControlCodeDomTreeGenerator.cs
- RegexGroupCollection.cs
- PointCollectionConverter.cs
- SymLanguageType.cs
- XpsSerializerFactory.cs
- PersonalizationDictionary.cs
- WindowsListViewScroll.cs
- DataGridViewAdvancedBorderStyle.cs
- WebPartConnectVerb.cs
- FontWeight.cs
- PolicyManager.cs
- AudioDeviceOut.cs
- EditorZoneBase.cs
- EventRecordWrittenEventArgs.cs
- SplitterPanelDesigner.cs
- ParentUndoUnit.cs
- Duration.cs
- CompositeActivityMarkupSerializer.cs
- FixedBufferAttribute.cs
- base64Transforms.cs
- PrefixQName.cs
- DocumentViewerBase.cs
- ArcSegment.cs
- ServiceReference.cs
- BinaryReader.cs
- SQLChars.cs
- NetworkAddressChange.cs
- Message.cs
- SafeNativeMethods.cs
- TreeNodeStyle.cs
- RIPEMD160.cs
- QilNode.cs
- ComponentChangingEvent.cs
- EntityDataSourceContextDisposingEventArgs.cs
- WebInvokeAttribute.cs
- Int32CAMarshaler.cs
- ButtonChrome.cs
- Ref.cs
- MenuEventArgs.cs
- DrawingState.cs
- SecurityTokenSerializer.cs
- MemberAccessException.cs
- Int32CAMarshaler.cs
- COM2ComponentEditor.cs
- TextParagraphView.cs
- ProfileSettingsCollection.cs
- TargetPerspective.cs
- CodeNamespace.cs
- TypeForwardedToAttribute.cs
- HttpModuleCollection.cs
- BitmapMetadataBlob.cs
- EventWaitHandle.cs
- PreviewControlDesigner.cs
- PathGradientBrush.cs
- StateMachine.cs
- CollectionConverter.cs
- PositiveTimeSpanValidatorAttribute.cs
- HtmlInputText.cs
- Msec.cs
- ConfigurationManagerHelper.cs
- Geometry.cs
- DesignerAttributeInfo.cs
- AttachedPropertyBrowsableAttribute.cs
- _AutoWebProxyScriptEngine.cs
- Delay.cs
- ItemChangedEventArgs.cs