Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Compilation / ResourceProviderFactory.cs / 1 / 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 */ [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GcHandle.cs
- RuntimeIdentifierPropertyAttribute.cs
- OptimalTextSource.cs
- RegistryHandle.cs
- ActivityCodeDomReferenceService.cs
- ZipIOBlockManager.cs
- ApplicationId.cs
- FormViewPagerRow.cs
- ExceptionHandler.cs
- ActiveXContainer.cs
- TableTextElementCollectionInternal.cs
- SqlDataSourceCommandEventArgs.cs
- RecognizerBase.cs
- EntityCommandDefinition.cs
- Zone.cs
- CalendarAutomationPeer.cs
- IgnoreDeviceFilterElement.cs
- ReadWriteObjectLock.cs
- BindingManagerDataErrorEventArgs.cs
- RequestResponse.cs
- Tablet.cs
- RawStylusInput.cs
- CancellationScope.cs
- PenCursorManager.cs
- AutomationEventArgs.cs
- ContextMenuStripGroup.cs
- SQLBytesStorage.cs
- OutputWindow.cs
- EntryWrittenEventArgs.cs
- QueryContinueDragEventArgs.cs
- bindurihelper.cs
- AppDomainAttributes.cs
- Mouse.cs
- SqlBulkCopyColumnMappingCollection.cs
- DbDataSourceEnumerator.cs
- WmlValidationSummaryAdapter.cs
- CodeTypeReferenceExpression.cs
- SqlTriggerAttribute.cs
- ThaiBuddhistCalendar.cs
- RenderDataDrawingContext.cs
- ErrorsHelper.cs
- BulletedList.cs
- NotCondition.cs
- SplitContainer.cs
- MenuItemStyleCollection.cs
- JsonMessageEncoderFactory.cs
- FileUpload.cs
- SqlServer2KCompatibilityCheck.cs
- TextDocumentView.cs
- EntityCommand.cs
- DesignTimeVisibleAttribute.cs
- PrintPreviewDialog.cs
- _ListenerAsyncResult.cs
- DependencyPropertyValueSerializer.cs
- WebPartConnection.cs
- iisPickupDirectory.cs
- ConstraintEnumerator.cs
- SettingsProperty.cs
- SafeNativeMethods.cs
- ExecutionScope.cs
- PcmConverter.cs
- ExtendedProtectionPolicyTypeConverter.cs
- TextElement.cs
- FileIOPermission.cs
- LogExtent.cs
- CategoryAttribute.cs
- StreamDocument.cs
- PathStreamGeometryContext.cs
- DispatchWrapper.cs
- OdbcStatementHandle.cs
- InputLanguageCollection.cs
- ErrorWrapper.cs
- WebControl.cs
- Point.cs
- AlphaSortedEnumConverter.cs
- MaskedTextBox.cs
- AsymmetricSecurityBindingElement.cs
- BooleanStorage.cs
- FileLevelControlBuilderAttribute.cs
- BasePattern.cs
- ApplicationSettingsBase.cs
- ITextView.cs
- AttributeUsageAttribute.cs
- TableColumn.cs
- Rotation3DAnimationBase.cs
- TaskScheduler.cs
- AttributeQuery.cs
- PinProtectionHelper.cs
- ScriptManagerProxy.cs
- Pair.cs
- ControlCachePolicy.cs
- InteropAutomationProvider.cs
- NTAccount.cs
- SmiRecordBuffer.cs
- AuthenticationModuleElementCollection.cs
- UDPClient.cs
- FrameworkElementFactory.cs
- CompositeScriptReferenceEventArgs.cs
- RedirectionProxy.cs
- PasswordTextNavigator.cs