Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- CustomCategoryAttribute.cs
- CanonicalFontFamilyReference.cs
- KeyboardNavigation.cs
- NotifyParentPropertyAttribute.cs
- CompositeFontInfo.cs
- RelationshipEndMember.cs
- SamlAssertion.cs
- EmbeddedMailObject.cs
- DataGridTextBoxColumn.cs
- StringKeyFrameCollection.cs
- GeneralTransform3DGroup.cs
- KeyToListMap.cs
- clipboard.cs
- SqlGenerator.cs
- InvalidCastException.cs
- AuthenticationManager.cs
- Comparer.cs
- Panel.cs
- ProcessModule.cs
- XmlLinkedNode.cs
- CheckBoxField.cs
- DocumentDesigner.cs
- QueryStringConverter.cs
- ImageFormatConverter.cs
- SoapEnumAttribute.cs
- XamlToRtfParser.cs
- SmiContextFactory.cs
- EncoderExceptionFallback.cs
- InputLanguageProfileNotifySink.cs
- TypeToken.cs
- SoapHeader.cs
- Transform.cs
- CreateRefExpr.cs
- ProfileModule.cs
- StorageEntityTypeMapping.cs
- WebPartConnectVerb.cs
- querybuilder.cs
- AttributedMetaModel.cs
- Brush.cs
- Dump.cs
- TableLayoutPanelDesigner.cs
- ToolboxItemFilterAttribute.cs
- Thread.cs
- EqualityComparer.cs
- WSDualHttpSecurity.cs
- Transactions.cs
- ClientData.cs
- GlobalizationSection.cs
- IntSecurity.cs
- BaseDataBoundControl.cs
- TableLayoutColumnStyleCollection.cs
- ColumnHeaderConverter.cs
- TextContainerChangeEventArgs.cs
- TagNameToTypeMapper.cs
- ContentElementAutomationPeer.cs
- FileDialogPermission.cs
- DispatcherProcessingDisabled.cs
- FixedFlowMap.cs
- KeyValueSerializer.cs
- ConnectionManagementSection.cs
- OperatorExpressions.cs
- WebPartMenuStyle.cs
- ControlBindingsCollection.cs
- SqlConnectionHelper.cs
- Transform3D.cs
- BindingCollection.cs
- OracleRowUpdatingEventArgs.cs
- SqlDataSourceDesigner.cs
- InsufficientMemoryException.cs
- OleDbCommandBuilder.cs
- TreePrinter.cs
- HttpCapabilitiesEvaluator.cs
- GraphicsPathIterator.cs
- SqlWebEventProvider.cs
- UncommonField.cs
- DataGridViewSelectedRowCollection.cs
- TypeNameConverter.cs
- ThreadStaticAttribute.cs
- DuplicateDetector.cs
- ChtmlPhoneCallAdapter.cs
- MimeTypePropertyAttribute.cs
- ToolboxItemSnapLineBehavior.cs
- FixedSOMLineRanges.cs
- AssociatedControlConverter.cs
- WebSysDescriptionAttribute.cs
- Type.cs
- WCFServiceClientProxyGenerator.cs
- DirtyTextRange.cs
- AssignDesigner.xaml.cs
- TextDpi.cs
- GAC.cs
- GraphicsState.cs
- PartialCachingAttribute.cs
- COSERVERINFO.cs
- XmlSchemaDatatype.cs
- DataBinder.cs
- XmlUrlResolver.cs
- XhtmlConformanceSection.cs
- UnitySerializationHolder.cs
- ControlTemplate.cs