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
- EdmComplexPropertyAttribute.cs
- NetSectionGroup.cs
- FixedSchema.cs
- SpeechEvent.cs
- Invariant.cs
- SectionRecord.cs
- PageParserFilter.cs
- CompilerCollection.cs
- SchemaImporterExtensionElementCollection.cs
- DSASignatureFormatter.cs
- DebuggerAttributes.cs
- formatstringdialog.cs
- AppSettingsExpressionBuilder.cs
- TargetInvocationException.cs
- TemplatedAdorner.cs
- HebrewNumber.cs
- TrackingCondition.cs
- HwndAppCommandInputProvider.cs
- TextSimpleMarkerProperties.cs
- SymLanguageVendor.cs
- WebPartTransformerAttribute.cs
- SocketElement.cs
- HandlerMappingMemo.cs
- ObjRef.cs
- Grant.cs
- ObfuscateAssemblyAttribute.cs
- ItemList.cs
- WizardPanel.cs
- Point4D.cs
- FieldInfo.cs
- TaskFormBase.cs
- HttpModuleActionCollection.cs
- Slider.cs
- TextBox.cs
- smtppermission.cs
- SchemaMerger.cs
- WebPartConnectionsCancelEventArgs.cs
- ValidationSummary.cs
- SqlUDTStorage.cs
- JulianCalendar.cs
- MenuCommands.cs
- RtfControls.cs
- JobCollate.cs
- StringDictionaryCodeDomSerializer.cs
- MetabaseServerConfig.cs
- Documentation.cs
- CursorConverter.cs
- ParameterToken.cs
- CaseInsensitiveOrdinalStringComparer.cs
- TextBox.cs
- ListBindableAttribute.cs
- SerialReceived.cs
- NavigationExpr.cs
- WorkflowLayouts.cs
- WinInet.cs
- DataObjectMethodAttribute.cs
- RefType.cs
- XmlSchemaSimpleTypeList.cs
- LoginView.cs
- UniqueConstraint.cs
- MarshalByRefObject.cs
- DataBoundControlAdapter.cs
- DesignerValidationSummaryAdapter.cs
- WorkflowInstanceRecord.cs
- SoapCodeExporter.cs
- Trigger.cs
- SafeNativeMethodsCLR.cs
- FlowThrottle.cs
- DetailsViewRow.cs
- RegexInterpreter.cs
- LinkLabel.cs
- SoapMessage.cs
- Signature.cs
- RelationshipType.cs
- FrameAutomationPeer.cs
- Misc.cs
- WebBaseEventKeyComparer.cs
- ExecutedRoutedEventArgs.cs
- CodeDirectoryCompiler.cs
- UnsafeNativeMethodsTablet.cs
- GenerateScriptTypeAttribute.cs
- BamlTreeNode.cs
- MLangCodePageEncoding.cs
- ContainerControl.cs
- DragDrop.cs
- CompositionTarget.cs
- FrugalMap.cs
- ObjectDataSource.cs
- versioninfo.cs
- SimpleBitVector32.cs
- NumberFormatInfo.cs
- PenContexts.cs
- Operand.cs
- FontDialog.cs
- ZoneLinkButton.cs
- CompositeCollectionView.cs
- VectorKeyFrameCollection.cs
- ChtmlSelectionListAdapter.cs
- FormsAuthenticationTicket.cs
- SimpleHandlerBuildProvider.cs