Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Framework / System / Windows / Markup / Localizer / BamlLocalizerErrorNotifyEventArgs.cs / 1 / BamlLocalizerErrorNotifyEventArgs.cs
//------------------------------------------------------------------------
//
// Microsoft Windows Client Platform
// Copyright (C) Microsoft Corporation, 2001
//
// File: BamlLocalizerErrorNotifyEventArgs.cs
//
// Created: 2/27/2006 Garyyang
//-----------------------------------------------------------------------
using System;
namespace System.Windows.Markup.Localizer
{
///
/// The EventArgs for the BamlLocalizer.ErrorNotify event.
///
public class BamlLocalizerErrorNotifyEventArgs : EventArgs
{
BamlLocalizableResourceKey _key; // The key of the localizable resources related to the error
BamlLocalizerError _error; // The error code.
internal BamlLocalizerErrorNotifyEventArgs(BamlLocalizableResourceKey key, BamlLocalizerError error)
{
_key = key;
//
_error = error;
}
///
/// The key of the BamlLocalizableResource related to the error
///
public BamlLocalizableResourceKey Key { get { return _key; } }
///
/// The error encountered by BamlLocalizer
///
public BamlLocalizerError Error { get { return _error; } }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------
//
// Microsoft Windows Client Platform
// Copyright (C) Microsoft Corporation, 2001
//
// File: BamlLocalizerErrorNotifyEventArgs.cs
//
// Created: 2/27/2006 Garyyang
//-----------------------------------------------------------------------
using System;
namespace System.Windows.Markup.Localizer
{
///
/// The EventArgs for the BamlLocalizer.ErrorNotify event.
///
public class BamlLocalizerErrorNotifyEventArgs : EventArgs
{
BamlLocalizableResourceKey _key; // The key of the localizable resources related to the error
BamlLocalizerError _error; // The error code.
internal BamlLocalizerErrorNotifyEventArgs(BamlLocalizableResourceKey key, BamlLocalizerError error)
{
_key = key;
//
_error = error;
}
///
/// The key of the BamlLocalizableResource related to the error
///
public BamlLocalizableResourceKey Key { get { return _key; } }
///
/// The error encountered by BamlLocalizer
///
public BamlLocalizerError Error { get { return _error; } }
}
}
// 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
- SoapWriter.cs
- Int32CollectionValueSerializer.cs
- SelectionPattern.cs
- DefaultParameterValueAttribute.cs
- ReachDocumentReferenceCollectionSerializer.cs
- XmlObjectSerializerReadContextComplexJson.cs
- SystemTcpConnection.cs
- DBSqlParserColumnCollection.cs
- _SpnDictionary.cs
- IListConverters.cs
- ToolbarAUtomationPeer.cs
- DependencyObjectType.cs
- CollectionViewGroupInternal.cs
- FlowDocumentPaginator.cs
- VirtualizingPanel.cs
- Internal.cs
- KnownBoxes.cs
- ObjectNotFoundException.cs
- TextBreakpoint.cs
- ObjectQuery.cs
- DataBinder.cs
- MatrixAnimationUsingKeyFrames.cs
- CheckBoxStandardAdapter.cs
- SqlConnection.cs
- XmlSchema.cs
- WebPartMinimizeVerb.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ContainerControl.cs
- MsmqHostedTransportManager.cs
- ListViewGroupConverter.cs
- UniqueIdentifierService.cs
- MethodBuilderInstantiation.cs
- RadioButtonBaseAdapter.cs
- GradientStop.cs
- InstanceCompleteException.cs
- RepeaterItem.cs
- StreamingContext.cs
- XmlSequenceWriter.cs
- StyleHelper.cs
- SourceFilter.cs
- FontInfo.cs
- TextUtf8RawTextWriter.cs
- DataFormats.cs
- _ProxyRegBlob.cs
- UnlockCardRequest.cs
- FileReservationCollection.cs
- Pkcs9Attribute.cs
- MatrixConverter.cs
- ImageAutomationPeer.cs
- ErrorActivity.cs
- LayoutInformation.cs
- EnumConverter.cs
- BuilderPropertyEntry.cs
- PopupRootAutomationPeer.cs
- DataGridPagerStyle.cs
- WmlPageAdapter.cs
- XPathDocumentBuilder.cs
- ValidatorAttribute.cs
- RequestTimeoutManager.cs
- PartialList.cs
- OrderedParallelQuery.cs
- TextRunCacheImp.cs
- FlowDocumentPaginator.cs
- VirtualDirectoryMapping.cs
- SystemIPGlobalProperties.cs
- Events.cs
- MultiSelector.cs
- DropTarget.cs
- StateRuntime.cs
- WFItemsToSpacerVisibility.cs
- ISSmlParser.cs
- WebZoneDesigner.cs
- Method.cs
- ExpandableObjectConverter.cs
- ComboBoxRenderer.cs
- ChangeProcessor.cs
- TaiwanCalendar.cs
- Propagator.cs
- ListDictionary.cs
- DataGridViewCheckBoxCell.cs
- DistributedTransactionPermission.cs
- Polyline.cs
- Object.cs
- HttpCapabilitiesSectionHandler.cs
- RequestUriProcessor.cs
- TypeBuilder.cs
- DbProviderConfigurationHandler.cs
- ObjectNavigationPropertyMapping.cs
- ProfileBuildProvider.cs
- WindowsListViewItemCheckBox.cs
- Shape.cs
- BindingElement.cs
- ViewStateModeByIdAttribute.cs
- PrintingPermission.cs
- ListViewSortEventArgs.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- HMACMD5.cs
- XhtmlBasicFormAdapter.cs
- SyndicationCategory.cs
- MatrixCamera.cs