Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- CurrencyWrapper.cs
- propertytag.cs
- ObjectListFieldsPage.cs
- UpdateCommandGenerator.cs
- CollectionChangedEventManager.cs
- CompilerResults.cs
- StringToken.cs
- Repeater.cs
- CodeFieldReferenceExpression.cs
- TransformValueSerializer.cs
- SqlExpressionNullability.cs
- ServiceNotStartedException.cs
- Win32.cs
- ToolboxItemLoader.cs
- DesignerListAdapter.cs
- SspiSecurityTokenParameters.cs
- WebRequestModuleElement.cs
- GridPatternIdentifiers.cs
- CategoryGridEntry.cs
- FileNameEditor.cs
- MdiWindowListStrip.cs
- SafeNativeHandle.cs
- NestedContainer.cs
- DiscoveryClientDocuments.cs
- MDIControlStrip.cs
- UIAgentAsyncEndRequest.cs
- XmlNodeReader.cs
- SecurityAccessDeniedException.cs
- EraserBehavior.cs
- InternalConfigEventArgs.cs
- BufferedGraphicsContext.cs
- ActivationServices.cs
- XMLSyntaxException.cs
- CompiledXpathExpr.cs
- BitmapDownload.cs
- ConvertEvent.cs
- ParameterCollection.cs
- DataErrorValidationRule.cs
- StorageModelBuildProvider.cs
- SerializationInfo.cs
- LinkedResource.cs
- SynthesizerStateChangedEventArgs.cs
- NumberFormatter.cs
- ApplicationException.cs
- CodeTypeConstructor.cs
- UnaryNode.cs
- SQLDoubleStorage.cs
- ImageMap.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ThreadExceptionDialog.cs
- CqlBlock.cs
- BStrWrapper.cs
- RIPEMD160Managed.cs
- Clause.cs
- TextRenderer.cs
- WebPartCatalogAddVerb.cs
- PageContentAsyncResult.cs
- CacheAxisQuery.cs
- CustomErrorsSection.cs
- ServiceOperation.cs
- CodeIterationStatement.cs
- EmptyEnumerable.cs
- StagingAreaInputItem.cs
- NTAccount.cs
- DynamicQueryableWrapper.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- EntityTypeEmitter.cs
- SqlDataReaderSmi.cs
- ResourcesBuildProvider.cs
- BuildManager.cs
- ClusterRegistryConfigurationProvider.cs
- AdornerLayer.cs
- SingleKeyFrameCollection.cs
- GeometryDrawing.cs
- ShaderRenderModeValidation.cs
- XPathDocumentBuilder.cs
- CustomAttribute.cs
- ClaimTypeElement.cs
- RawStylusActions.cs
- RegisterResponseInfo.cs
- ProfileEventArgs.cs
- DataGridToolTip.cs
- baseaxisquery.cs
- ContractHandle.cs
- SafeNativeMethodsCLR.cs
- RemoteWebConfigurationHostServer.cs
- QueryCacheEntry.cs
- XmlChildNodes.cs
- ReadOnlyCollectionBuilder.cs
- FormViewUpdatedEventArgs.cs
- KnownIds.cs
- GroupItemAutomationPeer.cs
- LabelEditEvent.cs
- ConnectionPoint.cs
- CursorInteropHelper.cs
- Utility.cs
- BasePattern.cs
- XmlHierarchicalEnumerable.cs
- StrokeCollectionDefaultValueFactory.cs
- WebPartCancelEventArgs.cs