Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Compiler / CodeGeneration / CodeGeneratorAttribute.cs / 1305376 / CodeGeneratorAttribute.cs
namespace System.Workflow.ComponentModel.Compiler { [AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = true)] public sealed class ActivityCodeGeneratorAttribute : Attribute { string codeGeneratorTypeName = null; public ActivityCodeGeneratorAttribute(Type codeGeneratorType) { if (codeGeneratorType == null) throw new ArgumentNullException("codeGeneratorType"); if (!typeof(ActivityCodeGenerator).IsAssignableFrom(codeGeneratorType)) throw new ArgumentException(SR.GetString(SR.Error_NotCodeGeneratorType), "codeGeneratorType"); if (codeGeneratorType.GetConstructor(new Type[0] { }) == null) throw new ArgumentException(SR.GetString(SR.Error_MissingDefaultConstructor, codeGeneratorType.FullName), "codeGeneratorType"); this.codeGeneratorTypeName = codeGeneratorType.AssemblyQualifiedName; } public ActivityCodeGeneratorAttribute(string codeGeneratorTypeName) { if (codeGeneratorTypeName == null) throw new ArgumentNullException("codeGeneratorTypeName"); this.codeGeneratorTypeName = codeGeneratorTypeName; } public string CodeGeneratorTypeName { get { return this.codeGeneratorTypeName; } } } } // 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
- CompModHelpers.cs
- IgnoreFileBuildProvider.cs
- EventLogEntry.cs
- figurelengthconverter.cs
- DataGridBeginningEditEventArgs.cs
- UDPClient.cs
- FormsAuthenticationEventArgs.cs
- ContextCorrelationInitializer.cs
- ListBoxItemAutomationPeer.cs
- ListControlStringCollectionEditor.cs
- ActivityInstance.cs
- DataTableMapping.cs
- HighlightVisual.cs
- ComponentDispatcher.cs
- BitmapImage.cs
- ReturnEventArgs.cs
- InternalEnumValidator.cs
- CheckBoxDesigner.cs
- PresentationSource.cs
- VariableQuery.cs
- SQLResource.cs
- NavigatingCancelEventArgs.cs
- GlyphCache.cs
- UIPropertyMetadata.cs
- ClaimComparer.cs
- DataGridViewImageCell.cs
- List.cs
- DataBindingCollection.cs
- IPipelineRuntime.cs
- OutputCacheProviderCollection.cs
- SortKey.cs
- ToolStripOverflowButton.cs
- HostedHttpTransportManager.cs
- WebServiceFaultDesigner.cs
- XmlLinkedNode.cs
- XmlExceptionHelper.cs
- DataContractSerializerOperationBehavior.cs
- Variant.cs
- ZoneMembershipCondition.cs
- ConnectionStringsSection.cs
- DataGridViewDataConnection.cs
- KeyTimeConverter.cs
- CodeGen.cs
- SystemEvents.cs
- WindowsStatic.cs
- ITextView.cs
- PolyQuadraticBezierSegment.cs
- SwitchLevelAttribute.cs
- ScrollItemProviderWrapper.cs
- CacheSection.cs
- TempFiles.cs
- StateDesigner.LayoutSelectionGlyph.cs
- RootNamespaceAttribute.cs
- PathFigure.cs
- StylusButtonEventArgs.cs
- XmlSignificantWhitespace.cs
- ComponentGlyph.cs
- ConfigViewGenerator.cs
- ImageMapEventArgs.cs
- CodePageEncoding.cs
- WS2007HttpBinding.cs
- HtmlHistory.cs
- StylusButton.cs
- ProfileSettings.cs
- MonitorWrapper.cs
- ThrowHelper.cs
- PermissionListSet.cs
- FolderLevelBuildProviderCollection.cs
- PropertyValueChangedEvent.cs
- XmlSchemaComplexContentExtension.cs
- ShaderEffect.cs
- HostProtectionPermission.cs
- HwndSourceKeyboardInputSite.cs
- TemplateInstanceAttribute.cs
- XmlTypeAttribute.cs
- AxWrapperGen.cs
- CookieProtection.cs
- MenuItemCollection.cs
- Utils.cs
- ParameterModifier.cs
- VisualStyleTypesAndProperties.cs
- DataGridViewAccessibleObject.cs
- OutputWindow.cs
- StoreAnnotationsMap.cs
- BamlLocalizationDictionary.cs
- TypeSource.cs
- GridViewDeleteEventArgs.cs
- BitmapFrame.cs
- InstanceDescriptor.cs
- OdbcConnectionPoolProviderInfo.cs
- AlphabetConverter.cs
- File.cs
- DataGridViewRowStateChangedEventArgs.cs
- DoubleLinkList.cs
- ColumnResizeAdorner.cs
- WebPartConnectionsConnectVerb.cs
- ExtendedPropertyDescriptor.cs
- SQLDateTimeStorage.cs
- sqlnorm.cs
- QilDataSource.cs