Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Compiler / Validation / BindValidationContext.cs / 1305376 / BindValidationContext.cs
namespace System.Workflow.ComponentModel.Compiler { using System; #region BindValidationContext [Flags] public enum AccessTypes { Read = 0x01, Write = 0x02, ReadWrite = Read | Write } public sealed class BindValidationContext { private Type targetType = null; private AccessTypes access = AccessTypes.Read; public BindValidationContext(Type targetType) : this(targetType, AccessTypes.Read) { } public BindValidationContext(Type targetType, AccessTypes access) { if (targetType == null) throw new ArgumentNullException("targetType"); this.targetType = targetType; this.access = access; } public Type TargetType { get { return this.targetType; } } public AccessTypes Access { get { return this.access; } } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Workflow.ComponentModel.Compiler { using System; #region BindValidationContext [Flags] public enum AccessTypes { Read = 0x01, Write = 0x02, ReadWrite = Read | Write } public sealed class BindValidationContext { private Type targetType = null; private AccessTypes access = AccessTypes.Read; public BindValidationContext(Type targetType) : this(targetType, AccessTypes.Read) { } public BindValidationContext(Type targetType, AccessTypes access) { if (targetType == null) throw new ArgumentNullException("targetType"); this.targetType = targetType; this.access = access; } public Type TargetType { get { return this.targetType; } } public AccessTypes Access { get { return this.access; } } } #endregion } // 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
- SQlBooleanStorage.cs
- TagNameToTypeMapper.cs
- DataGridViewEditingControlShowingEventArgs.cs
- __Filters.cs
- ReflectionUtil.cs
- SqlConnectionHelper.cs
- FrameworkName.cs
- SaveFileDialog.cs
- MsmqHostedTransportConfiguration.cs
- ValidateNames.cs
- SQLInt32.cs
- DefinitionUpdate.cs
- HexParser.cs
- HttpGetClientProtocol.cs
- PathStreamGeometryContext.cs
- BamlCollectionHolder.cs
- ImageSource.cs
- BamlLocalizer.cs
- ToolStripArrowRenderEventArgs.cs
- DataStreams.cs
- RegexRunner.cs
- AppDomainFactory.cs
- newinstructionaction.cs
- GetMemberBinder.cs
- ValueTable.cs
- RawUIStateInputReport.cs
- FixedSOMPageConstructor.cs
- DSACryptoServiceProvider.cs
- XmlSchemaAttribute.cs
- OledbConnectionStringbuilder.cs
- MethodCallExpression.cs
- SafeBitVector32.cs
- CategoryAttribute.cs
- CodeMethodInvokeExpression.cs
- ValidationErrorEventArgs.cs
- PolyBezierSegment.cs
- QuadraticBezierSegment.cs
- Int32Animation.cs
- Unit.cs
- UserControlBuildProvider.cs
- CoreSwitches.cs
- TextCharacters.cs
- ColumnWidthChangingEvent.cs
- ConfigurationStrings.cs
- PropagatorResult.cs
- ArraySortHelper.cs
- MessageContractExporter.cs
- DesignDataSource.cs
- ProcessThread.cs
- AmbiguousMatchException.cs
- XPathAncestorQuery.cs
- RectAnimationClockResource.cs
- CodeAttributeArgument.cs
- Point3D.cs
- HwndHostAutomationPeer.cs
- ConfigViewGenerator.cs
- XmlDomTextWriter.cs
- FixedPageProcessor.cs
- GACMembershipCondition.cs
- FontWeight.cs
- WindowsGraphics.cs
- SchemaManager.cs
- tibetanshape.cs
- RightsManagementEncryptedStream.cs
- XmlSchemaObjectCollection.cs
- InfoCard.cs
- LinearGradientBrush.cs
- XmlSerializerAssemblyAttribute.cs
- ResourceReferenceExpression.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- XmlReflectionMember.cs
- ProjectedSlot.cs
- OrderingExpression.cs
- LiteralTextContainerControlBuilder.cs
- CodeSnippetTypeMember.cs
- SessionStateItemCollection.cs
- AppDomainProtocolHandler.cs
- ComPersistableTypeElementCollection.cs
- ClickablePoint.cs
- ItemContainerGenerator.cs
- DataSourceControlBuilder.cs
- DesignerActionPropertyItem.cs
- NativeMethods.cs
- DependencyPropertyDescriptor.cs
- DataTableMappingCollection.cs
- ListItemConverter.cs
- XamlGridLengthSerializer.cs
- InlineCollection.cs
- ResourceExpression.cs
- HostingEnvironmentSection.cs
- HierarchicalDataBoundControl.cs
- TraceContext.cs
- EventOpcode.cs
- StylusDevice.cs
- DrawListViewItemEventArgs.cs
- DummyDataSource.cs
- SqlClientMetaDataCollectionNames.cs
- HostVisual.cs
- MemberAccessException.cs
- XmlHierarchicalDataSourceView.cs