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
- TraceContextEventArgs.cs
- SetIterators.cs
- Vector.cs
- PolyQuadraticBezierSegment.cs
- ServiceDiscoveryBehavior.cs
- DateTimeOffsetStorage.cs
- IsolatedStorageException.cs
- StandardOleMarshalObject.cs
- RelationshipEndMember.cs
- Boolean.cs
- ContractHandle.cs
- DataGridViewRowEventArgs.cs
- PrintingPermissionAttribute.cs
- LayoutSettings.cs
- path.cs
- OverlappedAsyncResult.cs
- ServerValidateEventArgs.cs
- XamlStream.cs
- RegexBoyerMoore.cs
- Substitution.cs
- XomlCompilerHelpers.cs
- UpdatePanelTriggerCollection.cs
- ProvideValueServiceProvider.cs
- MasterPageBuildProvider.cs
- Base64Encoder.cs
- ServiceInfo.cs
- TokenizerHelper.cs
- ItemCheckEvent.cs
- CollectionBase.cs
- Property.cs
- SrgsElementList.cs
- ProgressBarHighlightConverter.cs
- GridViewUpdatedEventArgs.cs
- DetailsViewRow.cs
- Vector3dCollection.cs
- DependencyPropertyKey.cs
- SqlDataSourceView.cs
- ToolStripItem.cs
- CodeStatement.cs
- TypeUsageBuilder.cs
- WSTrustDec2005.cs
- GlyphRun.cs
- InheritanceRules.cs
- ValidationPropertyAttribute.cs
- ComboBoxItem.cs
- DependencyPropertyChangedEventArgs.cs
- InternalUserCancelledException.cs
- GZipStream.cs
- XmlTextReaderImpl.cs
- CodeAttributeDeclarationCollection.cs
- MarginCollapsingState.cs
- ListBoxItemWrapperAutomationPeer.cs
- PersonalizationStateInfoCollection.cs
- BasePattern.cs
- SimpleApplicationHost.cs
- Track.cs
- OleDbFactory.cs
- ContextMenu.cs
- DescendentsWalker.cs
- InternalEnumValidator.cs
- DetailsViewPagerRow.cs
- ECDsa.cs
- FormViewUpdatedEventArgs.cs
- ReadOnlyCollection.cs
- WindowsRichEditRange.cs
- Timer.cs
- VSWCFServiceContractGenerator.cs
- InternalConfigSettingsFactory.cs
- DLinqTableProvider.cs
- LocationChangedEventArgs.cs
- FlowLayoutPanelDesigner.cs
- SqlStatistics.cs
- DocumentOrderComparer.cs
- HighContrastHelper.cs
- XmlImplementation.cs
- __TransparentProxy.cs
- SecurityKeyType.cs
- LogSwitch.cs
- CompilerLocalReference.cs
- LazyTextWriterCreator.cs
- MenuCommands.cs
- XmlComplianceUtil.cs
- VariableAction.cs
- DaylightTime.cs
- TdsParserStateObject.cs
- sqlpipe.cs
- CompilerGeneratedAttribute.cs
- CodePropertyReferenceExpression.cs
- UnionCqlBlock.cs
- MobileControl.cs
- EmptyImpersonationContext.cs
- InputDevice.cs
- RepeatBehavior.cs
- DetailsViewDeleteEventArgs.cs
- ColorConvertedBitmap.cs
- SynchronizationContext.cs
- RangeBase.cs
- ValueUtilsSmi.cs
- DivideByZeroException.cs
- EmbossBitmapEffect.cs