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
- Module.cs
- AbandonedMutexException.cs
- ObjectDataSourceMethodEventArgs.cs
- Types.cs
- MessageEncoderFactory.cs
- SolidBrush.cs
- AdPostCacheSubstitution.cs
- ProjectionPlanCompiler.cs
- ToolStripDropDownClosedEventArgs.cs
- StringReader.cs
- XmlDocumentFragment.cs
- BoolExpression.cs
- BaseTemplatedMobileComponentEditor.cs
- HealthMonitoringSectionHelper.cs
- CorePropertiesFilter.cs
- EntityCommand.cs
- WebPartPersonalization.cs
- FastPropertyAccessor.cs
- StrokeSerializer.cs
- AutomationElement.cs
- CommonXSendMessage.cs
- DbConvert.cs
- TextElementCollection.cs
- InputMethod.cs
- EdmItemCollection.cs
- ToolBar.cs
- XmlArrayItemAttribute.cs
- AudioDeviceOut.cs
- newinstructionaction.cs
- SoapAttributeOverrides.cs
- GenericRootAutomationPeer.cs
- NativeWindow.cs
- MulticastNotSupportedException.cs
- ProfileBuildProvider.cs
- DocumentViewerConstants.cs
- CurrentChangingEventArgs.cs
- KeyPullup.cs
- MessageQueueAccessControlEntry.cs
- NetStream.cs
- FigureParagraph.cs
- TrustSection.cs
- Cursors.cs
- COAUTHIDENTITY.cs
- CLSCompliantAttribute.cs
- FacetValueContainer.cs
- FileNotFoundException.cs
- SqlProviderServices.cs
- ImageAutomationPeer.cs
- SchemaReference.cs
- DbConnectionPoolCounters.cs
- MethodRental.cs
- ZeroOpNode.cs
- VisualTarget.cs
- safemediahandle.cs
- WebEventCodes.cs
- TdsValueSetter.cs
- WebServiceErrorEvent.cs
- DataObjectCopyingEventArgs.cs
- WebHeaderCollection.cs
- PersonalizationAdministration.cs
- SiteMapDataSourceView.cs
- ColorPalette.cs
- HttpStaticObjectsCollectionBase.cs
- Menu.cs
- StylusPlugInCollection.cs
- ChineseLunisolarCalendar.cs
- WebUtil.cs
- COM2ICategorizePropertiesHandler.cs
- OutputScopeManager.cs
- HttpResponseBase.cs
- BrowserDefinitionCollection.cs
- MembershipSection.cs
- WebPartConnectVerb.cs
- ParallelTimeline.cs
- DesignerRegion.cs
- LinkedResource.cs
- SqlConnectionFactory.cs
- IsolatedStorage.cs
- RowUpdatedEventArgs.cs
- PositiveTimeSpanValidator.cs
- CryptoStream.cs
- DifferencingCollection.cs
- ObjectStateManager.cs
- XmlText.cs
- MouseEvent.cs
- PkcsMisc.cs
- _PooledStream.cs
- ArraySubsetEnumerator.cs
- SHA384.cs
- Scheduling.cs
- FormatSelectingMessageInspector.cs
- QEncodedStream.cs
- SemanticAnalyzer.cs
- GridToolTip.cs
- SendSecurityHeaderElement.cs
- PageParser.cs
- CorrelationManager.cs
- BackStopAuthenticationModule.cs
- RegularExpressionValidator.cs
- DataGridViewCellLinkedList.cs