Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / Utils / InternalBase.cs / 1305376 / InternalBase.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections; using System.Text; namespace System.Data.Common.Utils { // A basic class from which all classes derive so that ToString can be // more controlled internal abstract class InternalBase { // effects: Modify builder to contain a compact string representation // of this internal abstract void ToCompactString(StringBuilder builder); // effects: Modify builder to contain a verbose string representation // of this internal virtual void ToFullString(StringBuilder builder) { ToCompactString(builder); } public override string ToString() { StringBuilder builder = new StringBuilder(); ToCompactString(builder); return builder.ToString(); } internal virtual string ToFullString() { StringBuilder builder = new StringBuilder(); ToFullString(builder); return builder.ToString(); } } } // 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
- DescendentsWalkerBase.cs
- Win32PrintDialog.cs
- BCLDebug.cs
- HebrewNumber.cs
- XAMLParseException.cs
- WebAdminConfigurationHelper.cs
- NotFiniteNumberException.cs
- AppDomainInstanceProvider.cs
- RunWorkerCompletedEventArgs.cs
- FieldAccessException.cs
- CookieParameter.cs
- QueryOutputWriter.cs
- EnumValAlphaComparer.cs
- TimelineGroup.cs
- ItemsChangedEventArgs.cs
- ConfigViewGenerator.cs
- VirtualPathData.cs
- ParentQuery.cs
- AnimationStorage.cs
- TreeSet.cs
- DataSourceControlBuilder.cs
- OdbcInfoMessageEvent.cs
- WaitingCursor.cs
- PersonalizableTypeEntry.cs
- ResourceDescriptionAttribute.cs
- SqlDependency.cs
- ConfigurationPropertyAttribute.cs
- ParseHttpDate.cs
- EditorZoneAutoFormat.cs
- Nullable.cs
- MultilineStringConverter.cs
- TextRunTypographyProperties.cs
- QueueProcessor.cs
- EntityProviderFactory.cs
- xml.cs
- EncodingStreamWrapper.cs
- SymDocumentType.cs
- SoapTypeAttribute.cs
- HttpPostedFile.cs
- panel.cs
- WebPartConnection.cs
- Reference.cs
- X509PeerCertificateAuthenticationElement.cs
- XpsFont.cs
- SafeNativeMethodsOther.cs
- TemplatePagerField.cs
- ConnectionPoint.cs
- ParseElementCollection.cs
- EventPropertyMap.cs
- EventLogLink.cs
- LinearKeyFrames.cs
- CompositeFontFamily.cs
- HttpCookie.cs
- JavaScriptObjectDeserializer.cs
- NumericUpDownAccelerationCollection.cs
- DateTimePicker.cs
- EventLogPermissionAttribute.cs
- DynamicILGenerator.cs
- MetadataArtifactLoaderFile.cs
- UnsafeNativeMethods.cs
- Encoder.cs
- DynamicMethod.cs
- XmlWriterDelegator.cs
- ClosableStream.cs
- XmlName.cs
- ReturnValue.cs
- XmlSchemaAnnotation.cs
- DesignerAttributeInfo.cs
- ToolstripProfessionalRenderer.cs
- _NegotiateClient.cs
- SchemaImporterExtensionElementCollection.cs
- GatewayIPAddressInformationCollection.cs
- SoapAttributes.cs
- ThicknessKeyFrameCollection.cs
- LinqDataSourceView.cs
- TCPClient.cs
- DictionaryBase.cs
- DataGridTablesFactory.cs
- base64Transforms.cs
- CompressedStack.cs
- SHA512CryptoServiceProvider.cs
- BaseInfoTable.cs
- FontStyles.cs
- ErasingStroke.cs
- ConnectionsZone.cs
- XmlWellformedWriter.cs
- ScrollContentPresenter.cs
- TableItemPatternIdentifiers.cs
- ResolvedKeyFrameEntry.cs
- BasicCellRelation.cs
- DynamicExpression.cs
- SoapServerMessage.cs
- PositiveTimeSpanValidator.cs
- SystemIPGlobalStatistics.cs
- XmlSchemaValidationException.cs
- UmAlQuraCalendar.cs
- ExpandCollapseProviderWrapper.cs
- DataGridViewRowHeaderCell.cs
- CompilationRelaxations.cs
- LabelDesigner.cs