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
- SafeEventLogReadHandle.cs
- WebServiceFault.cs
- TreeBuilderXamlTranslator.cs
- ZoomPercentageConverter.cs
- MouseBinding.cs
- OdbcConnectionStringbuilder.cs
- PropertyMetadata.cs
- Serializer.cs
- FontInfo.cs
- StructuralType.cs
- ConfigPathUtility.cs
- ObjectStateEntryDbDataRecord.cs
- Profiler.cs
- StyleCollection.cs
- XhtmlBasicValidationSummaryAdapter.cs
- LightweightCodeGenerator.cs
- PageCatalogPart.cs
- COM2FontConverter.cs
- InkCollectionBehavior.cs
- Point.cs
- SectionRecord.cs
- InputLanguageEventArgs.cs
- CustomCategoryAttribute.cs
- AccessibleObject.cs
- Match.cs
- XsdBuilder.cs
- DataGridCell.cs
- ResourceCodeDomSerializer.cs
- BinaryObjectWriter.cs
- ImageField.cs
- TextServicesCompartmentEventSink.cs
- FontDialog.cs
- ConfigurationLocationCollection.cs
- ConfigurationStrings.cs
- ResourceExpressionBuilder.cs
- TcpWorkerProcess.cs
- UIElementIsland.cs
- DataTableMappingCollection.cs
- HtmlHead.cs
- PopOutPanel.cs
- DataContractSerializerFaultFormatter.cs
- TransactionScope.cs
- ReaderOutput.cs
- IndicShape.cs
- HttpHostedTransportConfiguration.cs
- DataTransferEventArgs.cs
- AsyncInvokeContext.cs
- FileInfo.cs
- Metadata.cs
- RequestSecurityToken.cs
- SubclassTypeValidator.cs
- IisTraceWebEventProvider.cs
- AsyncOperationLifetimeManager.cs
- JulianCalendar.cs
- AttributeCollection.cs
- SqlUserDefinedAggregateAttribute.cs
- MemberAccessException.cs
- ValuePattern.cs
- DescendentsWalkerBase.cs
- nulltextcontainer.cs
- TextFormatterImp.cs
- DataListItemEventArgs.cs
- SecurityTokenAuthenticator.cs
- NativeMethods.cs
- DesignTimeParseData.cs
- DataGridViewComboBoxEditingControl.cs
- JumpItem.cs
- CodeDomSerializationProvider.cs
- ToolStripControlHost.cs
- ConfigurationLockCollection.cs
- Size3D.cs
- ConsoleTraceListener.cs
- DataGridViewDataConnection.cs
- GridViewHeaderRowPresenter.cs
- OperandQuery.cs
- SessionStateModule.cs
- WinEventTracker.cs
- ReplyAdapterChannelListener.cs
- EndPoint.cs
- EdgeProfileValidation.cs
- MetricEntry.cs
- TcpStreams.cs
- Int32Animation.cs
- Model3DGroup.cs
- SwitchExpression.cs
- ArcSegment.cs
- ViewCellSlot.cs
- DataSourceXmlElementAttribute.cs
- NotImplementedException.cs
- ContentTextAutomationPeer.cs
- XmlStringTable.cs
- XmlSchemaAny.cs
- TemplatePagerField.cs
- VisualProxy.cs
- TraceLevelStore.cs
- UIntPtr.cs
- ContentElement.cs
- LinkUtilities.cs
- MdbDataFileEditor.cs
- SendParametersContent.cs