Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / PointCollection.cs / 1 / PointCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Point collection partial class. // // // History: // 11/09/05 : [....] - 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
- DependencyPropertyKey.cs
- MetadataArtifactLoaderFile.cs
- HttpCapabilitiesBase.cs
- ViewBase.cs
- MultipartContentParser.cs
- HtmlTernaryTree.cs
- TypeReference.cs
- ReadOnlyDictionary.cs
- SerializerWriterEventHandlers.cs
- PageClientProxyGenerator.cs
- DbDataAdapter.cs
- DependencyObjectProvider.cs
- FixedSOMElement.cs
- MenuItemBindingCollection.cs
- SchemaImporter.cs
- ExitEventArgs.cs
- TimeStampChecker.cs
- ValidateNames.cs
- DataGridColumnStyleMappingNameEditor.cs
- ColumnReorderedEventArgs.cs
- FtpWebResponse.cs
- HostVisual.cs
- OperatorExpressions.cs
- VScrollProperties.cs
- EllipseGeometry.cs
- CodeDirectionExpression.cs
- SoapAttributeOverrides.cs
- HelpEvent.cs
- SortedSetDebugView.cs
- precedingsibling.cs
- SerializerDescriptor.cs
- SwitchAttribute.cs
- WpfSharedXamlSchemaContext.cs
- RuleSetDialog.cs
- CollectionConverter.cs
- JsonDataContract.cs
- ProtocolsConfigurationHandler.cs
- CallbackValidator.cs
- XmlWriterSettings.cs
- GB18030Encoding.cs
- FamilyTypeface.cs
- WpfSharedXamlSchemaContext.cs
- XpsImage.cs
- MenuTracker.cs
- Logging.cs
- ActivityPreviewDesigner.cs
- InternalConfigSettingsFactory.cs
- NamespaceQuery.cs
- Int32RectConverter.cs
- DataConnectionHelper.cs
- OdbcUtils.cs
- DisposableCollectionWrapper.cs
- ProxyWebPart.cs
- PolyQuadraticBezierSegment.cs
- WebBrowserProgressChangedEventHandler.cs
- DataListItemEventArgs.cs
- DocumentXmlWriter.cs
- XmlNamespaceDeclarationsAttribute.cs
- JumpItem.cs
- WpfKnownMember.cs
- Comparer.cs
- DataRelation.cs
- NegationPusher.cs
- PropertyToken.cs
- CodeDOMProvider.cs
- LocalIdKeyIdentifierClause.cs
- RegexCompiler.cs
- MultiTargetingUtil.cs
- CustomPopupPlacement.cs
- SiteMapDesignerDataSourceView.cs
- Evidence.cs
- DoubleCollectionConverter.cs
- SystemWebSectionGroup.cs
- Property.cs
- CodeNamespaceCollection.cs
- StylusEditingBehavior.cs
- XmlCodeExporter.cs
- ServiceMemoryGates.cs
- RuntimeConfigLKG.cs
- GridItemCollection.cs
- DynamicDiscoSearcher.cs
- DataSourceControlBuilder.cs
- complextypematerializer.cs
- DbParameterCollection.cs
- _Semaphore.cs
- MissingMethodException.cs
- TCPClient.cs
- BitmapEffectvisualstate.cs
- LabelAutomationPeer.cs
- FilterableAttribute.cs
- Constant.cs
- UntrustedRecipientException.cs
- SrgsItemList.cs
- AppSettingsExpressionBuilder.cs
- __ComObject.cs
- CqlQuery.cs
- SqlRemoveConstantOrderBy.cs
- DPAPIProtectedConfigurationProvider.cs
- ColumnMapCopier.cs
- EDesignUtil.cs