Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / Vector3dCollection.cs / 1305600 / Vector3dCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Vector3D collection partial class. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 11/03/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.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
- ActivityDefaults.cs
- BamlMapTable.cs
- QueryOpeningEnumerator.cs
- CompilerTypeWithParams.cs
- InvalidateEvent.cs
- IBuiltInEvidence.cs
- RemotingConfiguration.cs
- TreeView.cs
- SecurityValidationBehavior.cs
- __ConsoleStream.cs
- BindingObserver.cs
- Proxy.cs
- RemotingSurrogateSelector.cs
- WebException.cs
- DiagnosticsConfigurationHandler.cs
- VirtualizingPanel.cs
- ValueConversionAttribute.cs
- StrokeCollection.cs
- PhoneCallDesigner.cs
- QilPatternVisitor.cs
- FixUpCollection.cs
- ProjectionCamera.cs
- OdbcCommand.cs
- DataObjectSettingDataEventArgs.cs
- DocumentSequence.cs
- UrlMappingCollection.cs
- XmlSchemaAnyAttribute.cs
- WpfPayload.cs
- CacheForPrimitiveTypes.cs
- SecUtil.cs
- DesignerGenericWebPart.cs
- AssemblyHash.cs
- EventManager.cs
- PermissionSetTriple.cs
- JulianCalendar.cs
- DefaultWorkflowTransactionService.cs
- StringBuilder.cs
- UniqueIdentifierService.cs
- ValidationError.cs
- ConfigXmlDocument.cs
- AnnotationResourceCollection.cs
- ListenerSingletonConnectionReader.cs
- ErrorInfoXmlDocument.cs
- RouteItem.cs
- FullTextState.cs
- OleDbError.cs
- PreDigestedSignedInfo.cs
- BuildProviderCollection.cs
- NonParentingControl.cs
- _NtlmClient.cs
- SymbolEqualComparer.cs
- GB18030Encoding.cs
- XPathDocument.cs
- StackSpiller.Temps.cs
- TraversalRequest.cs
- StoreAnnotationsMap.cs
- DataGridViewCellStyleConverter.cs
- MarkedHighlightComponent.cs
- XmlDataCollection.cs
- TextEvent.cs
- BinaryUtilClasses.cs
- MimeBasePart.cs
- BackStopAuthenticationModule.cs
- DnsEndpointIdentity.cs
- XsdBuildProvider.cs
- ContentFileHelper.cs
- MatrixUtil.cs
- IODescriptionAttribute.cs
- SmiEventSink_DeferedProcessing.cs
- ModelTreeEnumerator.cs
- ContextMenuService.cs
- QueryCacheEntry.cs
- MissingMethodException.cs
- UTF32Encoding.cs
- HandlerBase.cs
- SafeFileMappingHandle.cs
- OutputCacheSettings.cs
- SessionViewState.cs
- DocumentReferenceCollection.cs
- MobileErrorInfo.cs
- BufferedGraphics.cs
- MouseOverProperty.cs
- EmptyReadOnlyDictionaryInternal.cs
- AsymmetricKeyExchangeDeformatter.cs
- LineBreak.cs
- ConfigLoader.cs
- TextContainerChangeEventArgs.cs
- StackBuilderSink.cs
- WebBrowsableAttribute.cs
- RenderingEventArgs.cs
- UnauthorizedWebPart.cs
- BinaryConverter.cs
- SqlCacheDependency.cs
- ErrorTableItemStyle.cs
- SqlFunctionAttribute.cs
- MetricEntry.cs
- TextFormatterImp.cs
- CharacterBuffer.cs
- PieceNameHelper.cs
- VisualTreeHelper.cs