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
- SessionIDManager.cs
- ExtendedPropertyInfo.cs
- CodeIdentifier.cs
- SynchronizationContext.cs
- DomainConstraint.cs
- FixedTextContainer.cs
- TextBounds.cs
- NavigateEvent.cs
- CommandHelper.cs
- BufferModesCollection.cs
- SettingsPropertyNotFoundException.cs
- MustUnderstandSoapException.cs
- PkcsMisc.cs
- RegisteredDisposeScript.cs
- basevalidator.cs
- QueryOutputWriter.cs
- ProtocolsConfiguration.cs
- IpcManager.cs
- SiteMapProvider.cs
- FontUnit.cs
- NetworkAddressChange.cs
- ProgressChangedEventArgs.cs
- IDReferencePropertyAttribute.cs
- Walker.cs
- Cursors.cs
- XmlProcessingInstruction.cs
- CompleteWizardStep.cs
- TextDecorations.cs
- InfiniteIntConverter.cs
- PassportAuthenticationEventArgs.cs
- Parameter.cs
- DbReferenceCollection.cs
- IProvider.cs
- ConfigurationErrorsException.cs
- TextModifierScope.cs
- ListMarkerLine.cs
- BamlTreeMap.cs
- UserControlBuildProvider.cs
- IntegerCollectionEditor.cs
- AsyncDataRequest.cs
- EncoderBestFitFallback.cs
- TransactionChannelFactory.cs
- _ConnectStream.cs
- BrowserCapabilitiesCodeGenerator.cs
- TextServicesCompartmentEventSink.cs
- PositiveTimeSpanValidator.cs
- PolicyException.cs
- GeometryCollection.cs
- Lookup.cs
- RetrieveVirtualItemEventArgs.cs
- ResourceReader.cs
- DataListCommandEventArgs.cs
- GlobalEventManager.cs
- ControlLocalizer.cs
- InkSerializer.cs
- IdentityModelDictionary.cs
- MDIClient.cs
- SqlUserDefinedTypeAttribute.cs
- FixedTextView.cs
- DataTablePropertyDescriptor.cs
- ImageButton.cs
- ProviderConnectionPointCollection.cs
- SequentialWorkflowRootDesigner.cs
- DataGrid.cs
- DefaultObjectMappingItemCollection.cs
- MetadataItem_Static.cs
- ExplicitDiscriminatorMap.cs
- TypeBuilderInstantiation.cs
- KeyFrames.cs
- InkCanvasAutomationPeer.cs
- AuthorizationSection.cs
- LinqDataSourceDisposeEventArgs.cs
- WindowPatternIdentifiers.cs
- MSAANativeProvider.cs
- PolyLineSegment.cs
- InitializerFacet.cs
- SystemGatewayIPAddressInformation.cs
- BypassElement.cs
- MethodBuilderInstantiation.cs
- RegisteredScript.cs
- ProviderUtil.cs
- ProviderUtil.cs
- Vector.cs
- Propagator.ExtentPlaceholderCreator.cs
- sqlcontext.cs
- ping.cs
- ComponentResourceKeyConverter.cs
- NumericExpr.cs
- CLSCompliantAttribute.cs
- EntityTemplateFactory.cs
- ArglessEventHandlerProxy.cs
- ExpressionVisitorHelpers.cs
- PrintingPermission.cs
- LayeredChannelFactory.cs
- CacheSection.cs
- Shape.cs
- X509Certificate2.cs
- LingerOption.cs
- Utility.cs
- DataViewSettingCollection.cs