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
- ProvidersHelper.cs
- ImpersonateTokenRef.cs
- ScriptBehaviorDescriptor.cs
- FrameworkTextComposition.cs
- EntityParameterCollection.cs
- HttpWebRequestElement.cs
- VectorValueSerializer.cs
- HierarchicalDataBoundControlAdapter.cs
- LazyLoadBehavior.cs
- BindingsCollection.cs
- CornerRadiusConverter.cs
- ServiceBusyException.cs
- ApplicationDirectoryMembershipCondition.cs
- SerializationEventsCache.cs
- PersonalizationProviderCollection.cs
- _TLSstream.cs
- XmlSerializerNamespaces.cs
- XmlWhitespace.cs
- ISSmlParser.cs
- DataSetMappper.cs
- TickBar.cs
- DataGridViewToolTip.cs
- PublisherMembershipCondition.cs
- WebPartEditorCancelVerb.cs
- TextBoxLine.cs
- DiffuseMaterial.cs
- SharedStatics.cs
- NextPreviousPagerField.cs
- CodeEntryPointMethod.cs
- BamlRecordReader.cs
- XmlWrappingWriter.cs
- InternalRelationshipCollection.cs
- TextBox.cs
- DataControlFieldCell.cs
- X509Certificate2.cs
- MenuCommandsChangedEventArgs.cs
- IndexedString.cs
- WSSecurityXXX2005.cs
- XmlSerializerSection.cs
- DataSourceListEditor.cs
- ILGen.cs
- PrePostDescendentsWalker.cs
- DecoderFallback.cs
- XpsFontSerializationService.cs
- SourceLineInfo.cs
- DataServiceEntityAttribute.cs
- DataGridAddNewRow.cs
- TdsValueSetter.cs
- AttachedPropertyMethodSelector.cs
- EdmItemError.cs
- PcmConverter.cs
- FixUp.cs
- ConfigurationSectionGroup.cs
- InputQueueChannelAcceptor.cs
- DateTimeFormat.cs
- DataGridViewCellCollection.cs
- HttpListener.cs
- TextEmbeddedObject.cs
- Compiler.cs
- AnnouncementDispatcherAsyncResult.cs
- TypeUnloadedException.cs
- RegexStringValidator.cs
- MouseWheelEventArgs.cs
- InputReport.cs
- SelectionProcessor.cs
- XMLSyntaxException.cs
- DrawingAttributeSerializer.cs
- SystemTcpConnection.cs
- TextDecorationCollection.cs
- TypeResolvingOptions.cs
- PictureBox.cs
- ReflectEventDescriptor.cs
- DataGridViewCellMouseEventArgs.cs
- AnyAllSearchOperator.cs
- FormViewCommandEventArgs.cs
- ProviderSettingsCollection.cs
- EmptyImpersonationContext.cs
- EasingKeyFrames.cs
- SoapSchemaMember.cs
- WindowsListView.cs
- HtmlAnchor.cs
- CacheDependency.cs
- xamlnodes.cs
- PrintDialogException.cs
- ConnectionConsumerAttribute.cs
- SerializationEventsCache.cs
- ApplicationDirectory.cs
- SingleObjectCollection.cs
- EventsTab.cs
- PlatformCulture.cs
- GroupItem.cs
- Int64.cs
- SmtpNegotiateAuthenticationModule.cs
- ViewBase.cs
- SerializationEventsCache.cs
- DocumentViewerConstants.cs
- DataRelationPropertyDescriptor.cs
- TypeDescriptionProvider.cs
- SiteMapNodeCollection.cs
- GlobalizationAssembly.cs