Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / ResolvedKeyFrameEntry.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SaveFileDialog.cs
- Preprocessor.cs
- MimeParameters.cs
- TransportSecurityProtocolFactory.cs
- FillBehavior.cs
- SpellerError.cs
- SqlUDTStorage.cs
- StructuredProperty.cs
- BitmapData.cs
- GroupItem.cs
- CellIdBoolean.cs
- BinaryConverter.cs
- XmlAttributeCollection.cs
- TdsEnums.cs
- Point3DCollectionConverter.cs
- DataGridColumnHeaderAutomationPeer.cs
- DocumentGridPage.cs
- TransportContext.cs
- DropTarget.cs
- ObjectSecurityT.cs
- LinearGradientBrush.cs
- SimpleTextLine.cs
- SiteMap.cs
- ElementHost.cs
- StructuralCache.cs
- DecimalStorage.cs
- Transform3DGroup.cs
- SqlPersonalizationProvider.cs
- BinaryReader.cs
- RecommendedAsConfigurableAttribute.cs
- ACE.cs
- AuthenticationService.cs
- BasicCellRelation.cs
- FixedSOMGroup.cs
- LastQueryOperator.cs
- HttpConfigurationContext.cs
- ColumnReorderedEventArgs.cs
- JavascriptCallbackResponseProperty.cs
- XamlReaderHelper.cs
- RubberbandSelector.cs
- StreamingContext.cs
- RectangleHotSpot.cs
- DataSourceCacheDurationConverter.cs
- TypeDescriptor.cs
- ComponentResourceManager.cs
- CommonEndpointBehaviorElement.cs
- TickBar.cs
- Timer.cs
- KeyedHashAlgorithm.cs
- ZipIOExtraFieldPaddingElement.cs
- ModifierKeysValueSerializer.cs
- CompiledQuery.cs
- JpegBitmapDecoder.cs
- X509AsymmetricSecurityKey.cs
- SelectionPattern.cs
- HitTestDrawingContextWalker.cs
- DataTablePropertyDescriptor.cs
- ListParaClient.cs
- SystemIPAddressInformation.cs
- CollaborationHelperFunctions.cs
- MessageProperties.cs
- XamlDesignerSerializationManager.cs
- DictionaryContent.cs
- AccessText.cs
- CounterCreationDataCollection.cs
- StringHelper.cs
- JsonWriter.cs
- SystemParameters.cs
- DataSourceView.cs
- CorrelationInitializer.cs
- BridgeDataRecord.cs
- PersonalizationStateQuery.cs
- EntryIndex.cs
- CodeMethodReturnStatement.cs
- HttpPostLocalhostServerProtocol.cs
- PropertyTabAttribute.cs
- DebugInfoExpression.cs
- FixedSOMTableRow.cs
- NamedObject.cs
- CultureMapper.cs
- DbDataRecord.cs
- DBNull.cs
- SafeNativeMethods.cs
- TCPListener.cs
- Transform3D.cs
- BulletedListDesigner.cs
- ComponentEditorPage.cs
- StrokeIntersection.cs
- LinkGrep.cs
- CultureSpecificStringDictionary.cs
- TabControl.cs
- NeutralResourcesLanguageAttribute.cs
- StaticContext.cs
- WorkflowDesigner.cs
- TextBounds.cs
- DataControlPagerLinkButton.cs
- FactoryGenerator.cs
- ColorAnimationUsingKeyFrames.cs
- VarInfo.cs
- DependsOnAttribute.cs