Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Compilation / ResXBuildProvider.cs / 1 / ResXBuildProvider.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System; using System.Resources; using System.IO; using System.Web.Hosting; /// BuildProvider for .resx files internal sealed class ResXBuildProvider : BaseResourcesBuildProvider { protected override IResourceReader GetResourceReader(Stream inputStream) { #if !FEATURE_PAL // FEATURE_PAL ResXResourceReader reader = new ResXResourceReader(inputStream); // Give the BasePath to the reader so it can resolve relative references ( string physicalPath = HostingEnvironment.MapPath(VirtualPath); reader.BasePath = Path.GetDirectoryName(physicalPath); return reader; #else // !FEATURE_PAL throw new NotImplementedException("ROTORTODO - ResXResourceReader"); #endif // !FEATURE_PAL } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Visual3D.cs
- SemaphoreSecurity.cs
- HttpResponseHeader.cs
- BaseCollection.cs
- ErrorWebPart.cs
- SqlCharStream.cs
- JulianCalendar.cs
- StateManagedCollection.cs
- UInt64.cs
- Sequence.cs
- DoubleAnimation.cs
- RightsManagementEncryptedStream.cs
- NotifyCollectionChangedEventArgs.cs
- JapaneseCalendar.cs
- TriggerCollection.cs
- ToolStripDropTargetManager.cs
- TrackingProfileSerializer.cs
- WindowsStreamSecurityUpgradeProvider.cs
- HtmlProps.cs
- Vector3DIndependentAnimationStorage.cs
- WindowsTreeView.cs
- Table.cs
- SiteMembershipCondition.cs
- PtsContext.cs
- ClockGroup.cs
- EncoderNLS.cs
- TextRangeBase.cs
- TrustVersion.cs
- SharedStatics.cs
- GlyphRunDrawing.cs
- EntityViewGenerator.cs
- EntityDesignerUtils.cs
- Rectangle.cs
- BuildProvider.cs
- DocumentReferenceCollection.cs
- Timer.cs
- EmptyReadOnlyDictionaryInternal.cs
- mediaeventargs.cs
- ObjectQueryExecutionPlan.cs
- BoolExpressionVisitors.cs
- FormatControl.cs
- InternalBase.cs
- WsatTransactionFormatter.cs
- PassportAuthenticationModule.cs
- ColorAnimationBase.cs
- Helpers.cs
- ReadOnlyCollection.cs
- Pkcs7Signer.cs
- LogManagementAsyncResult.cs
- ImportOptions.cs
- FreeFormDragDropManager.cs
- TypeDescriptorContext.cs
- PolyLineSegment.cs
- PolygonHotSpot.cs
- DataGridColumnsPage.cs
- serverconfig.cs
- BooleanExpr.cs
- Event.cs
- RayHitTestParameters.cs
- ClusterRegistryConfigurationProvider.cs
- DataServiceProcessingPipelineEventArgs.cs
- BevelBitmapEffect.cs
- SettingsPropertyValue.cs
- OdbcCommandBuilder.cs
- DesignerOptionService.cs
- DescendentsWalker.cs
- HierarchicalDataBoundControl.cs
- MenuItemBindingCollection.cs
- TemplateAction.cs
- XmlQueryRuntime.cs
- ClickablePoint.cs
- ModuleBuilderData.cs
- SafeNativeMethodsOther.cs
- CqlGenerator.cs
- OptimalTextSource.cs
- FontStretchConverter.cs
- SizeValueSerializer.cs
- OletxTransactionManager.cs
- InstalledFontCollection.cs
- GeneralTransform3D.cs
- VersionedStreamOwner.cs
- ButtonPopupAdapter.cs
- XmlValidatingReader.cs
- SemanticResultValue.cs
- Help.cs
- IISUnsafeMethods.cs
- DataControlFieldCollection.cs
- TimeSpanConverter.cs
- SvcMapFileSerializer.cs
- HebrewCalendar.cs
- PointLight.cs
- CellParaClient.cs
- PageCatalogPart.cs
- DbConnectionClosed.cs
- MemoryRecordBuffer.cs
- DesignerForm.cs
- DataGridViewDataConnection.cs
- TableNameAttribute.cs
- PackagingUtilities.cs
- SqlInfoMessageEvent.cs