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
- DataTableMapping.cs
- Crc32Helper.cs
- OleDbParameterCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Error.cs
- RuntimeHandles.cs
- DebugView.cs
- ExecutorLocksHeldException.cs
- WebPartDeleteVerb.cs
- AssemblyName.cs
- ResourceReferenceExpression.cs
- TextWriter.cs
- TemplateXamlParser.cs
- InvokePattern.cs
- cookiecollection.cs
- ObjectContextServiceProvider.cs
- SQLMembershipProvider.cs
- DefaultParameterValueAttribute.cs
- AttachmentCollection.cs
- UIPermission.cs
- DataGridViewTextBoxEditingControl.cs
- VirtualDirectoryMappingCollection.cs
- ChangePassword.cs
- SymbolMethod.cs
- GeneralTransform3DGroup.cs
- SessionStateItemCollection.cs
- HashCodeCombiner.cs
- XmlQueryOutput.cs
- EntityStoreSchemaFilterEntry.cs
- IgnoreFileBuildProvider.cs
- DbDataAdapter.cs
- ThicknessKeyFrameCollection.cs
- EmptyStringExpandableObjectConverter.cs
- UIElement3D.cs
- ServerValidateEventArgs.cs
- SetIndexBinder.cs
- SiteMapNodeCollection.cs
- QuaternionAnimationBase.cs
- VBCodeProvider.cs
- WindowVisualStateTracker.cs
- CellConstantDomain.cs
- Math.cs
- QuaternionRotation3D.cs
- ListDictionaryInternal.cs
- ComplexBindingPropertiesAttribute.cs
- OdbcEnvironmentHandle.cs
- CheckedPointers.cs
- XmlCountingReader.cs
- OleDbException.cs
- ParentControlDesigner.cs
- NTAccount.cs
- AnnouncementClient.cs
- RuleConditionDialog.cs
- ServiceConfigurationTraceRecord.cs
- PropertyGeneratedEventArgs.cs
- TypedTableBase.cs
- XamlTypeWithExplicitNamespace.cs
- PipelineModuleStepContainer.cs
- LogReserveAndAppendState.cs
- StringUtil.cs
- QilUnary.cs
- ListBoxAutomationPeer.cs
- XmlConvert.cs
- MsmqInputChannelListener.cs
- XmlSchemaProviderAttribute.cs
- HttpStreamXmlDictionaryWriter.cs
- PolicyStatement.cs
- LambdaCompiler.Statements.cs
- ErrorStyle.cs
- StateMachineHistory.cs
- XmlSchemaException.cs
- ChannelServices.cs
- ResizingMessageFilter.cs
- InArgument.cs
- SimpleHandlerBuildProvider.cs
- TemplateField.cs
- PolyLineSegment.cs
- ExtentJoinTreeNode.cs
- PassportPrincipal.cs
- SerializationInfoEnumerator.cs
- returneventsaver.cs
- BoundPropertyEntry.cs
- CodeTypeReferenceSerializer.cs
- BamlLocalizableResource.cs
- InvokeSchedule.cs
- CalendarBlackoutDatesCollection.cs
- TimeSpanStorage.cs
- LinkLabel.cs
- TlsSspiNegotiation.cs
- BaseTemplateBuildProvider.cs
- SamlAuthenticationStatement.cs
- ClientSideQueueItem.cs
- DataGridTextBox.cs
- COM2ExtendedBrowsingHandler.cs
- URLString.cs
- Stylesheet.cs
- ImportCatalogPart.cs
- ContourSegment.cs
- CounterSample.cs
- FixedStringLookup.cs