Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / UserPreferenceChangedEventArgs.cs / 1305376 / UserPreferenceChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace Microsoft.Win32 {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the event.
///
[HostProtectionAttribute(MayLeakOnAbort = true)]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
public class UserPreferenceChangedEventArgs : EventArgs {
private readonly UserPreferenceCategory category;
///
/// Initializes a new instance of the class.
///
public UserPreferenceChangedEventArgs(UserPreferenceCategory category) {
this.category = category;
}
///
/// Gets the category of user preferences that has changed.
///
public UserPreferenceCategory Category {
get {
return category;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace Microsoft.Win32 {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the event.
///
[HostProtectionAttribute(MayLeakOnAbort = true)]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
public class UserPreferenceChangedEventArgs : EventArgs {
private readonly UserPreferenceCategory category;
///
/// Initializes a new instance of the class.
///
public UserPreferenceChangedEventArgs(UserPreferenceCategory category) {
this.category = category;
}
///
/// Gets the category of user preferences that has changed.
///
public UserPreferenceCategory Category {
get {
return category;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SByteConverter.cs
- EntityCommandDefinition.cs
- KeyGestureConverter.cs
- ListViewAutomationPeer.cs
- SuppressedPackageProperties.cs
- SQLBinary.cs
- MetaTable.cs
- CapabilitiesAssignment.cs
- MessageDesigner.cs
- BamlCollectionHolder.cs
- UnhandledExceptionEventArgs.cs
- CodeSubDirectoriesCollection.cs
- FrameworkTextComposition.cs
- Error.cs
- storagemappingitemcollection.viewdictionary.cs
- ResourcesChangeInfo.cs
- KeyEventArgs.cs
- HyperLinkField.cs
- XsltConvert.cs
- TableLayoutPanelBehavior.cs
- AsyncOperationManager.cs
- HtmlFormWrapper.cs
- BitmapPalette.cs
- WmpBitmapDecoder.cs
- XsltException.cs
- MetadataCache.cs
- DbConnectionPoolGroupProviderInfo.cs
- DataTemplate.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- ConfigurationConverterBase.cs
- ComponentResourceManager.cs
- FragmentQuery.cs
- PrincipalPermission.cs
- FullTrustAssemblyCollection.cs
- SerializerDescriptor.cs
- LayoutEditorPart.cs
- CatalogPartChrome.cs
- XmlDownloadManager.cs
- XmlChildNodes.cs
- VarRefManager.cs
- sqlmetadatafactory.cs
- TypeResolver.cs
- ClientScriptManagerWrapper.cs
- SignatureToken.cs
- WebPartCancelEventArgs.cs
- SelectedPathEditor.cs
- XmlSchemaValidationException.cs
- SqlProviderManifest.cs
- GacUtil.cs
- ContentType.cs
- ContainerParagraph.cs
- Base64WriteStateInfo.cs
- RemoteWebConfigurationHostStream.cs
- ServiceOperationInfoTypeConverter.cs
- FSWPathEditor.cs
- ItemList.cs
- DataGrid.cs
- ContextQuery.cs
- GradientBrush.cs
- DataSourceControlBuilder.cs
- DataGridSortingEventArgs.cs
- CodeCompiler.cs
- SqlNodeAnnotations.cs
- ProcessModelSection.cs
- NamedElement.cs
- SettingsSection.cs
- MLangCodePageEncoding.cs
- Freezable.cs
- EntitySetBase.cs
- OpenTypeLayout.cs
- BoundingRectTracker.cs
- SynchronizationScope.cs
- SelectionItemPattern.cs
- ScalarOps.cs
- WindowsGrip.cs
- OutputCacheSettingsSection.cs
- VisualStyleInformation.cs
- ExpressionDumper.cs
- ToolboxControl.cs
- FontWeight.cs
- DataGridItemCollection.cs
- MultilineStringConverter.cs
- ConnectionStringsSection.cs
- PageThemeBuildProvider.cs
- SQLDecimal.cs
- _AcceptOverlappedAsyncResult.cs
- IntSecurity.cs
- CacheOutputQuery.cs
- XslTransform.cs
- DataControlButton.cs
- KeyboardDevice.cs
- DataGridViewColumn.cs
- ManagementQuery.cs
- FontNamesConverter.cs
- BufferBuilder.cs
- ServiceMemoryGates.cs
- Size.cs
- EventToken.cs
- GatewayIPAddressInformationCollection.cs
- PartialCachingAttribute.cs