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
- IItemProperties.cs
- TextDecorationLocationValidation.cs
- CodeBlockBuilder.cs
- TypographyProperties.cs
- SignedXmlDebugLog.cs
- NetMsmqSecurity.cs
- DataFieldEditor.cs
- CodeGenerator.cs
- MergePropertyDescriptor.cs
- IndicShape.cs
- Parameter.cs
- XhtmlTextWriter.cs
- RequestQueryParser.cs
- DictionaryEntry.cs
- BindingExpressionBase.cs
- MULTI_QI.cs
- StickyNoteAnnotations.cs
- XmlEncodedRawTextWriter.cs
- GeneralTransformCollection.cs
- Rectangle.cs
- CursorConverter.cs
- SchemaImporter.cs
- SHA512Managed.cs
- FamilyMap.cs
- DataBoundLiteralControl.cs
- DataShape.cs
- Bidi.cs
- Debug.cs
- IntSecurity.cs
- WindowsListViewItemCheckBox.cs
- DetailsViewRowCollection.cs
- NotFiniteNumberException.cs
- HitTestParameters3D.cs
- IPAddress.cs
- StorageInfo.cs
- XhtmlBasicLabelAdapter.cs
- ConfigurationPermission.cs
- PrimitiveCodeDomSerializer.cs
- UriSection.cs
- COAUTHIDENTITY.cs
- ControllableStoryboardAction.cs
- TextAction.cs
- CommandEventArgs.cs
- ServiceOperation.cs
- GradientStopCollection.cs
- Utility.cs
- WSFederationHttpBindingCollectionElement.cs
- HtmlTextArea.cs
- BindingElementExtensionElement.cs
- GridToolTip.cs
- FormsAuthenticationCredentials.cs
- SecureUICommand.cs
- PolygonHotSpot.cs
- WindowsStatic.cs
- SharedUtils.cs
- QueryOptionExpression.cs
- DirectionalLight.cs
- CqlWriter.cs
- RecognizedAudio.cs
- Size3DConverter.cs
- TextServicesLoader.cs
- SQLBinaryStorage.cs
- CommonProperties.cs
- WizardStepBase.cs
- XmlTextReaderImplHelpers.cs
- IOException.cs
- ScrollChrome.cs
- VScrollProperties.cs
- MimeBasePart.cs
- ListViewSortEventArgs.cs
- PageThemeBuildProvider.cs
- ColumnBinding.cs
- ClientOptions.cs
- mediapermission.cs
- WebPartManagerInternals.cs
- RegularExpressionValidator.cs
- ObjectDisposedException.cs
- StretchValidation.cs
- Transform3D.cs
- XmlNode.cs
- StateManagedCollection.cs
- mediaclock.cs
- AssemblySettingAttributes.cs
- PartialTrustHelpers.cs
- GlyphRun.cs
- TextBox.cs
- ProgressBar.cs
- MsdtcClusterUtils.cs
- BlockUIContainer.cs
- FileAuthorizationModule.cs
- SystemResourceHost.cs
- XslException.cs
- ObjectViewEntityCollectionData.cs
- DbConnectionFactory.cs
- GPRECTF.cs
- UpdateRecord.cs
- LineBreakRecord.cs
- Menu.cs
- RefType.cs
- HasCopySemanticsAttribute.cs