Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / Statements / PickBranch.cs / 1305376 / PickBranch.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.Statements { using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.Collections; using System.Windows.Markup; [ContentProperty("Action")] public sealed class PickBranch { Collectionvariables; string displayName; public PickBranch() { displayName = "PickBranch"; } public Collection Variables { get { if (this.variables == null) { this.variables = new ValidatingCollection { // disallow null values OnAddValidationCallback = item => { if (item == null) { throw FxTrace.Exception.ArgumentNull("item"); } } }; } return this.variables; } } [DefaultValue(null)] [DependsOn("Variables")] public Activity Trigger { get; set; } [DefaultValue(null)] [DependsOn("Trigger")] public Activity Action { get; set; } // [DefaultValue("PickBranch")] public string DisplayName { get { return this.displayName; } set { this.displayName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaObjectTable.cs
- ObjectReaderCompiler.cs
- FamilyMap.cs
- EnumMemberAttribute.cs
- WebPartVerbsEventArgs.cs
- GetKeyedHashRequest.cs
- ControlBuilder.cs
- SqlInfoMessageEvent.cs
- GridViewUpdateEventArgs.cs
- Parser.cs
- RadioButtonList.cs
- RuleInfoComparer.cs
- CodeTypeReference.cs
- CatalogPartCollection.cs
- SystemMulticastIPAddressInformation.cs
- FormViewDeleteEventArgs.cs
- Encoding.cs
- XmlLoader.cs
- EventToken.cs
- ResourceExpressionBuilder.cs
- BuildProviderCollection.cs
- ScriptRegistrationManager.cs
- FunctionOverloadResolver.cs
- EntityDataSourceWrapperCollection.cs
- DataFormats.cs
- WebBrowserHelper.cs
- ClientData.cs
- ISCIIEncoding.cs
- ScriptControlDescriptor.cs
- PersonalizationProviderHelper.cs
- AutoSizeToolBoxItem.cs
- SoapFault.cs
- DbConnectionOptions.cs
- ScriptingJsonSerializationSection.cs
- UserNameSecurityTokenAuthenticator.cs
- Errors.cs
- FormClosedEvent.cs
- GeneralTransform.cs
- StructuredType.cs
- ArgumentsParser.cs
- ExceptQueryOperator.cs
- VariableExpressionConverter.cs
- TypeUtil.cs
- DesignerActionPanel.cs
- OrderToken.cs
- GradientBrush.cs
- XmlCountingReader.cs
- TextRangeSerialization.cs
- XmlSerializerSection.cs
- XsdDateTime.cs
- DataServiceException.cs
- ToolZone.cs
- LinqDataSourceValidationException.cs
- PropertyTab.cs
- PageWrapper.cs
- WeakHashtable.cs
- figurelengthconverter.cs
- PathSegmentCollection.cs
- ConnectionStringsExpressionEditor.cs
- SizeKeyFrameCollection.cs
- StickyNote.cs
- InvalidChannelBindingException.cs
- Storyboard.cs
- XmlHierarchicalEnumerable.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- EntitySqlQueryCacheEntry.cs
- ProxyWebPartManager.cs
- TreeViewItem.cs
- DetailsViewRowCollection.cs
- IPEndPoint.cs
- AnimationClockResource.cs
- FreeFormDesigner.cs
- HGlobalSafeHandle.cs
- VectorAnimationUsingKeyFrames.cs
- FixedSOMGroup.cs
- Operators.cs
- Binding.cs
- StyleModeStack.cs
- SystemGatewayIPAddressInformation.cs
- MissingMemberException.cs
- altserialization.cs
- WaitForChangedResult.cs
- DataAccessor.cs
- Transform3DGroup.cs
- TokenBasedSetEnumerator.cs
- NativeMethods.cs
- ComponentGuaranteesAttribute.cs
- RouteTable.cs
- PrivilegeNotHeldException.cs
- ListDesigner.cs
- TranslateTransform.cs
- MarshalByValueComponent.cs
- PeerCollaboration.cs
- TreeNodeCollection.cs
- xmlglyphRunInfo.cs
- AddInBase.cs
- ContainerVisual.cs
- DataGridViewRowsAddedEventArgs.cs
- COM2ComponentEditor.cs
- AdjustableArrowCap.cs