Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / Vector3dCollection.cs / 1 / Vector3dCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Vector3D collection partial class. // // See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 11/03/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.Media3D { public partial class Vector3DCollection { ////// Deserialize this object from BAML binary format. /// [FriendAccessAllowed] // Built into Core, also used by Framework. internal static object DeserializeFrom(BinaryReader reader) { // Get the size. uint count = reader.ReadUInt32() ; Vector3DCollection collection = new Vector3DCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Vector3D point = new Vector3D( XamlSerializationHelper.ReadDouble( reader ), 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
- PresentationSource.cs
- HtmlShim.cs
- XsdBuilder.cs
- EntityClientCacheEntry.cs
- RootBrowserWindowAutomationPeer.cs
- XmlSchemaSimpleContentRestriction.cs
- XmlMemberMapping.cs
- Base64Encoder.cs
- _NTAuthentication.cs
- WebUtility.cs
- TransactionProtocolConverter.cs
- NamespaceList.cs
- AttributeEmitter.cs
- UnmanagedMemoryStream.cs
- LiteralText.cs
- CurrentChangingEventArgs.cs
- Popup.cs
- StrokeCollectionDefaultValueFactory.cs
- SettingsPropertyValueCollection.cs
- TextHidden.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- HtmlHead.cs
- PerformanceCounterPermissionEntry.cs
- ThrowOnMultipleAssignment.cs
- ControlType.cs
- ColorMap.cs
- ApplicationDirectoryMembershipCondition.cs
- ScriptReference.cs
- XmlUnspecifiedAttribute.cs
- Axis.cs
- EntityDataSourceChangingEventArgs.cs
- BuildResult.cs
- RtfControls.cs
- MetadataItemCollectionFactory.cs
- StyleCollection.cs
- XmlSchemaCollection.cs
- ParameterExpression.cs
- _NestedMultipleAsyncResult.cs
- EntityProxyTypeInfo.cs
- DisplayMemberTemplateSelector.cs
- AlgoModule.cs
- CodeCatchClause.cs
- ColorConvertedBitmap.cs
- HtmlTableRowCollection.cs
- NetNamedPipeSecurityMode.cs
- EntityDataSourceWrapperCollection.cs
- Crypto.cs
- ToolStripContainerActionList.cs
- DbConnectionPool.cs
- DataControlFieldCollection.cs
- WebResourceAttribute.cs
- HtmlFormParameterReader.cs
- CompilerCollection.cs
- FunctionParameter.cs
- EncodingTable.cs
- TrustSection.cs
- WebPartManagerInternals.cs
- AffineTransform3D.cs
- FixedElement.cs
- CachedTypeface.cs
- BamlResourceContent.cs
- SystemIPGlobalStatistics.cs
- WebPartHeaderCloseVerb.cs
- CacheEntry.cs
- OleDbMetaDataFactory.cs
- InheritanceContextChangedEventManager.cs
- ApplicationException.cs
- DictationGrammar.cs
- AttributedMetaModel.cs
- CounterNameConverter.cs
- CompositeClientFormatter.cs
- DataRelationCollection.cs
- SqlBulkCopyColumnMappingCollection.cs
- PtsPage.cs
- UrlPath.cs
- CqlLexer.cs
- TreeViewItemAutomationPeer.cs
- DataServiceEntityAttribute.cs
- ResourcesChangeInfo.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- CacheAxisQuery.cs
- MyContact.cs
- BaseParaClient.cs
- CompiledAction.cs
- DrawingContextWalker.cs
- UserPreferenceChangingEventArgs.cs
- HandleTable.cs
- LogWriteRestartAreaAsyncResult.cs
- Compiler.cs
- TreeViewCancelEvent.cs
- RadioButton.cs
- FontStyle.cs
- ISFTagAndGuidCache.cs
- NonParentingControl.cs
- FileChangesMonitor.cs
- MDIClient.cs
- Rect.cs
- TextRangeSerialization.cs
- AutomationAttributeInfo.cs
- SessionIDManager.cs