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
- HtmlLink.cs
- BuildProvidersCompiler.cs
- New.cs
- OperationAbortedException.cs
- DbConnectionStringCommon.cs
- XmlILIndex.cs
- Model3DGroup.cs
- ToolStripPanelRow.cs
- Int32RectValueSerializer.cs
- AncillaryOps.cs
- MoveSizeWinEventHandler.cs
- FontUnit.cs
- isolationinterop.cs
- CheckedListBox.cs
- BamlRecordWriter.cs
- HMACSHA1.cs
- RuntimeHandles.cs
- CodeBinaryOperatorExpression.cs
- Resources.Designer.cs
- PropertyChangedEventManager.cs
- CodeGenerator.cs
- XmlAttributeAttribute.cs
- ResourceDescriptionAttribute.cs
- CodeSubDirectory.cs
- SecurityException.cs
- Merger.cs
- TextDecorationCollection.cs
- DataGridViewButtonColumn.cs
- Grid.cs
- WorkerProcess.cs
- DataSourceProvider.cs
- DataDocumentXPathNavigator.cs
- TreeViewImageKeyConverter.cs
- RelationshipType.cs
- SqlBuilder.cs
- WebControlsSection.cs
- DesignBindingPicker.cs
- TextBoxAutomationPeer.cs
- DecoderBestFitFallback.cs
- BCLDebug.cs
- ForwardPositionQuery.cs
- safelinkcollection.cs
- SqlCommandSet.cs
- RenderTargetBitmap.cs
- DataGridColumnCollection.cs
- RestHandler.cs
- XmlKeywords.cs
- Rules.cs
- PointAnimationClockResource.cs
- OnOperation.cs
- PrintSchema.cs
- Quaternion.cs
- HtmlTableRowCollection.cs
- Underline.cs
- EventLogPermissionAttribute.cs
- GroupBox.cs
- Queue.cs
- COM2Enum.cs
- Run.cs
- XmlWellformedWriter.cs
- SqlUtil.cs
- IndividualDeviceConfig.cs
- SourceChangedEventArgs.cs
- XmlProcessingInstruction.cs
- HttpCookieCollection.cs
- SQLGuid.cs
- Multiply.cs
- SmtpReplyReader.cs
- SystemMulticastIPAddressInformation.cs
- ManagementOptions.cs
- CqlGenerator.cs
- ObjectNavigationPropertyMapping.cs
- ClientSponsor.cs
- RoleManagerSection.cs
- SecurityHeaderElementInferenceEngine.cs
- CultureInfo.cs
- MarkupWriter.cs
- RandomNumberGenerator.cs
- SmtpNegotiateAuthenticationModule.cs
- OletxVolatileEnlistment.cs
- panel.cs
- CategoryGridEntry.cs
- SqlCachedBuffer.cs
- ValidatorCompatibilityHelper.cs
- PolyBezierSegment.cs
- ActivitiesCollection.cs
- List.cs
- TaiwanLunisolarCalendar.cs
- WmlCommandAdapter.cs
- coordinatorscratchpad.cs
- Operator.cs
- ImmComposition.cs
- SafeCancelMibChangeNotify.cs
- CodeDesigner.cs
- XPathParser.cs
- QuotaExceededException.cs
- ListControl.cs
- TypeSystem.cs
- FileSystemWatcher.cs
- SqlDataReaderSmi.cs