// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.Bal
{
using WixToolset.Data;
using WixToolset.Extensibility;
///
/// The WiX Toolset Bal Extension.
///
public sealed class BalExtensionData : BaseExtensionData
{
///
/// Gets the default culture.
///
/// The default culture.
public override string DefaultCulture => "en-US";
public override bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition)
{
symbolDefinition = BalSymbolDefinitions.ByName(name);
return symbolDefinition != null;
}
public override Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions)
{
return Intermediate.Load(typeof(BalExtensionData).Assembly, "WixToolset.Bal.bal.wixlib", symbolDefinitions);
}
}
}