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
- RequestCacheManager.cs
- ReadOnlyDataSource.cs
- MinimizableAttributeTypeConverter.cs
- PolicyLevel.cs
- Adorner.cs
- TextControl.cs
- MeasureItemEvent.cs
- RepeatEnumerable.cs
- Point.cs
- XmlSchemaComplexContent.cs
- Base64Stream.cs
- SafeIUnknown.cs
- DPAPIProtectedConfigurationProvider.cs
- AttachInfo.cs
- InputMethodStateChangeEventArgs.cs
- SkipStoryboardToFill.cs
- shaperfactory.cs
- PageThemeBuildProvider.cs
- XmlSchemaAll.cs
- SettingsAttributes.cs
- XmlILTrace.cs
- ByteConverter.cs
- GeometryCollection.cs
- PageAdapter.cs
- Internal.cs
- WebBrowserNavigatedEventHandler.cs
- PrincipalPermission.cs
- DataGridRowDetailsEventArgs.cs
- EntityFunctions.cs
- PaperSize.cs
- FragmentQueryKB.cs
- DataServiceQueryProvider.cs
- TabControlEvent.cs
- WpfWebRequestHelper.cs
- BitmapEffectCollection.cs
- TypeListConverter.cs
- ToolStripContentPanel.cs
- XmlWrappingReader.cs
- StyleHelper.cs
- KeyFrames.cs
- DefaultProxySection.cs
- ArrayWithOffset.cs
- HttpRuntimeSection.cs
- OutputWindow.cs
- HuffCodec.cs
- VBCodeProvider.cs
- CqlWriter.cs
- VoiceSynthesis.cs
- StickyNoteHelper.cs
- NativeMethods.cs
- ListDictionaryInternal.cs
- InternalConfigConfigurationFactory.cs
- UpdateExpressionVisitor.cs
- ProtocolsConfigurationHandler.cs
- FixedFlowMap.cs
- RoutingConfiguration.cs
- CurrentChangingEventArgs.cs
- StateMachineAction.cs
- ConfigXmlWhitespace.cs
- PageSettings.cs
- CatchBlock.cs
- FontDialog.cs
- Keywords.cs
- TriState.cs
- ExpandCollapseProviderWrapper.cs
- RequestTimeoutManager.cs
- QilTargetType.cs
- DiffuseMaterial.cs
- HttpConfigurationSystem.cs
- PositiveTimeSpanValidator.cs
- ListSortDescriptionCollection.cs
- SQLByte.cs
- CodeRegionDirective.cs
- KernelTypeValidation.cs
- EventLogTraceListener.cs
- SubpageParagraph.cs
- ColumnWidthChangingEvent.cs
- SecondaryViewProvider.cs
- Animatable.cs
- InteropAutomationProvider.cs
- Mouse.cs
- ComponentCommands.cs
- SqlAggregateChecker.cs
- CodeExpressionCollection.cs
- ScriptReferenceEventArgs.cs
- BulletedList.cs
- SettingsPropertyValueCollection.cs
- GradientStop.cs
- _Semaphore.cs
- MemberInitExpression.cs
- CalendarDataBindingHandler.cs
- ControllableStoryboardAction.cs
- AffineTransform3D.cs
- FixedSOMLineCollection.cs
- TypeUnloadedException.cs
- SessionStateItemCollection.cs
- SqlDataRecord.cs
- FormView.cs
- TypeHelper.cs
- SoapReflectionImporter.cs