Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / Animation / ResolvedKeyFrameEntry.cs / 1 / ResolvedKeyFrameEntry.cs
//------------------------------------------------------------------------------ // Microsoft Windows Client Platform // Copyright (c) Microsoft Corporation // // File: ResolvedKeyFrameEntry.cs //----------------------------------------------------------------------------- namespace System.Windows.Media.Animation { internal struct ResolvedKeyFrameEntry : IComparable { internal Int32 _originalKeyFrameIndex; internal TimeSpan _resolvedKeyTime; public Int32 CompareTo(object other) { ResolvedKeyFrameEntry otherEntry = (ResolvedKeyFrameEntry)other; if (otherEntry._resolvedKeyTime > _resolvedKeyTime) { return -1; } else if (otherEntry._resolvedKeyTime < _resolvedKeyTime) { return 1; } else { if (otherEntry._originalKeyFrameIndex > _originalKeyFrameIndex) { return -1; } else if (otherEntry._originalKeyFrameIndex < _originalKeyFrameIndex) { return 1; } else { return 0; } } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Microsoft Windows Client Platform // Copyright (c) Microsoft Corporation // // File: ResolvedKeyFrameEntry.cs //----------------------------------------------------------------------------- namespace System.Windows.Media.Animation { internal struct ResolvedKeyFrameEntry : IComparable { internal Int32 _originalKeyFrameIndex; internal TimeSpan _resolvedKeyTime; public Int32 CompareTo(object other) { ResolvedKeyFrameEntry otherEntry = (ResolvedKeyFrameEntry)other; if (otherEntry._resolvedKeyTime > _resolvedKeyTime) { return -1; } else if (otherEntry._resolvedKeyTime < _resolvedKeyTime) { return 1; } else { if (otherEntry._originalKeyFrameIndex > _originalKeyFrameIndex) { return -1; } else if (otherEntry._originalKeyFrameIndex < _originalKeyFrameIndex) { return 1; } else { return 0; } } } } } // 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
- ConstraintCollection.cs
- FormView.cs
- Separator.cs
- HttpCapabilitiesBase.cs
- SecurityElement.cs
- EventLogPermissionAttribute.cs
- BufferAllocator.cs
- MexServiceChannelBuilder.cs
- AuthorizationContext.cs
- DataServiceProcessingPipeline.cs
- ValueProviderWrapper.cs
- AuthenticationManager.cs
- RouteValueDictionary.cs
- EdmScalarPropertyAttribute.cs
- InheritanceContextHelper.cs
- SecurityPolicyVersion.cs
- ToolBarPanel.cs
- XmlDocumentSurrogate.cs
- TypeUnloadedException.cs
- ResolveNameEventArgs.cs
- SectionVisual.cs
- MessagePropertyVariants.cs
- DoubleConverter.cs
- XMLDiffLoader.cs
- PropertyPath.cs
- RectValueSerializer.cs
- ExpandedWrapper.cs
- COAUTHIDENTITY.cs
- ResXFileRef.cs
- SHA256Managed.cs
- InOutArgument.cs
- DataSourceView.cs
- PropertyManager.cs
- ScrollData.cs
- BrowserInteropHelper.cs
- PathFigureCollection.cs
- Single.cs
- DataGridItem.cs
- CustomSignedXml.cs
- InvalidAsynchronousStateException.cs
- CancellableEnumerable.cs
- SudsParser.cs
- PageCatalogPartDesigner.cs
- SapiGrammar.cs
- MetafileHeader.cs
- Visual3D.cs
- XamlBrushSerializer.cs
- XPathItem.cs
- DynamicValueConverter.cs
- DataGridViewRowHeaderCell.cs
- CleanUpVirtualizedItemEventArgs.cs
- References.cs
- SafeWaitHandle.cs
- SelectionGlyphBase.cs
- JsonQNameDataContract.cs
- WindowsAuthenticationModule.cs
- NameValuePair.cs
- EventProxy.cs
- log.cs
- ManipulationCompletedEventArgs.cs
- ToolBar.cs
- WebPartConnectVerb.cs
- NameScopePropertyAttribute.cs
- EntityModelSchemaGenerator.cs
- ConfigurationLocation.cs
- BitmapEffectInputData.cs
- TextCharacters.cs
- TabControlToolboxItem.cs
- UriTemplateClientFormatter.cs
- ReturnEventArgs.cs
- DataSetViewSchema.cs
- TemplateBuilder.cs
- ScriptHandlerFactory.cs
- PathNode.cs
- FormViewUpdatedEventArgs.cs
- SoapHeaderAttribute.cs
- GraphicsContainer.cs
- DocumentApplicationJournalEntryEventArgs.cs
- ImageConverter.cs
- MimeMapping.cs
- ISAPIApplicationHost.cs
- RangeContentEnumerator.cs
- CounterSet.cs
- RectangleF.cs
- Panel.cs
- CodePageUtils.cs
- AgileSafeNativeMemoryHandle.cs
- DataTablePropertyDescriptor.cs
- DocumentPageTextView.cs
- FontStretch.cs
- HashRepartitionStream.cs
- SqlFileStream.cs
- TracePayload.cs
- ImageClickEventArgs.cs
- ObjectMemberMapping.cs
- DataColumnMappingCollection.cs
- ClockController.cs
- XslVisitor.cs
- TextTreeUndo.cs
- DesignerActionVerbList.cs