Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Diagnostics / UnescapedXmlDiagnosticData.cs / 1305376 / UnescapedXmlDiagnosticData.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; namespace System.Diagnostics { // This is just a type to tag XML data; we don't do any welformedness check or any such validation [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] public class UnescapedXmlDiagnosticData { string _xmlString; public UnescapedXmlDiagnosticData (String xmlPayload) { _xmlString = xmlPayload; if (_xmlString == null) { _xmlString = String.Empty; } } public String UnescapedXml { get {return _xmlString;} set {_xmlString = value;} } public override String ToString() { return _xmlString; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; namespace System.Diagnostics { // This is just a type to tag XML data; we don't do any welformedness check or any such validation [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] public class UnescapedXmlDiagnosticData { string _xmlString; public UnescapedXmlDiagnosticData (String xmlPayload) { _xmlString = xmlPayload; if (_xmlString == null) { _xmlString = String.Empty; } } public String UnescapedXml { get {return _xmlString;} set {_xmlString = value;} } public override String ToString() { return _xmlString; } } } // 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
- ConcurrentBag.cs
- UniqueEventHelper.cs
- SHA1Managed.cs
- ToolStripButton.cs
- Group.cs
- ServicePoint.cs
- BitmapFrame.cs
- SqlDataSourceSummaryPanel.cs
- LogLogRecordHeader.cs
- BrowserDefinition.cs
- Delegate.cs
- UIInitializationException.cs
- SingleResultAttribute.cs
- CallbackHandler.cs
- ScrollChrome.cs
- SqlIdentifier.cs
- EncoderExceptionFallback.cs
- DataKey.cs
- SectionInformation.cs
- categoryentry.cs
- DirectionalLight.cs
- _DigestClient.cs
- BroadcastEventHelper.cs
- SoapFaultCodes.cs
- ShaperBuffers.cs
- GroupBoxDesigner.cs
- PropertyGeneratedEventArgs.cs
- SectionVisual.cs
- MessageSecurityProtocolFactory.cs
- XmlTextReaderImpl.cs
- ValueUtilsSmi.cs
- WebPartCancelEventArgs.cs
- ProfileProvider.cs
- CriticalFinalizerObject.cs
- TypeGeneratedEventArgs.cs
- FrameworkEventSource.cs
- TreeNodeCollection.cs
- messageonlyhwndwrapper.cs
- TextEffectCollection.cs
- Cursor.cs
- WebPartManager.cs
- InputScopeManager.cs
- PerformanceCounterTraceRecord.cs
- CompositeActivityTypeDescriptorProvider.cs
- PackWebRequest.cs
- XsdDuration.cs
- DynamicRenderer.cs
- Converter.cs
- StorageInfo.cs
- CharacterMetrics.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SectionVisual.cs
- CodeNamespaceCollection.cs
- diagnosticsswitches.cs
- KeyValueSerializer.cs
- DbDataRecord.cs
- FtpRequestCacheValidator.cs
- RangeContentEnumerator.cs
- SqlClientMetaDataCollectionNames.cs
- FlowPosition.cs
- ConnectionStringSettingsCollection.cs
- TimelineCollection.cs
- ParamArrayAttribute.cs
- SymLanguageType.cs
- ServiceXNameTypeConverter.cs
- ExpressionTable.cs
- Internal.cs
- EventLogPermissionEntry.cs
- SafeSerializationManager.cs
- ApplicationInfo.cs
- TextRangeSerialization.cs
- cookiecollection.cs
- Activity.cs
- RepeaterItemEventArgs.cs
- ValidationContext.cs
- FormViewModeEventArgs.cs
- GenericPrincipal.cs
- QilTernary.cs
- ObservableCollection.cs
- CssStyleCollection.cs
- XmlAttributeCache.cs
- SqlCacheDependencySection.cs
- TransformGroup.cs
- FlowDocumentScrollViewer.cs
- GlobalizationAssembly.cs
- ChangeDirector.cs
- ResourceDescriptionAttribute.cs
- EntityDataSourceMemberPath.cs
- NameValueCollection.cs
- AssemblyCache.cs
- MouseEvent.cs
- DesignerImageAdapter.cs
- CheckBoxRenderer.cs
- HttpListenerRequest.cs
- SQLBoolean.cs
- FormatSettings.cs
- InstanceKeyNotReadyException.cs
- EditorZoneDesigner.cs
- TreeNodeStyleCollection.cs
- WebPartConnectionsCloseVerb.cs