Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Compilation / DesignTimeResourceProviderFactoryAttribute.cs / 1 / DesignTimeResourceProviderFactoryAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class DesignTimeResourceProviderFactoryAttribute : Attribute { private string _factoryTypeName; public DesignTimeResourceProviderFactoryAttribute(Type factoryType) { _factoryTypeName = factoryType.AssemblyQualifiedName; } public DesignTimeResourceProviderFactoryAttribute(string factoryTypeName) { _factoryTypeName = factoryTypeName; } public string FactoryTypeName { get { return _factoryTypeName; } } public override bool IsDefaultAttribute() { return (_factoryTypeName == null); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Allows a ResourceProviderFactory to specify the type of the associated /// DesignTimeResourceProviderFactory. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class DesignTimeResourceProviderFactoryAttribute : Attribute { private string _factoryTypeName; public DesignTimeResourceProviderFactoryAttribute(Type factoryType) { _factoryTypeName = factoryType.AssemblyQualifiedName; } public DesignTimeResourceProviderFactoryAttribute(string factoryTypeName) { _factoryTypeName = factoryTypeName; } public string FactoryTypeName { get { return _factoryTypeName; } } public override bool IsDefaultAttribute() { return (_factoryTypeName == null); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Allows a ResourceProviderFactory to specify the type of the associated /// DesignTimeResourceProviderFactory. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GenericAuthenticationEventArgs.cs
- PolyQuadraticBezierSegment.cs
- XmlUTF8TextReader.cs
- TextRunCacheImp.cs
- RoleManagerEventArgs.cs
- _LocalDataStoreMgr.cs
- Highlights.cs
- DataReaderContainer.cs
- VisualStyleElement.cs
- UnsafeNativeMethods.cs
- LassoHelper.cs
- DocumentPage.cs
- SqlCachedBuffer.cs
- ValidatedControlConverter.cs
- RichTextBox.cs
- DateTimeParse.cs
- OracleParameter.cs
- CodeRemoveEventStatement.cs
- EntityAdapter.cs
- ApplicationManager.cs
- HMACMD5.cs
- CultureTable.cs
- WebPartConnectVerb.cs
- TextDecorationUnitValidation.cs
- Error.cs
- DataColumn.cs
- TextDataBindingHandler.cs
- StateWorkerRequest.cs
- InfocardClientCredentials.cs
- XmlNamespaceMapping.cs
- CallSiteBinder.cs
- UserControl.cs
- typedescriptorpermissionattribute.cs
- TypeExtensionSerializer.cs
- WmpBitmapEncoder.cs
- ResourceDictionaryCollection.cs
- GregorianCalendar.cs
- BulletedListEventArgs.cs
- GeneralTransform.cs
- DayRenderEvent.cs
- ProcessThreadDesigner.cs
- SecurityContext.cs
- ArrayConverter.cs
- Emitter.cs
- COM2IDispatchConverter.cs
- SourceFileBuildProvider.cs
- InvalidAsynchronousStateException.cs
- ClientBuildManagerCallback.cs
- PersonalizationStateInfo.cs
- CachedPathData.cs
- BackgroundWorker.cs
- MessageQueueException.cs
- WeakReference.cs
- Attributes.cs
- GradientStop.cs
- TreeViewHitTestInfo.cs
- ConnectionsZoneAutoFormat.cs
- AssemblyAttributes.cs
- DecoderNLS.cs
- RtfControlWordInfo.cs
- InkCanvasSelectionAdorner.cs
- Span.cs
- TypedElement.cs
- RuntimeEnvironment.cs
- CalloutQueueItem.cs
- formatter.cs
- Int16AnimationUsingKeyFrames.cs
- RetriableClipboard.cs
- QueryContinueDragEvent.cs
- TableCellCollection.cs
- EventNotify.cs
- ScriptResourceHandler.cs
- MergeLocalizationDirectives.cs
- RelOps.cs
- OracleColumn.cs
- PropertiesTab.cs
- IISMapPath.cs
- PhysicalAddress.cs
- WriteFileContext.cs
- safelink.cs
- XamlReaderHelper.cs
- TextFindEngine.cs
- NonBatchDirectoryCompiler.cs
- ServiceCredentials.cs
- GenericAuthenticationEventArgs.cs
- CredentialCache.cs
- OneOf.cs
- LinearGradientBrush.cs
- ClientOptions.cs
- HebrewNumber.cs
- DataReceivedEventArgs.cs
- DbExpressionBuilder.cs
- DateTimeOffset.cs
- DrawingContextWalker.cs
- PartitionedStream.cs
- SByteConverter.cs
- Vector.cs
- ContentPropertyAttribute.cs
- Vector3D.cs
- ProviderBase.cs