Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / RenderContext.cs / 1305600 / 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
- SelectionGlyph.cs
- BatchServiceHost.cs
- BookmarkInfo.cs
- COAUTHINFO.cs
- AttributeCollection.cs
- SymbolDocumentGenerator.cs
- ToolboxControl.cs
- NativeObjectSecurity.cs
- OutputCacheSettings.cs
- IntegerCollectionEditor.cs
- FormViewModeEventArgs.cs
- SingleKeyFrameCollection.cs
- FusionWrap.cs
- Point3D.cs
- StorageScalarPropertyMapping.cs
- ManagementObjectCollection.cs
- RadioButtonFlatAdapter.cs
- ViewPort3D.cs
- ListViewItem.cs
- XmlUtil.cs
- DateTimeFormat.cs
- CalendarSelectionChangedEventArgs.cs
- Literal.cs
- IdentityElement.cs
- ConcurrentQueue.cs
- ArrayList.cs
- EditingScope.cs
- SpellerStatusTable.cs
- PrivilegedConfigurationManager.cs
- TypeResolver.cs
- OleDbException.cs
- ExpressionBuilderCollection.cs
- CheckBox.cs
- AudioSignalProblemOccurredEventArgs.cs
- PropertyMappingExceptionEventArgs.cs
- SafePointer.cs
- SQLCharsStorage.cs
- TextServicesContext.cs
- PersistenceTypeAttribute.cs
- XmlLangPropertyAttribute.cs
- FixedPageStructure.cs
- DependencyObject.cs
- CommandEventArgs.cs
- TextProviderWrapper.cs
- HashSetEqualityComparer.cs
- cookiecontainer.cs
- WindowsEditBoxRange.cs
- ScaleTransform3D.cs
- StateFinalizationDesigner.cs
- DataControlButton.cs
- DataGridColumnsPage.cs
- coordinatorscratchpad.cs
- OAVariantLib.cs
- SchemaImporterExtension.cs
- DockingAttribute.cs
- VirtualDirectoryMappingCollection.cs
- KnownIds.cs
- InkPresenter.cs
- WebPartConnectionsCloseVerb.cs
- ObjectSet.cs
- KnownTypeAttribute.cs
- TextEndOfSegment.cs
- QueryParameter.cs
- MarkupExtensionReturnTypeAttribute.cs
- ChannelBase.cs
- ConfigsHelper.cs
- PropertyToken.cs
- TdsParserSessionPool.cs
- ArrayElementGridEntry.cs
- DbConnectionClosed.cs
- embossbitmapeffect.cs
- ChtmlTextWriter.cs
- InstanceKeyCollisionException.cs
- ConfigXmlReader.cs
- UrlParameterWriter.cs
- TemplatePartAttribute.cs
- LogEntry.cs
- EditorZone.cs
- remotingproxy.cs
- PropertyTab.cs
- DataTableReaderListener.cs
- Preprocessor.cs
- ClientScriptManager.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- PinnedBufferMemoryStream.cs
- EntityContainerAssociationSetEnd.cs
- SHA1CryptoServiceProvider.cs
- Roles.cs
- WCFModelStrings.Designer.cs
- Reference.cs
- XpsFilter.cs
- SqlInternalConnectionSmi.cs
- SettingsProviderCollection.cs
- GlobalizationAssembly.cs
- UnsafeNetInfoNativeMethods.cs
- StringReader.cs
- DependencyObjectPropertyDescriptor.cs
- ClientRuntimeConfig.cs
- MenuAdapter.cs
- SessionSwitchEventArgs.cs