Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / MediaScriptCommandRoutedEventArgs.cs / 1305600 / 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
- ChannelOptions.cs
- SpotLight.cs
- CustomAttribute.cs
- TypeElement.cs
- FrugalMap.cs
- EncryptedPackage.cs
- SamlEvidence.cs
- RuntimeCompatibilityAttribute.cs
- AnonymousIdentificationSection.cs
- XmlNamedNodeMap.cs
- DataSourceHelper.cs
- Activator.cs
- CachedTypeface.cs
- FunctionQuery.cs
- ListViewTableRow.cs
- XmlDeclaration.cs
- SafeLibraryHandle.cs
- PolicyException.cs
- AssociationEndMember.cs
- SqlUdtInfo.cs
- CultureSpecificStringDictionary.cs
- shaperfactoryquerycachekey.cs
- ProfileBuildProvider.cs
- Selector.cs
- GridViewRow.cs
- BoundField.cs
- RowUpdatingEventArgs.cs
- DesignTimeHTMLTextWriter.cs
- DataGridColumnCollection.cs
- Translator.cs
- ServiceEndpointAssociationProvider.cs
- StylusCollection.cs
- OutputCacheSection.cs
- EpmContentSerializerBase.cs
- GroupStyle.cs
- AspNetHostingPermission.cs
- WebAdminConfigurationHelper.cs
- PreProcessInputEventArgs.cs
- UnmanagedMarshal.cs
- EngineSite.cs
- SamlDoNotCacheCondition.cs
- ProcessMessagesAsyncResult.cs
- SystemUnicastIPAddressInformation.cs
- GuidelineSet.cs
- DesignerTransaction.cs
- XhtmlConformanceSection.cs
- InvokePattern.cs
- MessageRpc.cs
- SystemFonts.cs
- ExclusiveTcpListener.cs
- EncryptedXml.cs
- TraceContext.cs
- TypeDescriptionProviderAttribute.cs
- BamlVersionHeader.cs
- BlurBitmapEffect.cs
- activationcontext.cs
- ArraySegment.cs
- ScrollItemPattern.cs
- ManagementBaseObject.cs
- XslTransform.cs
- GridViewRowPresenterBase.cs
- MailWriter.cs
- WebRequestModuleElementCollection.cs
- IndentedWriter.cs
- DataReceivedEventArgs.cs
- SqlConnectionString.cs
- EventLogEntryCollection.cs
- XmlNamespaceMappingCollection.cs
- Token.cs
- Splitter.cs
- Margins.cs
- CatalogZoneBase.cs
- TemplateNameScope.cs
- EntitySet.cs
- SelectorItemAutomationPeer.cs
- SQLGuid.cs
- DetailsViewRow.cs
- StandardCommands.cs
- Rect3D.cs
- BaseContextMenu.cs
- DataGridHyperlinkColumn.cs
- WindowsFormsLinkLabel.cs
- ConditionCollection.cs
- DataGridCaption.cs
- HostingEnvironment.cs
- Configuration.cs
- XmlHierarchicalDataSourceView.cs
- ExpressionParser.cs
- SrgsElement.cs
- SqlAggregateChecker.cs
- PseudoWebRequest.cs
- ImagingCache.cs
- KerberosSecurityTokenProvider.cs
- StorageComplexTypeMapping.cs
- SQLConvert.cs
- BaseDataList.cs
- SmtpException.cs
- XmlWriterSettings.cs
- DateTimeFormat.cs
- TextBlock.cs