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
- Publisher.cs
- TreeNodeBindingCollection.cs
- SparseMemoryStream.cs
- NavigationHelper.cs
- _ConnectOverlappedAsyncResult.cs
- CatalogPartCollection.cs
- Operators.cs
- XPathDocumentBuilder.cs
- ExpanderAutomationPeer.cs
- TaskExtensions.cs
- DictionaryEditChange.cs
- ByteStorage.cs
- TypeUtil.cs
- EmptyReadOnlyDictionaryInternal.cs
- DocumentAutomationPeer.cs
- AdCreatedEventArgs.cs
- DateTimeFormatInfoScanner.cs
- AlignmentXValidation.cs
- RegistrationServices.cs
- CommonDialog.cs
- StatusBarPanel.cs
- VisualBasicImportReference.cs
- TranslateTransform3D.cs
- ImageInfo.cs
- UserControlBuildProvider.cs
- ConfigsHelper.cs
- PackageStore.cs
- DropShadowBitmapEffect.cs
- CancelEventArgs.cs
- XmlILAnnotation.cs
- UnsupportedPolicyOptionsException.cs
- SHA512Managed.cs
- StaticContext.cs
- DataPagerFieldCommandEventArgs.cs
- XmlReaderDelegator.cs
- Encoder.cs
- UrlAuthFailedErrorFormatter.cs
- HashCodeCombiner.cs
- WebPartDisplayModeEventArgs.cs
- UIHelper.cs
- EventDriven.cs
- DrawTreeNodeEventArgs.cs
- Highlights.cs
- XPathScanner.cs
- DragDeltaEventArgs.cs
- MenuRendererStandards.cs
- SurrogateSelector.cs
- IList.cs
- DbParameterCollectionHelper.cs
- UTF8Encoding.cs
- DirectoryNotFoundException.cs
- FixedPageStructure.cs
- PriorityBinding.cs
- ErrorTableItemStyle.cs
- BrowserCapabilitiesCodeGenerator.cs
- InheritanceContextHelper.cs
- GeneratedContractType.cs
- SRGSCompiler.cs
- BoundsDrawingContextWalker.cs
- GACIdentityPermission.cs
- ReferenceSchema.cs
- ClientScriptItem.cs
- TextTreeUndo.cs
- InputGestureCollection.cs
- TraceSection.cs
- SmtpFailedRecipientException.cs
- FileLevelControlBuilderAttribute.cs
- XmlILAnnotation.cs
- ExceptionWrapper.cs
- RadioButtonRenderer.cs
- InvalidateEvent.cs
- InlineObject.cs
- CodeComment.cs
- CustomMenuItemCollection.cs
- WindowsNonControl.cs
- SQLInt16.cs
- MetadataCache.cs
- PackageRelationshipCollection.cs
- Converter.cs
- DocumentReferenceCollection.cs
- WindowsListViewScroll.cs
- PerformanceCountersElement.cs
- NetworkAddressChange.cs
- UIAgentAsyncParams.cs
- Literal.cs
- OdbcError.cs
- SecurityRuntime.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- KnownBoxes.cs
- DefaultValidator.cs
- ElapsedEventArgs.cs
- KeyedHashAlgorithm.cs
- HostExecutionContextManager.cs
- DbProviderFactories.cs
- XsdDataContractExporter.cs
- ApplicationManager.cs
- FirewallWrapper.cs
- SrgsItemList.cs
- BinaryParser.cs
- EdmComplexPropertyAttribute.cs