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
- BitmapEffectGeneralTransform.cs
- DataGridCommandEventArgs.cs
- ReplyChannel.cs
- QueueProcessor.cs
- WindowsNonControl.cs
- CheckableControlBaseAdapter.cs
- OdbcCommand.cs
- WebPartEditorCancelVerb.cs
- PolyLineSegmentFigureLogic.cs
- ListBoxAutomationPeer.cs
- Vector3D.cs
- DomainConstraint.cs
- CodeIdentifiers.cs
- QueryOptionExpression.cs
- DataBindingList.cs
- MediaEntryAttribute.cs
- SessionEndedEventArgs.cs
- ElementNotEnabledException.cs
- ObjectItemNoOpAssemblyLoader.cs
- DockingAttribute.cs
- MemberHolder.cs
- IgnorePropertiesAttribute.cs
- OrthographicCamera.cs
- AlgoModule.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- EntityContainerEmitter.cs
- WebBrowsableAttribute.cs
- DataPager.cs
- BaseCollection.cs
- Invariant.cs
- RequestContextBase.cs
- TreeChangeInfo.cs
- JsonServiceDocumentSerializer.cs
- HierarchicalDataBoundControlAdapter.cs
- MutexSecurity.cs
- HttpApplicationFactory.cs
- ProxyManager.cs
- RoleExceptions.cs
- Message.cs
- ApplicationInfo.cs
- CaseStatementSlot.cs
- Buffer.cs
- CommandValueSerializer.cs
- ModelItem.cs
- Input.cs
- ResourceType.cs
- DrawTreeNodeEventArgs.cs
- PackageFilter.cs
- TraceHandler.cs
- MetaForeignKeyColumn.cs
- List.cs
- XmlSchemaAppInfo.cs
- CharacterBuffer.cs
- SimpleHandlerFactory.cs
- DocumentViewerAutomationPeer.cs
- AssemblyCollection.cs
- SQLBinaryStorage.cs
- DynamicValueConverter.cs
- LoginViewDesigner.cs
- Random.cs
- ExpressionCopier.cs
- XmlWrappingWriter.cs
- CompilationPass2TaskInternal.cs
- XmlSchemaValidator.cs
- Clock.cs
- GridLength.cs
- ContractType.cs
- GestureRecognizer.cs
- SoapFaultCodes.cs
- OrCondition.cs
- OptimalBreakSession.cs
- EndpointDispatcher.cs
- XpsManager.cs
- ResourcePart.cs
- PageStatePersister.cs
- CategoryValueConverter.cs
- CompilerScopeManager.cs
- ReturnValue.cs
- NameValueSectionHandler.cs
- ReadOnlyAttribute.cs
- Or.cs
- Literal.cs
- OperatingSystem.cs
- DocumentOrderComparer.cs
- CodeTypeDelegate.cs
- RedistVersionInfo.cs
- ImageBrush.cs
- XPathAxisIterator.cs
- DataRecordInternal.cs
- AddInDeploymentState.cs
- ParameterCollection.cs
- RtfToXamlLexer.cs
- DelayedRegex.cs
- QueryPageSettingsEventArgs.cs
- PhysicalFontFamily.cs
- ToolboxItemCollection.cs
- UnderstoodHeaders.cs
- Type.cs
- Memoizer.cs
- ListDependantCardsRequest.cs