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
- DbMetaDataCollectionNames.cs
- securitycriticaldataClass.cs
- ScriptReferenceEventArgs.cs
- FontSourceCollection.cs
- ArgumentOutOfRangeException.cs
- BindingListCollectionView.cs
- DataFormats.cs
- DefaultObjectMappingItemCollection.cs
- EntityClassGenerator.cs
- SwitchLevelAttribute.cs
- RightsManagementEncryptedStream.cs
- SByteStorage.cs
- OracleNumber.cs
- ToolStripItemClickedEventArgs.cs
- RegionInfo.cs
- ChangeToolStripParentVerb.cs
- CodeLabeledStatement.cs
- TableLayoutSettingsTypeConverter.cs
- Path.cs
- SamlConstants.cs
- Model3D.cs
- __Filters.cs
- DecimalConstantAttribute.cs
- MethodBody.cs
- EncoderReplacementFallback.cs
- ComboBoxAutomationPeer.cs
- TextTreeTextBlock.cs
- SourceItem.cs
- ClientBuildManagerCallback.cs
- LineServicesCallbacks.cs
- AttributeProviderAttribute.cs
- ValueUtilsSmi.cs
- OleDbRowUpdatedEvent.cs
- HierarchicalDataSourceControl.cs
- NoneExcludedImageIndexConverter.cs
- ContractHandle.cs
- MultipleViewPattern.cs
- EndpointNameMessageFilter.cs
- WindowsRegion.cs
- AutomationAttributeInfo.cs
- WrapPanel.cs
- CodeAttributeDeclarationCollection.cs
- EmptyCollection.cs
- UnderstoodHeaders.cs
- ValidationErrorCollection.cs
- HostSecurityManager.cs
- Localizer.cs
- HttpSessionStateWrapper.cs
- ProfessionalColorTable.cs
- AnimationStorage.cs
- WebPartsSection.cs
- QuaternionValueSerializer.cs
- FormattedTextSymbols.cs
- PackWebRequest.cs
- PtsHelper.cs
- DefaultValueMapping.cs
- httpserverutility.cs
- DbConnectionStringBuilder.cs
- EntityTypeEmitter.cs
- ServiceModelExtensionElement.cs
- VectorKeyFrameCollection.cs
- HttpFileCollection.cs
- AutomationPropertyInfo.cs
- Point3DAnimationBase.cs
- Psha1DerivedKeyGenerator.cs
- MetadataCollection.cs
- TemplateManager.cs
- DataGridViewCellEventArgs.cs
- UriTemplateMatch.cs
- ConstructorBuilder.cs
- ProcessHostConfigUtils.cs
- ExpanderAutomationPeer.cs
- SafeFindHandle.cs
- WindowsListBox.cs
- UpdateCommand.cs
- MobileListItem.cs
- XmlUnspecifiedAttribute.cs
- TextTreeInsertUndoUnit.cs
- HttpDictionary.cs
- PropertyPathWorker.cs
- DataViewManagerListItemTypeDescriptor.cs
- GridViewPageEventArgs.cs
- XmlSchemaObject.cs
- ConfigurationStrings.cs
- ProfileParameter.cs
- _HTTPDateParse.cs
- AssemblyHash.cs
- RootBrowserWindowAutomationPeer.cs
- WpfXamlLoader.cs
- ErrorFormatterPage.cs
- VariableBinder.cs
- XmlCharacterData.cs
- _AutoWebProxyScriptEngine.cs
- IsolatedStorageFilePermission.cs
- Mapping.cs
- Directory.cs
- DashStyle.cs
- DataGridCell.cs
- MsmqBindingElementBase.cs
- ImageSourceConverter.cs