Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- SafeMILHandle.cs
- ExpandCollapseProviderWrapper.cs
- AssemblyHash.cs
- Error.cs
- _CacheStreams.cs
- EnumValidator.cs
- SamlSecurityToken.cs
- ParserExtension.cs
- GcHandle.cs
- WebPartCollection.cs
- SimpleType.cs
- XmlSchemaObject.cs
- SerializationInfo.cs
- SQLMoneyStorage.cs
- EventBuilder.cs
- UserControlBuildProvider.cs
- PropertyNames.cs
- SimpleTypeResolver.cs
- AsymmetricAlgorithm.cs
- FlagPanel.cs
- WebPartTransformerAttribute.cs
- Attributes.cs
- EditorZoneBase.cs
- RtfToXamlReader.cs
- FunctionParameter.cs
- TableStyle.cs
- WebPartDisplayModeCancelEventArgs.cs
- ScrollEvent.cs
- DictionaryEntry.cs
- Internal.cs
- DesignerEditorPartChrome.cs
- VectorConverter.cs
- SqlDependencyUtils.cs
- Privilege.cs
- BatchParser.cs
- SizeIndependentAnimationStorage.cs
- ColumnWidthChangedEvent.cs
- CodeMemberProperty.cs
- RIPEMD160Managed.cs
- UIElementParaClient.cs
- FrameworkTemplate.cs
- DataServiceEntityAttribute.cs
- ScriptingSectionGroup.cs
- DoubleAnimation.cs
- ContentType.cs
- DelegatingTypeDescriptionProvider.cs
- AddInToken.cs
- QueryAsyncResult.cs
- BitmapEffectState.cs
- ReadOnlyDataSourceView.cs
- ParallelTimeline.cs
- SafeFreeMibTable.cs
- ResourceAssociationType.cs
- DrawTreeNodeEventArgs.cs
- CompiledIdentityConstraint.cs
- TreeView.cs
- RowUpdatingEventArgs.cs
- MissingMethodException.cs
- SaveCardRequest.cs
- Endpoint.cs
- DataGridHelper.cs
- NotCondition.cs
- DbDataRecord.cs
- HttpHandlerAction.cs
- SmiEventSink_Default.cs
- WindowsListBox.cs
- XmlCharCheckingWriter.cs
- EventRoute.cs
- ConnectionPoint.cs
- DataGridItem.cs
- BaseTemplateBuildProvider.cs
- SharedDp.cs
- _KerberosClient.cs
- OverflowException.cs
- Matrix3DConverter.cs
- SpecialNameAttribute.cs
- ImageMetadata.cs
- HopperCache.cs
- XmlSerializerFactory.cs
- DesigntimeLicenseContextSerializer.cs
- safesecurityhelperavalon.cs
- _NtlmClient.cs
- FontSourceCollection.cs
- SchemaObjectWriter.cs
- EntityDesignerBuildProvider.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- EntitySetBaseCollection.cs
- VarRefManager.cs
- Geometry.cs
- InputLanguage.cs
- FactoryRecord.cs
- DataColumnMappingCollection.cs
- SerializationInfoEnumerator.cs
- InputBinder.cs
- PrinterSettings.cs
- RawStylusInputCustomData.cs
- TargetException.cs
- StringWriter.cs
- ImmutableObjectAttribute.cs
- PenContexts.cs