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
- CodeDirectionExpression.cs
- AuthenticateEventArgs.cs
- ExternalDataExchangeService.cs
- DeclarationUpdate.cs
- AnnotationService.cs
- ConfigurationValues.cs
- ProgressBarHighlightConverter.cs
- InternalPermissions.cs
- NetStream.cs
- ApplicationManager.cs
- DecimalStorage.cs
- WebPartConnectionsCloseVerb.cs
- ExternalException.cs
- PeerCustomResolverBindingElement.cs
- FileSecurity.cs
- SqlDataSourceQueryEditorForm.cs
- ImageCodecInfo.cs
- SelectedCellsChangedEventArgs.cs
- AgileSafeNativeMemoryHandle.cs
- Win32PrintDialog.cs
- DynamicActivityTypeDescriptor.cs
- ReadOnlyAttribute.cs
- PageParserFilter.cs
- ApplicationInfo.cs
- FilterRepeater.cs
- ArrayEditor.cs
- LocationEnvironment.cs
- ThicknessConverter.cs
- AuthenticationException.cs
- HtmlForm.cs
- EntitySqlQueryState.cs
- RoleManagerSection.cs
- ResourceBinder.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SecurityStateEncoder.cs
- AnchoredBlock.cs
- TargetPerspective.cs
- DiagnosticTraceRecords.cs
- RoleExceptions.cs
- PointLight.cs
- CustomTypeDescriptor.cs
- RowUpdatingEventArgs.cs
- DoubleUtil.cs
- SecurityPermission.cs
- AspCompat.cs
- UnsupportedPolicyOptionsException.cs
- SqlProfileProvider.cs
- BitmapEffectDrawingContextWalker.cs
- ProfileSection.cs
- thaishape.cs
- HttpServerUtilityWrapper.cs
- XNodeValidator.cs
- AssemblyInfo.cs
- MsdtcClusterUtils.cs
- WebPartCloseVerb.cs
- SqlDataSourceCommandEventArgs.cs
- DataContractJsonSerializerOperationFormatter.cs
- ListViewItem.cs
- SymbolMethod.cs
- DelimitedListTraceListener.cs
- PageScaling.cs
- CodeObject.cs
- ToolboxItemFilterAttribute.cs
- DataSourceView.cs
- CompModHelpers.cs
- SignatureHelper.cs
- TextProviderWrapper.cs
- ExtractedStateEntry.cs
- HandlerBase.cs
- HttpStaticObjectsCollectionBase.cs
- KeyTime.cs
- TableColumnCollectionInternal.cs
- ListViewInsertedEventArgs.cs
- XmlDataDocument.cs
- SmtpException.cs
- SafeFileMapViewHandle.cs
- IndexOutOfRangeException.cs
- CurrentTimeZone.cs
- StrongTypingException.cs
- Visitors.cs
- EventLog.cs
- ResXResourceSet.cs
- HierarchicalDataBoundControlAdapter.cs
- StrokeNodeOperations.cs
- ThrowHelper.cs
- PerformanceCounterPermissionEntryCollection.cs
- SqlClientFactory.cs
- Blend.cs
- ResourcesGenerator.cs
- SMSvcHost.cs
- ToolBarTray.cs
- BinaryFormatter.cs
- ObjectMaterializedEventArgs.cs
- MouseEvent.cs
- ClassHandlersStore.cs
- XamlTreeBuilderBamlRecordWriter.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- SpotLight.cs
- DecimalAnimationBase.cs
- UnsupportedPolicyOptionsException.cs