Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. //------------------------------------------------------------------------------ //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.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
- PersonalizationState.cs
- TreeViewItemAutomationPeer.cs
- GrabHandleGlyph.cs
- HierarchicalDataTemplate.cs
- WmlLinkAdapter.cs
- ClientUIRequest.cs
- HttpHostedTransportConfiguration.cs
- SystemShuttingDownException.cs
- Point.cs
- ApplicationServiceManager.cs
- DependencyPropertyKey.cs
- ImmutablePropertyDescriptorGridEntry.cs
- GPRECT.cs
- PropertyValueUIItem.cs
- NavigationProperty.cs
- TransactionChannelListener.cs
- HtmlUtf8RawTextWriter.cs
- KeyboardDevice.cs
- CatalogPartDesigner.cs
- ContextStack.cs
- _DomainName.cs
- ButtonFieldBase.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- Parsers.cs
- VariantWrapper.cs
- RepeaterItemCollection.cs
- Util.cs
- RemotingService.cs
- keycontainerpermission.cs
- Select.cs
- DbProviderFactories.cs
- RawMouseInputReport.cs
- FillErrorEventArgs.cs
- ServiceDescriptionContext.cs
- DataRelationPropertyDescriptor.cs
- CodePageUtils.cs
- SocketElement.cs
- PermissionListSet.cs
- KeyFrames.cs
- LinqDataSourceSelectEventArgs.cs
- WindowsTokenRoleProvider.cs
- SystemTcpStatistics.cs
- AmbientProperties.cs
- StyleSheet.cs
- FontStyles.cs
- ChildrenQuery.cs
- PointLightBase.cs
- precedingsibling.cs
- UIElement.cs
- MetadataAssemblyHelper.cs
- AccessedThroughPropertyAttribute.cs
- PermissionSetEnumerator.cs
- XsltContext.cs
- DataBindingsDialog.cs
- TemplateBamlTreeBuilder.cs
- PolicyValidationException.cs
- HandleTable.cs
- log.cs
- NavigatorOutput.cs
- LineBreakRecord.cs
- WebEventTraceProvider.cs
- XPathBinder.cs
- PermissionSet.cs
- CaseInsensitiveComparer.cs
- InternalCache.cs
- RowType.cs
- BinaryConverter.cs
- WindowsAuthenticationEventArgs.cs
- SpellerHighlightLayer.cs
- CodeCatchClauseCollection.cs
- Semaphore.cs
- SpellerStatusTable.cs
- XsdBuilder.cs
- WasAdminWrapper.cs
- FormViewInsertedEventArgs.cs
- httpserverutility.cs
- DataKey.cs
- LambdaCompiler.Binary.cs
- XamlPointCollectionSerializer.cs
- DesignSurfaceServiceContainer.cs
- BCryptSafeHandles.cs
- XmlLanguageConverter.cs
- LayoutUtils.cs
- ISAPIApplicationHost.cs
- DrawingState.cs
- FilterRepeater.cs
- MonitoringDescriptionAttribute.cs
- BoundField.cs
- CachedCompositeFamily.cs
- DefaultEventAttribute.cs
- ResourceDefaultValueAttribute.cs
- RowsCopiedEventArgs.cs
- LambdaCompiler.ControlFlow.cs
- XmlNodeWriter.cs
- ScriptBehaviorDescriptor.cs
- WebPartManagerInternals.cs
- ListBoxChrome.cs
- EntityDataSourceChangedEventArgs.cs
- BitmapCacheBrush.cs
- DoubleCollection.cs