Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Controls / MediaScriptCommandRoutedEventArgs.cs / 1 / MediaScriptCommandRoutedEventArgs.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: MediaScriptCommandRoutedEventArgs.cs // //----------------------------------------------------------------------------- using System; namespace System.Windows { #region MediaScriptCommandRoutedEventArgs ////// /// public sealed class MediaScriptCommandRoutedEventArgs : RoutedEventArgs { internal MediaScriptCommandRoutedEventArgs( RoutedEvent routedEvent, object sender, string parameterType, string parameterValue ) : base(routedEvent, sender) { if (parameterType == null) { throw new ArgumentNullException("parameterType"); } if (parameterValue == null) { throw new ArgumentNullException("parameterValue"); } _parameterType = parameterType; _parameterValue = parameterValue; } ////// The type of the script command embedded in the media. /// public string ParameterType { get { return _parameterType; } } ////// The paramter of the script command embedded in the media. /// public string ParameterValue { get { return _parameterValue; } } private string _parameterType; private string _parameterValue; } #endregion } // namespace System.Windows // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: MediaScriptCommandRoutedEventArgs.cs // //----------------------------------------------------------------------------- using System; namespace System.Windows { #region MediaScriptCommandRoutedEventArgs ////// /// public sealed class MediaScriptCommandRoutedEventArgs : RoutedEventArgs { internal MediaScriptCommandRoutedEventArgs( RoutedEvent routedEvent, object sender, string parameterType, string parameterValue ) : base(routedEvent, sender) { if (parameterType == null) { throw new ArgumentNullException("parameterType"); } if (parameterValue == null) { throw new ArgumentNullException("parameterValue"); } _parameterType = parameterType; _parameterValue = parameterValue; } ////// The type of the script command embedded in the media. /// public string ParameterType { get { return _parameterType; } } ////// The paramter of the script command embedded in the media. /// public string ParameterValue { get { return _parameterValue; } } private string _parameterType; private string _parameterValue; } #endregion } // namespace System.Windows // 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
- RoutedEventArgs.cs
- HwndSourceParameters.cs
- XmlSchemaIdentityConstraint.cs
- Literal.cs
- QueryContinueDragEventArgs.cs
- SupportingTokenProviderSpecification.cs
- WebScriptMetadataMessage.cs
- InteropAutomationProvider.cs
- DragDrop.cs
- HierarchicalDataBoundControl.cs
- CodeIdentifier.cs
- PageBreakRecord.cs
- DnsPermission.cs
- ExtensionWindow.cs
- CompositeControlDesigner.cs
- CharConverter.cs
- Classification.cs
- DataControlFieldCollection.cs
- BaseConfigurationRecord.cs
- Rules.cs
- DataBindingExpressionBuilder.cs
- ListDictionary.cs
- RemotingSurrogateSelector.cs
- XmlSequenceWriter.cs
- XmlAttributeCollection.cs
- querybuilder.cs
- SingleAnimationBase.cs
- XmlNavigatorStack.cs
- CodeBinaryOperatorExpression.cs
- UIElementHelper.cs
- FixUpCollection.cs
- InitializingNewItemEventArgs.cs
- DSACryptoServiceProvider.cs
- SecurityTokenValidationException.cs
- ImageMap.cs
- CurrentTimeZone.cs
- ToggleButtonAutomationPeer.cs
- TableParagraph.cs
- WorkflowServiceHostFactory.cs
- X509Certificate2.cs
- XPathChildIterator.cs
- BitmapImage.cs
- ExpandSegment.cs
- DataConnectionHelper.cs
- VScrollBar.cs
- InkCanvasSelection.cs
- RowSpanVector.cs
- ThaiBuddhistCalendar.cs
- MailWebEventProvider.cs
- DependencyPropertyHelper.cs
- OdbcInfoMessageEvent.cs
- ConstrainedDataObject.cs
- activationcontext.cs
- FixedDSBuilder.cs
- EntityDataSourceState.cs
- ControlParser.cs
- _ListenerAsyncResult.cs
- HandleTable.cs
- dataobject.cs
- ElementHost.cs
- PriorityBindingExpression.cs
- UInt16Storage.cs
- ClientUrlResolverWrapper.cs
- IdentityNotMappedException.cs
- TemplatedAdorner.cs
- AccessDataSourceView.cs
- ZoneIdentityPermission.cs
- MarkerProperties.cs
- PropertyTab.cs
- WindowsIdentity.cs
- FullTextState.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- Tuple.cs
- PingOptions.cs
- SqlRowUpdatedEvent.cs
- XmlSerializerSection.cs
- AppDomainEvidenceFactory.cs
- BrushMappingModeValidation.cs
- _NegoStream.cs
- CodeTypeDelegate.cs
- ItemsPresenter.cs
- _SSPISessionCache.cs
- ButtonFieldBase.cs
- ArrayList.cs
- TableRowGroup.cs
- ProcessHostFactoryHelper.cs
- DBCommand.cs
- SemanticResultValue.cs
- TypeDelegator.cs
- WorkflowInstanceExtensionProvider.cs
- OutputWindow.cs
- WebHeaderCollection.cs
- SafeNativeMethods.cs
- NetworkStream.cs
- HwndHostAutomationPeer.cs
- MailAddressCollection.cs
- BitmapEffect.cs
- precedingquery.cs
- SubclassTypeValidator.cs
- MobileListItem.cs