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
- UIElementCollection.cs
- ListSortDescriptionCollection.cs
- FixedHyperLink.cs
- ActivityCompletionCallbackWrapper.cs
- LicenseManager.cs
- FlowDecisionDesigner.xaml.cs
- SQLInt32Storage.cs
- TextEffect.cs
- BitmapEffectGroup.cs
- TableCellAutomationPeer.cs
- CodeAttributeDeclarationCollection.cs
- Debug.cs
- Mappings.cs
- BinaryWriter.cs
- DispatcherOperation.cs
- basevalidator.cs
- GorillaCodec.cs
- XamlSerializerUtil.cs
- InsufficientExecutionStackException.cs
- ManipulationInertiaStartingEventArgs.cs
- CacheChildrenQuery.cs
- HostedAspNetEnvironment.cs
- MailMessageEventArgs.cs
- DbDataReader.cs
- TemplatedMailWebEventProvider.cs
- ElementsClipboardData.cs
- ImageList.cs
- DbConnectionStringBuilder.cs
- InvalidAsynchronousStateException.cs
- WindowsListView.cs
- DesignerActionList.cs
- SQLRoleProvider.cs
- SapiRecoContext.cs
- AppDomainProtocolHandler.cs
- InProcStateClientManager.cs
- SelectingProviderEventArgs.cs
- SafeNativeMethods.cs
- FixedSOMPageConstructor.cs
- StateDesignerConnector.cs
- MimeParameters.cs
- KeyGesture.cs
- DataGridViewCellStyle.cs
- XmlMembersMapping.cs
- XmlSiteMapProvider.cs
- FrameworkContextData.cs
- TabControl.cs
- Animatable.cs
- StrongTypingException.cs
- PartialCachingControl.cs
- SqlDeflator.cs
- RightsManagementInformation.cs
- DataControlPagerLinkButton.cs
- ShellProvider.cs
- SqlNotificationRequest.cs
- RoleGroup.cs
- HandlerBase.cs
- DataRow.cs
- BaseCollection.cs
- EntitySqlException.cs
- WebPartActionVerb.cs
- ResourceExpressionEditor.cs
- WebMessageEncodingElement.cs
- UInt16Converter.cs
- ErrorFormatter.cs
- XmlNamespaceManager.cs
- ProfileInfo.cs
- VisualBasicDesignerHelper.cs
- ProviderUtil.cs
- SerializeAbsoluteContext.cs
- BooleanConverter.cs
- TraceRecord.cs
- FixedSOMLineCollection.cs
- SettingsPropertyCollection.cs
- IOException.cs
- CodePrimitiveExpression.cs
- QilPatternVisitor.cs
- CalendarDateChangedEventArgs.cs
- ObjectSelectorEditor.cs
- TextSelectionHelper.cs
- SqlRowUpdatingEvent.cs
- EventMappingSettingsCollection.cs
- FontStyleConverter.cs
- SimpleWorkerRequest.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- CrossAppDomainChannel.cs
- MatrixCamera.cs
- CodeDOMProvider.cs
- DatagridviewDisplayedBandsData.cs
- MinimizableAttributeTypeConverter.cs
- InternalUserCancelledException.cs
- CmsInterop.cs
- SerializationSectionGroup.cs
- DataGridCaption.cs
- InvalidPrinterException.cs
- SqlColumnizer.cs
- Duration.cs
- ComponentCommands.cs
- DesignerDataTable.cs
- DateTimeStorage.cs
- PlatformCulture.cs