Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / SweepDirectionValidation.cs / 1305600 / SweepDirectionValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsSweepDirectionValid(object valueObject) { SweepDirection value = (SweepDirection) valueObject; return (value == SweepDirection.Counterclockwise) || (value == SweepDirection.Clockwise); } } } // 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
- EntityWithKeyStrategy.cs
- FlowDocumentPage.cs
- BinaryMessageFormatter.cs
- BuildProvider.cs
- OdbcCommand.cs
- listitem.cs
- AlignmentXValidation.cs
- IResourceProvider.cs
- RowTypePropertyElement.cs
- OracleDataAdapter.cs
- Schema.cs
- EntryWrittenEventArgs.cs
- ProcessHostConfigUtils.cs
- DocumentPaginator.cs
- SqlDelegatedTransaction.cs
- ContainerAction.cs
- MouseOverProperty.cs
- CachedPathData.cs
- GridViewCellAutomationPeer.cs
- DataRowChangeEvent.cs
- DataGridPageChangedEventArgs.cs
- DynamicValidatorEventArgs.cs
- Interlocked.cs
- BrowserPolicyValidator.cs
- CapabilitiesAssignment.cs
- XmlUtil.cs
- NamespaceEmitter.cs
- InfoCardProofToken.cs
- CellConstant.cs
- InternalConfigHost.cs
- TagMapInfo.cs
- CellCreator.cs
- XmlKeywords.cs
- ExtendedProtectionPolicy.cs
- FormattedText.cs
- IsolatedStorageFileStream.cs
- RoutedPropertyChangedEventArgs.cs
- PreApplicationStartMethodAttribute.cs
- ImageDrawing.cs
- FontEmbeddingManager.cs
- RandomDelayQueuedSendsAsyncResult.cs
- TransactionScope.cs
- SrgsRuleRef.cs
- SchemaUtility.cs
- CharConverter.cs
- WorkflowTransactionOptions.cs
- MapPathBasedVirtualPathProvider.cs
- CryptoProvider.cs
- EncoderParameters.cs
- FolderNameEditor.cs
- DefaultWorkflowTransactionService.cs
- Exceptions.cs
- CompilationRelaxations.cs
- GenericTextProperties.cs
- IArgumentProvider.cs
- Token.cs
- XmlSchemaObjectTable.cs
- ServicePointManagerElement.cs
- XamlReader.cs
- NullExtension.cs
- QueueSurrogate.cs
- WebUtil.cs
- SafeNativeMethods.cs
- DynamicDataRoute.cs
- NativeCppClassAttribute.cs
- loginstatus.cs
- StylusPointPropertyInfoDefaults.cs
- SqlClientWrapperSmiStream.cs
- ipaddressinformationcollection.cs
- WS2007HttpBindingElement.cs
- InvalidComObjectException.cs
- Route.cs
- SrgsOneOf.cs
- dataobject.cs
- TrackingParameters.cs
- ProcessInfo.cs
- FloatMinMaxAggregationOperator.cs
- ZoneMembershipCondition.cs
- XmlComment.cs
- SafeNativeMethods.cs
- SystemTcpConnection.cs
- ImplicitInputBrush.cs
- SchemaConstraints.cs
- NotCondition.cs
- Cursors.cs
- ThreadInterruptedException.cs
- ISCIIEncoding.cs
- DesignBindingValueUIHandler.cs
- EntityDataSourceDesigner.cs
- CheckableControlBaseAdapter.cs
- HierarchicalDataBoundControlAdapter.cs
- WorkflowServiceHostFactory.cs
- TextWriterTraceListener.cs
- ADMembershipProvider.cs
- OutputWindow.cs
- SafeProcessHandle.cs
- DtdParser.cs
- MDIClient.cs
- CalculatedColumn.cs
- SuppressMergeCheckAttribute.cs