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
- SoapCommonClasses.cs
- ResolveMatchesCD1.cs
- MembershipSection.cs
- FormClosedEvent.cs
- SymbolPair.cs
- UnsafeNativeMethods.cs
- SecurityManager.cs
- ScriptReferenceBase.cs
- FactoryRecord.cs
- DataServiceQueryOfT.cs
- regiisutil.cs
- TraceHwndHost.cs
- HijriCalendar.cs
- TypeUtil.cs
- Bold.cs
- MgmtConfigurationRecord.cs
- Pointer.cs
- XmlEventCache.cs
- Expression.cs
- WebBrowserPermission.cs
- RowBinding.cs
- JsonFormatReaderGenerator.cs
- WaveHeader.cs
- ObjectTag.cs
- UserInitiatedNavigationPermission.cs
- XmlAttributeAttribute.cs
- JoinQueryOperator.cs
- SubpageParaClient.cs
- TextBoxAutomationPeer.cs
- HttpApplicationStateBase.cs
- SHA1Managed.cs
- ArraySortHelper.cs
- BindingSource.cs
- TableItemStyle.cs
- SecurityTokenInclusionMode.cs
- AdCreatedEventArgs.cs
- BindingNavigatorDesigner.cs
- CredentialCache.cs
- DataGridParentRows.cs
- ToolStripContainer.cs
- SingleConverter.cs
- XsltException.cs
- SystemSounds.cs
- WCFModelStrings.Designer.cs
- EventWaitHandle.cs
- AutomationIdentifier.cs
- Attributes.cs
- DataSpaceManager.cs
- SBCSCodePageEncoding.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- printdlgexmarshaler.cs
- XpsTokenContext.cs
- mactripleDES.cs
- SchemaEntity.cs
- PreviewPageInfo.cs
- FastEncoder.cs
- APCustomTypeDescriptor.cs
- DBConcurrencyException.cs
- TcpClientChannel.cs
- ConcurrentBag.cs
- CqlBlock.cs
- OneOfConst.cs
- EntityTypeBase.cs
- RecognizedWordUnit.cs
- AuthenticationModuleElement.cs
- CachingHintValidation.cs
- RemotingAttributes.cs
- PinnedBufferMemoryStream.cs
- DbParameterCollectionHelper.cs
- Invariant.cs
- CompressEmulationStream.cs
- DES.cs
- ToolStripRendererSwitcher.cs
- BitmapEffectInputConnector.cs
- HostProtectionException.cs
- SqlServer2KCompatibilityAnnotation.cs
- EntityKey.cs
- WinFormsComponentEditor.cs
- FontFamilyConverter.cs
- GeneralTransformCollection.cs
- DomainUpDown.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- HuffmanTree.cs
- XmlNodeChangedEventManager.cs
- TdsParserStaticMethods.cs
- BamlVersionHeader.cs
- UndoManager.cs
- ModulesEntry.cs
- RegisteredDisposeScript.cs
- RelatedImageListAttribute.cs
- DataSet.cs
- oledbconnectionstring.cs
- ExpressionConverter.cs
- XpsTokenContext.cs
- EdmFunction.cs
- ISFTagAndGuidCache.cs
- StylusShape.cs
- InstanceData.cs
- QilLoop.cs
- ListSourceHelper.cs