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
- WebBrowserNavigatedEventHandler.cs
- HandlerBase.cs
- SoapElementAttribute.cs
- RtfNavigator.cs
- GenericWebPart.cs
- SignedXml.cs
- RuntimeConfigurationRecord.cs
- MenuStrip.cs
- CaseInsensitiveOrdinalStringComparer.cs
- XPathDocumentNavigator.cs
- SystemWebCachingSectionGroup.cs
- OperationPickerDialog.designer.cs
- TemplatedEditableDesignerRegion.cs
- RegexCharClass.cs
- BrushMappingModeValidation.cs
- FrameworkContextData.cs
- MD5.cs
- HtmlTextArea.cs
- WindowsFormsHelpers.cs
- OrderByQueryOptionExpression.cs
- Currency.cs
- DataGridState.cs
- NewItemsContextMenuStrip.cs
- PKCS1MaskGenerationMethod.cs
- HandlerMappingMemo.cs
- Bidi.cs
- OleCmdHelper.cs
- PrimitiveType.cs
- ReflectPropertyDescriptor.cs
- DateTimeSerializationSection.cs
- GlyphingCache.cs
- AnonymousIdentificationSection.cs
- MdiWindowListStrip.cs
- Script.cs
- EntitySqlQueryCacheEntry.cs
- SqlParameterizer.cs
- OletxTransactionFormatter.cs
- LinqDataSourceEditData.cs
- Light.cs
- MultiplexingDispatchMessageFormatter.cs
- MailMessageEventArgs.cs
- DPAPIProtectedConfigurationProvider.cs
- KeySplineConverter.cs
- ToolboxComponentsCreatingEventArgs.cs
- ReadOnlyAttribute.cs
- XmlChildNodes.cs
- ProcessModelSection.cs
- Context.cs
- SQLByteStorage.cs
- ConfigurationSection.cs
- Error.cs
- CacheChildrenQuery.cs
- HGlobalSafeHandle.cs
- SiteMapSection.cs
- ImageUrlEditor.cs
- InfoCardSchemas.cs
- SecurityImpersonationBehavior.cs
- CryptoApi.cs
- RawUIStateInputReport.cs
- HandledMouseEvent.cs
- HyperLink.cs
- ConsumerConnectionPoint.cs
- XmlSchemaSimpleContentExtension.cs
- LassoHelper.cs
- TimeSpanConverter.cs
- Switch.cs
- ServiceObjectContainer.cs
- CodeParameterDeclarationExpressionCollection.cs
- DynamicFilter.cs
- InnerItemCollectionView.cs
- AnimatedTypeHelpers.cs
- ReceiveActivityDesigner.cs
- DebugManager.cs
- XPathNodeInfoAtom.cs
- PeerInvitationResponse.cs
- XNodeNavigator.cs
- VariantWrapper.cs
- MemberAccessException.cs
- UrlAuthFailedErrorFormatter.cs
- TemplateComponentConnector.cs
- TraceUtility.cs
- MetadataSource.cs
- DSACryptoServiceProvider.cs
- WebPartAuthorizationEventArgs.cs
- EventsTab.cs
- ProviderUtil.cs
- CanonicalizationDriver.cs
- DataGridColumnHeaderCollection.cs
- RotateTransform.cs
- SQLBinaryStorage.cs
- HtmlTable.cs
- Dictionary.cs
- PassportAuthenticationEventArgs.cs
- AsymmetricKeyExchangeDeformatter.cs
- LiteralControl.cs
- EncodingNLS.cs
- LinkedList.cs
- MailWebEventProvider.cs
- TokenBasedSetEnumerator.cs
- Grid.cs