Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / CustomErrorsSectionWrapper.cs / 1 / CustomErrorsSectionWrapper.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System;
using System.Diagnostics;
using System.Web.Configuration;
internal sealed class CustomErrorsSectionWrapper : ICustomErrorsSection {
private readonly CustomErrorsSection _customErrorsSection;
public CustomErrorsSectionWrapper(CustomErrorsSection customErrorsSection) {
Debug.Assert(customErrorsSection != null);
_customErrorsSection = customErrorsSection;
}
#region ICustomErrorsSection Members
string ICustomErrorsSection.DefaultRedirect {
get {
return _customErrorsSection.DefaultRedirect;
}
}
CustomErrorCollection ICustomErrorsSection.Errors {
get {
return _customErrorsSection.Errors;
}
}
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System;
using System.Diagnostics;
using System.Web.Configuration;
internal sealed class CustomErrorsSectionWrapper : ICustomErrorsSection {
private readonly CustomErrorsSection _customErrorsSection;
public CustomErrorsSectionWrapper(CustomErrorsSection customErrorsSection) {
Debug.Assert(customErrorsSection != null);
_customErrorsSection = customErrorsSection;
}
#region ICustomErrorsSection Members
string ICustomErrorsSection.DefaultRedirect {
get {
return _customErrorsSection.DefaultRedirect;
}
}
CustomErrorCollection ICustomErrorsSection.Errors {
get {
return _customErrorsSection.Errors;
}
}
#endregion
}
}
// 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
- RoleService.cs
- ThrowOnMultipleAssignment.cs
- CodeLabeledStatement.cs
- SchemaTypeEmitter.cs
- PatternMatcher.cs
- WebDescriptionAttribute.cs
- DataGridViewIntLinkedList.cs
- brushes.cs
- OrderedDictionary.cs
- WebPartAddingEventArgs.cs
- DefaultShape.cs
- FormatterConverter.cs
- LayoutExceptionEventArgs.cs
- Pen.cs
- HtmlTableCell.cs
- AnnotationHighlightLayer.cs
- FigureParaClient.cs
- LabelAutomationPeer.cs
- JavaScriptString.cs
- ServiceX509SecurityTokenProvider.cs
- ZipIOCentralDirectoryBlock.cs
- OdbcConnectionHandle.cs
- ParameterModifier.cs
- OleDbPropertySetGuid.cs
- WindowAutomationPeer.cs
- DbConnectionPoolGroupProviderInfo.cs
- Opcode.cs
- QueryCacheKey.cs
- HelpOperationInvoker.cs
- ResizeGrip.cs
- MaterialCollection.cs
- Rotation3DAnimationBase.cs
- TransformProviderWrapper.cs
- Identity.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- ServiceProviders.cs
- _ProxyChain.cs
- documentation.cs
- XmlObjectSerializerReadContextComplex.cs
- DataGridViewSelectedCellCollection.cs
- Vector3D.cs
- TokenBasedSetEnumerator.cs
- ButtonRenderer.cs
- HitTestParameters3D.cs
- SortQuery.cs
- FlowchartSizeFeature.cs
- PageCodeDomTreeGenerator.cs
- ISAPIApplicationHost.cs
- SqlServer2KCompatibilityAnnotation.cs
- TabletCollection.cs
- ToolStripItem.cs
- SamlAdvice.cs
- BuilderPropertyEntry.cs
- MultiView.cs
- XmlDownloadManager.cs
- CharUnicodeInfo.cs
- FontCacheLogic.cs
- TimeSpanFormat.cs
- EventData.cs
- TraceSwitch.cs
- PointAnimationUsingPath.cs
- WorkflowFileItem.cs
- ApplicationInfo.cs
- SupportingTokenProviderSpecification.cs
- SmtpTransport.cs
- Rotation3DAnimationBase.cs
- OleDbInfoMessageEvent.cs
- EntityDataSourceContainerNameItem.cs
- WebEvents.cs
- DataGridViewCell.cs
- MetadataFile.cs
- CodeTryCatchFinallyStatement.cs
- ColorConvertedBitmap.cs
- Win32MouseDevice.cs
- Message.cs
- TypeConverterAttribute.cs
- IDictionary.cs
- ServiceKnownTypeAttribute.cs
- SerializationException.cs
- ReadOnlyAttribute.cs
- SortExpressionBuilder.cs
- ChildrenQuery.cs
- HttpException.cs
- SettingsPropertyValueCollection.cs
- AnnotationService.cs
- VisualBrush.cs
- ListViewHitTestInfo.cs
- BaseInfoTable.cs
- ConfigurationElementProperty.cs
- HashCodeCombiner.cs
- Parser.cs
- KeyTime.cs
- Underline.cs
- DateTimeSerializationSection.cs
- _LocalDataStoreMgr.cs
- IPEndPoint.cs
- ProcessHostMapPath.cs
- Attributes.cs
- Tokenizer.cs
- MulticastIPAddressInformationCollection.cs