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
- SaveFileDialog.cs
- CustomTypeDescriptor.cs
- Delegate.cs
- BaseProcessProtocolHandler.cs
- TextBlockAutomationPeer.cs
- DockProviderWrapper.cs
- JsonFormatGeneratorStatics.cs
- Hash.cs
- ButtonFieldBase.cs
- ObjectHelper.cs
- InputLanguageEventArgs.cs
- GridSplitter.cs
- StateWorkerRequest.cs
- NestPullup.cs
- ExtensionQuery.cs
- xml.cs
- TypeInitializationException.cs
- EntityContainerRelationshipSetEnd.cs
- ApplicationDirectory.cs
- Schema.cs
- CellConstantDomain.cs
- CallSiteOps.cs
- StructureChangedEventArgs.cs
- HttpDebugHandler.cs
- LocalizationComments.cs
- VirtualizingStackPanel.cs
- OleDbDataReader.cs
- ImageSourceConverter.cs
- PenThread.cs
- WorkItem.cs
- ImageKeyConverter.cs
- XmlElementList.cs
- LocatorManager.cs
- GeometryModel3D.cs
- SqlTypesSchemaImporter.cs
- WsiProfilesElementCollection.cs
- SettingsSection.cs
- RawKeyboardInputReport.cs
- Update.cs
- TableLayoutSettingsTypeConverter.cs
- TextEffect.cs
- PageParserFilter.cs
- UInt16Converter.cs
- RegexWriter.cs
- DbMetaDataFactory.cs
- ObjectDataSourceWizardForm.cs
- DbParameterCollectionHelper.cs
- WebBrowser.cs
- LinqTreeNodeEvaluator.cs
- DoubleAnimationBase.cs
- SecurityKeyIdentifierClause.cs
- MimeReturn.cs
- BinaryWriter.cs
- ReadOnlyDataSource.cs
- IndexedWhereQueryOperator.cs
- AtomMaterializer.cs
- RuleSettings.cs
- ToolStripCustomTypeDescriptor.cs
- TypeInformation.cs
- PathStreamGeometryContext.cs
- XmlDocumentFragment.cs
- CustomAttribute.cs
- DesigntimeLicenseContext.cs
- ImportOptions.cs
- SqlXmlStorage.cs
- Tool.cs
- IssuerInformation.cs
- EncodingNLS.cs
- Section.cs
- SecurityDescriptor.cs
- AndCondition.cs
- TypeUtil.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ColumnClickEvent.cs
- FixedStringLookup.cs
- VariableBinder.cs
- DecoderFallbackWithFailureFlag.cs
- DependencyObjectType.cs
- XmlSerializerFactory.cs
- PaintValueEventArgs.cs
- ComponentResourceKeyConverter.cs
- StateElement.cs
- AccessKeyManager.cs
- URLString.cs
- SubMenuStyleCollectionEditor.cs
- ZoomComboBox.cs
- ConnectionInterfaceCollection.cs
- OleDbPermission.cs
- InstalledFontCollection.cs
- LostFocusEventManager.cs
- Expr.cs
- ServiceDocumentFormatter.cs
- ListViewItem.cs
- ContentPosition.cs
- MobileTextWriter.cs
- TreeViewAutomationPeer.cs
- LayoutDump.cs
- GAC.cs
- WeakHashtable.cs
- XamlReader.cs