Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / PointCollection.cs / 1 / PointCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Point collection partial class. // // // History: // 11/09/05 : marka - Created // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Media.Media3D; using MS.Internal.PresentationCore; using System; using System.IO; using MS.Internal.Media; namespace System.Windows.Media { public partial class PointCollection { ////// Deserialize this object from BAML /// [FriendAccessAllowed] // Built into Core, also used by Framework. internal static object DeserializeFrom(BinaryReader reader) { // Get the size. uint count = reader.ReadUInt32() ; PointCollection collection = new PointCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Point point = new Point( XamlSerializationHelper.ReadDouble( reader ), XamlSerializationHelper.ReadDouble( reader ) ) ; collection.Add( point ); } return collection ; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Point collection partial class. // // // History: // 11/09/05 : marka - Created // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Media.Media3D; using MS.Internal.PresentationCore; using System; using System.IO; using MS.Internal.Media; namespace System.Windows.Media { public partial class PointCollection { ////// Deserialize this object from BAML /// [FriendAccessAllowed] // Built into Core, also used by Framework. internal static object DeserializeFrom(BinaryReader reader) { // Get the size. uint count = reader.ReadUInt32() ; PointCollection collection = new PointCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Point point = new Point( XamlSerializationHelper.ReadDouble( reader ), XamlSerializationHelper.ReadDouble( reader ) ) ; collection.Add( point ); } return collection ; } } } // 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
- GlyphCache.cs
- WebPartZoneBase.cs
- NavigationCommands.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- TextSelectionHelper.cs
- Stackframe.cs
- IgnoreFileBuildProvider.cs
- XmlStreamNodeWriter.cs
- ResourceDescriptionAttribute.cs
- VerificationAttribute.cs
- SmtpReplyReaderFactory.cs
- ListViewAutomationPeer.cs
- IisTraceWebEventProvider.cs
- AnchoredBlock.cs
- NamespaceDecl.cs
- XmlDataImplementation.cs
- OdbcConnectionStringbuilder.cs
- AddInSegmentDirectoryNotFoundException.cs
- DateTimeParse.cs
- BitmapMetadataEnumerator.cs
- NavigationEventArgs.cs
- DynamicDocumentPaginator.cs
- CodePrimitiveExpression.cs
- LinqDataSourceEditData.cs
- SectionInput.cs
- ObfuscationAttribute.cs
- ScrollBar.cs
- EntityViewGenerationAttribute.cs
- HexParser.cs
- formatstringdialog.cs
- ServiceEndpoint.cs
- DynamicUpdateCommand.cs
- AspNetSynchronizationContext.cs
- IisTraceListener.cs
- Menu.cs
- ClientBuildManager.cs
- ConnectionProviderAttribute.cs
- DataGridLength.cs
- SchemaImporterExtensionsSection.cs
- SimpleMailWebEventProvider.cs
- TableLayoutCellPaintEventArgs.cs
- XmlStreamNodeWriter.cs
- FactoryId.cs
- SessionStateUtil.cs
- DataGridViewRowCollection.cs
- DataGridViewSortCompareEventArgs.cs
- ColumnMapTranslator.cs
- Unit.cs
- TimeZoneNotFoundException.cs
- BitmapScalingModeValidation.cs
- TabItem.cs
- Crypto.cs
- WebPartMovingEventArgs.cs
- FixedDocumentPaginator.cs
- TextDpi.cs
- ImmComposition.cs
- ProtocolViolationException.cs
- ExtensionQuery.cs
- FollowerQueueCreator.cs
- TraceHwndHost.cs
- SelectiveScrollingGrid.cs
- dsa.cs
- NonVisualControlAttribute.cs
- ClockGroup.cs
- XmlLoader.cs
- TableCell.cs
- ClientData.cs
- JsonByteArrayDataContract.cs
- Win32Exception.cs
- TreeNode.cs
- TemplateBindingExtension.cs
- TransformerTypeCollection.cs
- InvocationExpression.cs
- RotateTransform.cs
- SynchronizationScope.cs
- SimplePropertyEntry.cs
- Rijndael.cs
- FactoryId.cs
- PrincipalPermission.cs
- XmlCustomFormatter.cs
- PointUtil.cs
- ListParagraph.cs
- MD5CryptoServiceProvider.cs
- RSAPKCS1SignatureFormatter.cs
- DataBoundControlHelper.cs
- QuaternionKeyFrameCollection.cs
- LayoutUtils.cs
- BaseResourcesBuildProvider.cs
- DbConnectionHelper.cs
- _RegBlobWebProxyDataBuilder.cs
- CustomTypeDescriptor.cs
- ErrorBehavior.cs
- WebServiceParameterData.cs
- ScriptManager.cs
- SchemaMerger.cs
- TableLayoutRowStyleCollection.cs
- HexParser.cs
- RegistryKey.cs
- UnionExpr.cs
- SqlNodeAnnotations.cs