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
- SettingsPropertyNotFoundException.cs
- UInt16.cs
- HostingEnvironment.cs
- ListBase.cs
- SchemeSettingElementCollection.cs
- SecurityCriticalDataForSet.cs
- DeferredElementTreeState.cs
- Simplifier.cs
- PropertyValueChangedEvent.cs
- SimpleBitVector32.cs
- ClientOptions.cs
- ThicknessAnimation.cs
- _ScatterGatherBuffers.cs
- DriveNotFoundException.cs
- Marshal.cs
- TextEditor.cs
- MediaScriptCommandRoutedEventArgs.cs
- LocalizabilityAttribute.cs
- CriticalHandle.cs
- XPathDocument.cs
- BindingListCollectionView.cs
- TextSpan.cs
- ReadWriteSpinLock.cs
- TransactionTraceIdentifier.cs
- Tokenizer.cs
- ListenerConstants.cs
- WindowsSecurityToken.cs
- HorizontalAlignConverter.cs
- TypeConverters.cs
- MILUtilities.cs
- NetStream.cs
- Rijndael.cs
- MailAddressCollection.cs
- hresults.cs
- TextRangeEditLists.cs
- TypographyProperties.cs
- XsltCompileContext.cs
- TextFormatter.cs
- SqlExpander.cs
- ToolStripContainer.cs
- ForAllOperator.cs
- ProtectedProviderSettings.cs
- DataControlFieldCell.cs
- EdmRelationshipRoleAttribute.cs
- XmlUTF8TextReader.cs
- BindingOperations.cs
- ToolboxItemCollection.cs
- ReferenceConverter.cs
- UICuesEvent.cs
- COMException.cs
- TypeDescriptor.cs
- DoWorkEventArgs.cs
- RefreshPropertiesAttribute.cs
- ReferencedAssembly.cs
- BaseCAMarshaler.cs
- VisualStyleInformation.cs
- ChildDocumentBlock.cs
- PKCS1MaskGenerationMethod.cs
- TaiwanLunisolarCalendar.cs
- InputReferenceExpression.cs
- HierarchicalDataTemplate.cs
- XmlBinaryWriterSession.cs
- DbTransaction.cs
- RegistrationServices.cs
- EpmAttributeNameBuilder.cs
- ParenthesizePropertyNameAttribute.cs
- FacetValues.cs
- sqlpipe.cs
- HtmlTextArea.cs
- Debugger.cs
- WebPartVerbsEventArgs.cs
- TypeGeneratedEventArgs.cs
- ApplicationDirectory.cs
- RegularExpressionValidator.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- DataGridGeneralPage.cs
- StylusCaptureWithinProperty.cs
- DataGridViewTextBoxEditingControl.cs
- UidPropertyAttribute.cs
- KeyConverter.cs
- CodeSubDirectoriesCollection.cs
- X509Certificate2.cs
- Stroke.cs
- WebErrorHandler.cs
- DataTableNameHandler.cs
- WebPartDescription.cs
- AccessDataSource.cs
- WmpBitmapDecoder.cs
- DataGridPagerStyle.cs
- HeaderedContentControl.cs
- PaintEvent.cs
- ObjectToIdCache.cs
- _IPv4Address.cs
- ClientUIRequest.cs
- TypeProvider.cs
- CompilerError.cs
- SplayTreeNode.cs
- DeclarationUpdate.cs
- ScaleTransform.cs
- ValueSerializerAttribute.cs