Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / RenderContext.cs / 1 / RenderContext.cs
//------------------------------------------------------------------------------ // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Accumulates state during a render pass of the scene. // //----------------------------------------------------------------------------- namespace System.Windows.Media { using System; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Runtime.InteropServices; using MS.Internal; ////// This class accumulates state during a render pass of the scene. /// internal sealed class RenderContext { // ------------------------------------------------------------------- // // Internal Constructors // // ------------------------------------------------------------------- #region Internal Constructors ////// Constructor /// internal RenderContext() { // Do nothing. } #endregion Internal Constructors // -------------------------------------------------------------------- // // Internal Properties // // ------------------------------------------------------------------- #region Internal Properties ////// Returns the current channel. /// internal DUCE.Channel Channel { get { return _channel; } } ////// Returns a handle to the root node, which is attached /// directly to a composition target /// internal DUCE.ResourceHandle Root { get { return _root; } } #endregion Internal Properties // -------------------------------------------------------------------- // // Internal Methods // // -------------------------------------------------------------------- #region Internal Methods ////// Initialize must be called before a frame is rendered. /// internal void Initialize( DUCE.Channel channel, DUCE.ResourceHandle root) { Debug.Assert(channel != null); _channel = channel; _root = root; } #endregion Internal Methods // ------------------------------------------------------------------- // // Private Fields // // -------------------------------------------------------------------- #region Private Fields ////// The current channel. /// private DUCE.Channel _channel; ////// The root node, attached directly to a composition target. /// private DUCE.ResourceHandle _root; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Accumulates state during a render pass of the scene. // //----------------------------------------------------------------------------- namespace System.Windows.Media { using System; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Runtime.InteropServices; using MS.Internal; ////// This class accumulates state during a render pass of the scene. /// internal sealed class RenderContext { // ------------------------------------------------------------------- // // Internal Constructors // // ------------------------------------------------------------------- #region Internal Constructors ////// Constructor /// internal RenderContext() { // Do nothing. } #endregion Internal Constructors // -------------------------------------------------------------------- // // Internal Properties // // ------------------------------------------------------------------- #region Internal Properties ////// Returns the current channel. /// internal DUCE.Channel Channel { get { return _channel; } } ////// Returns a handle to the root node, which is attached /// directly to a composition target /// internal DUCE.ResourceHandle Root { get { return _root; } } #endregion Internal Properties // -------------------------------------------------------------------- // // Internal Methods // // -------------------------------------------------------------------- #region Internal Methods ////// Initialize must be called before a frame is rendered. /// internal void Initialize( DUCE.Channel channel, DUCE.ResourceHandle root) { Debug.Assert(channel != null); _channel = channel; _root = root; } #endregion Internal Methods // ------------------------------------------------------------------- // // Private Fields // // -------------------------------------------------------------------- #region Private Fields ////// The current channel. /// private DUCE.Channel _channel; ////// The root node, attached directly to a composition target. /// private DUCE.ResourceHandle _root; #endregion Private Fields } } // 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
- TableRow.cs
- MexServiceChannelBuilder.cs
- DateTimeOffsetConverter.cs
- SourceFilter.cs
- DbTransaction.cs
- ToolStripSettings.cs
- ParentUndoUnit.cs
- ComplexLine.cs
- ContextQuery.cs
- DesignTable.cs
- MultipleCopiesCollection.cs
- documentation.cs
- SchemaImporter.cs
- BoundColumn.cs
- ViewPort3D.cs
- NavigationCommands.cs
- ExtractedStateEntry.cs
- DataGridViewTextBoxEditingControl.cs
- Metadata.cs
- DeflateEmulationStream.cs
- HttpBufferlessInputStream.cs
- WebMessageEncodingElement.cs
- X509DefaultServiceCertificateElement.cs
- XPathConvert.cs
- GiveFeedbackEvent.cs
- MouseGestureConverter.cs
- DbConnectionClosed.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- CommandField.cs
- ApplicationManager.cs
- VisualTreeUtils.cs
- GC.cs
- ReturnType.cs
- InkSerializer.cs
- RegexRunner.cs
- SystemIPInterfaceStatistics.cs
- HostingEnvironmentException.cs
- ToolStripContentPanel.cs
- OAVariantLib.cs
- BuildResult.cs
- ZipIOModeEnforcingStream.cs
- TypeDescriptorFilterService.cs
- ConnectionInterfaceCollection.cs
- AsynchronousChannel.cs
- InternalResources.cs
- DateTimePickerDesigner.cs
- TransactionTable.cs
- X509ChainPolicy.cs
- SharedPersonalizationStateInfo.cs
- RedistVersionInfo.cs
- WindowsFormsLinkLabel.cs
- BrowserInteropHelper.cs
- AmbiguousMatchException.cs
- _OSSOCK.cs
- XmlChoiceIdentifierAttribute.cs
- DetailsViewRowCollection.cs
- SelectedDatesCollection.cs
- DriveNotFoundException.cs
- ToolboxItemAttribute.cs
- XmlDocumentSchema.cs
- SecureConversationDriver.cs
- ProgramPublisher.cs
- DefaultMemberAttribute.cs
- HierarchicalDataSourceControl.cs
- WinFormsUtils.cs
- KeysConverter.cs
- SchemaLookupTable.cs
- LiteralControl.cs
- Matrix.cs
- ToolStripGrip.cs
- IndexedEnumerable.cs
- TextContainerChangedEventArgs.cs
- NamedElement.cs
- MsmqIntegrationReceiveParameters.cs
- TextBox.cs
- ExpanderAutomationPeer.cs
- ChannelManagerService.cs
- PKCS1MaskGenerationMethod.cs
- TextDecorationUnitValidation.cs
- PanelStyle.cs
- HTMLTextWriter.cs
- SystemIPAddressInformation.cs
- FunctionCommandText.cs
- AesManaged.cs
- XmlConvert.cs
- ToolZone.cs
- RouteData.cs
- DataListItem.cs
- XmlAttributeHolder.cs
- glyphs.cs
- SettingsBase.cs
- TypeExtension.cs
- Codec.cs
- HttpCookiesSection.cs
- OdbcConnectionOpen.cs
- NavigationCommands.cs
- AddressingProperty.cs
- XmlProcessingInstruction.cs
- MemberDescriptor.cs
- XsltLoader.cs