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
- UpdateTranslator.cs
- TextRangeEditTables.cs
- ToolStripItemRenderEventArgs.cs
- SortExpressionBuilder.cs
- XmlElementAttribute.cs
- FormatterServices.cs
- IndexerNameAttribute.cs
- HttpWebRequest.cs
- Regex.cs
- PropertyMetadata.cs
- DesignerCatalogPartChrome.cs
- RouteItem.cs
- QueryProcessor.cs
- DataContractAttribute.cs
- DataRelation.cs
- WebPartMenu.cs
- SecurityDocument.cs
- validation.cs
- FaultDesigner.cs
- CancelRequestedRecord.cs
- FileVersion.cs
- WebPageTraceListener.cs
- JsonDataContract.cs
- RedirectionProxy.cs
- RegexCompiler.cs
- UIAgentMonitorHandle.cs
- SQLMoney.cs
- IsolationInterop.cs
- ConfigurationLocation.cs
- RequestUriProcessor.cs
- AttachedPropertiesService.cs
- DeadCharTextComposition.cs
- Simplifier.cs
- Attachment.cs
- ShapingWorkspace.cs
- ReferenceAssemblyAttribute.cs
- SqlError.cs
- MediaScriptCommandRoutedEventArgs.cs
- CharacterBuffer.cs
- UnmanagedMarshal.cs
- GlyphTypeface.cs
- WinInetCache.cs
- DatePickerDateValidationErrorEventArgs.cs
- PeerPresenceInfo.cs
- RuntimeComponentFilter.cs
- Transaction.cs
- sapiproxy.cs
- XmlElementCollection.cs
- MemoryFailPoint.cs
- DataQuery.cs
- XamlTemplateSerializer.cs
- SessionEndingEventArgs.cs
- VerticalAlignConverter.cs
- __ConsoleStream.cs
- HotSpotCollectionEditor.cs
- OrthographicCamera.cs
- TextElementEnumerator.cs
- HtmlInputImage.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ItemDragEvent.cs
- XmlLanguage.cs
- MethodImplAttribute.cs
- ResourceDisplayNameAttribute.cs
- MergePropertyDescriptor.cs
- SharedHttpsTransportManager.cs
- RoleService.cs
- EntitySqlQueryCacheEntry.cs
- TextDecoration.cs
- GraphicsState.cs
- TextRangeProviderWrapper.cs
- SeekableReadStream.cs
- ColorConvertedBitmap.cs
- ExecutedRoutedEventArgs.cs
- PageCache.cs
- AsyncCallback.cs
- LassoSelectionBehavior.cs
- Point3DAnimationUsingKeyFrames.cs
- fixedPageContentExtractor.cs
- RayMeshGeometry3DHitTestResult.cs
- TextSegment.cs
- ImmutableObjectAttribute.cs
- SqlMultiplexer.cs
- PropertyToken.cs
- HtmlToClrEventProxy.cs
- TrayIconDesigner.cs
- DbCommandTree.cs
- DataSourceGroupCollection.cs
- CompilerError.cs
- CompilationSection.cs
- WebConfigurationHostFileChange.cs
- FunctionQuery.cs
- PropertyChangedEventManager.cs
- HttpCacheVary.cs
- OdbcReferenceCollection.cs
- LogEntry.cs
- BrowserDefinitionCollection.cs
- PointKeyFrameCollection.cs
- MethodAccessException.cs
- SrgsSubset.cs
- DeploymentSectionCache.cs