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
- NumberFormatInfo.cs
- ConstraintConverter.cs
- ExpressionBuilderCollection.cs
- DataGridCaption.cs
- MediaContext.cs
- XsltSettings.cs
- PrinterResolution.cs
- CodeSnippetTypeMember.cs
- PeerPresenceInfo.cs
- LinqDataSourceValidationException.cs
- GeometryGroup.cs
- LinqDataSourceInsertEventArgs.cs
- FixedPosition.cs
- TableCell.cs
- BufferedWebEventProvider.cs
- MouseActionValueSerializer.cs
- _SslStream.cs
- DataGridViewImageColumn.cs
- WmlListAdapter.cs
- Part.cs
- Authorization.cs
- SiteMap.cs
- RecordBuilder.cs
- FontInfo.cs
- LinqToSqlWrapper.cs
- XmlNullResolver.cs
- Expressions.cs
- LinkedResource.cs
- MessageDecoder.cs
- DesignUtil.cs
- HandleExceptionArgs.cs
- PropertyDescriptorCollection.cs
- UnsafeNativeMethods.cs
- Dispatcher.cs
- SHA512.cs
- PackWebRequest.cs
- ExeConfigurationFileMap.cs
- XmlSerializerNamespaces.cs
- ListItemCollection.cs
- _SslSessionsCache.cs
- ConfigurationValue.cs
- CodeSnippetStatement.cs
- WarningException.cs
- DataGridViewRowPrePaintEventArgs.cs
- FontStretchConverter.cs
- FunctionDescription.cs
- Span.cs
- DataBoundControlAdapter.cs
- PartialList.cs
- ValidationSummary.cs
- TextModifierScope.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ProcessHost.cs
- NavigationProgressEventArgs.cs
- ClientRolePrincipal.cs
- PerfCounterSection.cs
- UpdateException.cs
- TextRangeProviderWrapper.cs
- FunctionNode.cs
- NameObjectCollectionBase.cs
- MethodBody.cs
- UniqueSet.cs
- UserControl.cs
- DBDataPermissionAttribute.cs
- FacetDescription.cs
- MetadataItemEmitter.cs
- SafeThemeHandle.cs
- RIPEMD160Managed.cs
- XmlMemberMapping.cs
- SoapSchemaImporter.cs
- HttpResponseInternalWrapper.cs
- PropertyReferenceSerializer.cs
- RolePrincipal.cs
- Thread.cs
- IRCollection.cs
- DataViewManager.cs
- TransactedReceiveScope.cs
- ExpanderAutomationPeer.cs
- SafeProcessHandle.cs
- RequestDescription.cs
- ScriptModule.cs
- WebBrowserNavigatingEventHandler.cs
- TimerExtension.cs
- CommonRemoteMemoryBlock.cs
- NumberFormatInfo.cs
- XPathScanner.cs
- StyleBamlTreeBuilder.cs
- DataColumnCollection.cs
- QueryStoreStatusRequest.cs
- VirtualizingPanel.cs
- DataGrid.cs
- Group.cs
- HostedAspNetEnvironment.cs
- BoolLiteral.cs
- UserControl.cs
- InputDevice.cs
- SchemaTableColumn.cs
- EnvelopedPkcs7.cs
- FixedSOMImage.cs
- ActiveXHost.cs