Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Compilation / ResourceProviderFactory.cs / 1305376 / ResourceProviderFactory.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System; using System.Security.Permissions; /* * Interface used to create app and page IResourceProvider objects */ public abstract class ResourceProviderFactory { public abstract IResourceProvider CreateGlobalResourceProvider(string classKey); public abstract IResourceProvider CreateLocalResourceProvider(string virtualPath); } /* * Implementation of ResourceProviderFactory for ResourceManager based resources */ internal class ResXResourceProviderFactory: ResourceProviderFactory { public override IResourceProvider CreateGlobalResourceProvider(string classKey) { return new GlobalResXResourceProvider(classKey); } public override IResourceProvider CreateLocalResourceProvider(string virtualPath) { return new LocalResXResourceProvider(VirtualPath.Create(virtualPath)); } } } // 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
- DeflateEmulationStream.cs
- KeyTimeConverter.cs
- TemplateBindingExpressionConverter.cs
- CultureTable.cs
- DateBoldEvent.cs
- AuthenticationConfig.cs
- ISO2022Encoding.cs
- AsyncResult.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- SchemaCompiler.cs
- FunctionImportElement.cs
- PathSegment.cs
- CleanUpVirtualizedItemEventArgs.cs
- Misc.cs
- AcceleratedTokenProvider.cs
- ResourceAssociationSet.cs
- XamlStyleSerializer.cs
- FileDialog.cs
- ButtonChrome.cs
- TreeNodeClickEventArgs.cs
- LoaderAllocator.cs
- RNGCryptoServiceProvider.cs
- BigInt.cs
- DatagramAdapter.cs
- GlobalizationAssembly.cs
- GroupStyle.cs
- TPLETWProvider.cs
- SecureUICommand.cs
- XAMLParseException.cs
- CurrentChangingEventManager.cs
- DynamicQueryStringParameter.cs
- DateTimeUtil.cs
- MimePart.cs
- PerformanceCounterManager.cs
- IProvider.cs
- ReachVisualSerializerAsync.cs
- FormConverter.cs
- HatchBrush.cs
- BindingSource.cs
- PropertyItemInternal.cs
- ThreadAttributes.cs
- ResourceCategoryAttribute.cs
- Marshal.cs
- _ProxyChain.cs
- XhtmlBasicValidationSummaryAdapter.cs
- DecoderNLS.cs
- PropertyGroupDescription.cs
- LineProperties.cs
- TextBoxView.cs
- CompilerHelpers.cs
- MimeBasePart.cs
- IxmlLineInfo.cs
- Message.cs
- SimpleRecyclingCache.cs
- ContractHandle.cs
- PreviewPageInfo.cs
- ExplicitDiscriminatorMap.cs
- TextProperties.cs
- AdornerLayer.cs
- PinnedBufferMemoryStream.cs
- Run.cs
- ValuePattern.cs
- ExpressionVisitor.cs
- SchemaCollectionPreprocessor.cs
- XmlSchemaCollection.cs
- ToolStripKeyboardHandlingService.cs
- Processor.cs
- CodeCompiler.cs
- SocketElement.cs
- MouseGestureConverter.cs
- FormViewModeEventArgs.cs
- UserPreferenceChangedEventArgs.cs
- PowerModeChangedEventArgs.cs
- ZipFileInfoCollection.cs
- RuntimeConfigLKG.cs
- ListMarkerSourceInfo.cs
- HyperLinkStyle.cs
- Message.cs
- ItemChangedEventArgs.cs
- NullPackagingPolicy.cs
- SiteMapNodeCollection.cs
- SimpleApplicationHost.cs
- Choices.cs
- SrgsElementFactory.cs
- ScrollChrome.cs
- SelfIssuedAuthAsymmetricKey.cs
- CodeComment.cs
- PermissionSetTriple.cs
- ThemeableAttribute.cs
- Serializer.cs
- TagPrefixCollection.cs
- FixedHyperLink.cs
- PrimitiveSchema.cs
- BitmapEffectDrawing.cs
- SimpleType.cs
- ScrollChrome.cs
- ITreeGenerator.cs
- CancellationState.cs
- ProfileInfo.cs
- Pair.cs