Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / PointCollection.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OperationCanceledException.cs
- SoapObjectInfo.cs
- ObjectDataSourceDisposingEventArgs.cs
- ReturnEventArgs.cs
- PropertyStore.cs
- HandlerFactoryCache.cs
- ConnectionManagementSection.cs
- DataPagerFieldCollection.cs
- ScriptBehaviorDescriptor.cs
- IPHostEntry.cs
- MsmqHostedTransportManager.cs
- DataGridViewDataConnection.cs
- ToggleButton.cs
- SecurityState.cs
- ObjectDataSourceMethodEventArgs.cs
- ArraySubsetEnumerator.cs
- Compiler.cs
- _ContextAwareResult.cs
- BmpBitmapDecoder.cs
- SafeCryptoHandles.cs
- CheckBox.cs
- TargetConverter.cs
- Translator.cs
- DataPointer.cs
- ToolStripComboBox.cs
- MSAAWinEventWrap.cs
- Win32Native.cs
- CommentEmitter.cs
- TileBrush.cs
- DocumentSequenceHighlightLayer.cs
- GridEntry.cs
- PeerToPeerException.cs
- XAMLParseException.cs
- ThreadAbortException.cs
- ThemeDirectoryCompiler.cs
- BindToObject.cs
- Request.cs
- CounterCreationDataConverter.cs
- NumericUpDown.cs
- _TLSstream.cs
- ShutDownListener.cs
- BamlLocalizableResource.cs
- EndGetFileNameFromUserRequest.cs
- DataControlImageButton.cs
- WebPartManager.cs
- CacheMode.cs
- _OSSOCK.cs
- SchemaObjectWriter.cs
- webclient.cs
- TransactionException.cs
- ModuleBuilder.cs
- printdlgexmarshaler.cs
- KeyedHashAlgorithm.cs
- CapabilitiesState.cs
- ConfigXmlSignificantWhitespace.cs
- DefaultIfEmptyQueryOperator.cs
- CustomAttribute.cs
- EntityContainerAssociationSet.cs
- TextureBrush.cs
- ZipIOExtraFieldPaddingElement.cs
- FieldBuilder.cs
- SQLSingleStorage.cs
- WebConfigurationHost.cs
- safelink.cs
- ColorMatrix.cs
- FocusChangedEventArgs.cs
- ErrorEventArgs.cs
- ContractComponent.cs
- GC.cs
- ClientBuildManagerCallback.cs
- PolicyException.cs
- Section.cs
- GestureRecognitionResult.cs
- Timer.cs
- DataGridViewDesigner.cs
- FormViewUpdateEventArgs.cs
- HtmlInputHidden.cs
- FrameworkObject.cs
- SecurityTokenSpecification.cs
- RefreshEventArgs.cs
- LogEntrySerializationException.cs
- SoapSchemaImporter.cs
- VirtualizingStackPanel.cs
- Contracts.cs
- RequestCache.cs
- UniqueEventHelper.cs
- DesignerTransactionCloseEvent.cs
- ProcessRequestArgs.cs
- IArgumentProvider.cs
- CheckBoxList.cs
- GeometryValueSerializer.cs
- XamlFilter.cs
- DownloadProgressEventArgs.cs
- CalendarDataBindingHandler.cs
- StorageScalarPropertyMapping.cs
- X509ChainPolicy.cs
- SqlClientFactory.cs
- Transform.cs
- SrgsSemanticInterpretationTag.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs