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
- TransactionManagerProxy.cs
- Hashtable.cs
- SapiRecoInterop.cs
- FullTextBreakpoint.cs
- BufferAllocator.cs
- MasterPage.cs
- DataBinder.cs
- CustomLineCap.cs
- MergeFilterQuery.cs
- EventDrivenDesigner.cs
- DBDataPermissionAttribute.cs
- DataGridViewRowCancelEventArgs.cs
- FormViewAutoFormat.cs
- RuntimeEnvironment.cs
- State.cs
- BindingCollection.cs
- DataGridViewCell.cs
- NonceCache.cs
- MSHTMLHostUtil.cs
- SelectionRange.cs
- NameValueFileSectionHandler.cs
- XmlEnumAttribute.cs
- AuthenticateEventArgs.cs
- AutomationPropertyInfo.cs
- InheritanceContextChangedEventManager.cs
- RNGCryptoServiceProvider.cs
- EntityCommandCompilationException.cs
- BindingBase.cs
- PaintEvent.cs
- SrgsGrammarCompiler.cs
- BitmapEffectInputConnector.cs
- SAPICategories.cs
- AnnotationObservableCollection.cs
- XMLSyntaxException.cs
- XamlStyleSerializer.cs
- PassportPrincipal.cs
- MessageQueuePermissionEntry.cs
- MLangCodePageEncoding.cs
- GC.cs
- TabletDeviceInfo.cs
- SqlCachedBuffer.cs
- PingOptions.cs
- ProfilePropertyMetadata.cs
- EventProperty.cs
- LinqDataSourceUpdateEventArgs.cs
- LabelExpression.cs
- COAUTHINFO.cs
- StylusShape.cs
- BaseValidatorDesigner.cs
- HttpMethodConstraint.cs
- PipelineModuleStepContainer.cs
- VisualCollection.cs
- DataServiceHostFactory.cs
- ClientClassGenerator.cs
- EventsTab.cs
- uribuilder.cs
- ContentAlignmentEditor.cs
- SoapHeaders.cs
- InfocardExtendedInformationCollection.cs
- CornerRadiusConverter.cs
- Membership.cs
- ToolboxDataAttribute.cs
- DmlSqlGenerator.cs
- Int16Animation.cs
- BufferedGraphicsManager.cs
- ObjectSet.cs
- OutOfMemoryException.cs
- XmlSiteMapProvider.cs
- NullableLongMinMaxAggregationOperator.cs
- ContextItemManager.cs
- ApplicationSecurityInfo.cs
- JsonDeserializer.cs
- BypassElementCollection.cs
- WorkflowDefinitionContext.cs
- DriveNotFoundException.cs
- ContainerActivationHelper.cs
- RegexReplacement.cs
- LicenseException.cs
- AssemblyNameProxy.cs
- TimestampInformation.cs
- PathGradientBrush.cs
- MouseButton.cs
- DnsPermission.cs
- DictionaryContent.cs
- DataServiceResponse.cs
- CustomAttribute.cs
- SafeRightsManagementQueryHandle.cs
- DependencyPropertyKind.cs
- ObjectCacheSettings.cs
- PerformanceCountersElement.cs
- WorkflowPersistenceContext.cs
- xml.cs
- XXXOnTypeBuilderInstantiation.cs
- IsolatedStorageException.cs
- Vector3dCollection.cs
- RowToFieldTransformer.cs
- AnnotationComponentManager.cs
- WmpBitmapEncoder.cs
- Mapping.cs
- SafeFileHandle.cs