Skip to content

Commit f2d1587

Browse files
authored
Merge pull request #276 from XAMLMarkupExtensions/development
Release 3.8.0
2 parents a92e86d + ebd789e commit f2d1587

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#region Copyright information
2+
// <copyright file="BLoc.cs">
3+
// Licensed under Microsoft Public License (Ms-PL)
4+
// https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/blob/master/LICENSE
5+
// </copyright>
6+
// <author>Konrad Mattheis</author>
7+
#endregion
8+
9+
namespace WPFLocalizeExtension.ValueConverters
10+
{
11+
#region Usings
12+
using System;
13+
using System.Collections.Generic;
14+
using System.Linq;
15+
using System.Text;
16+
using System.Threading.Tasks;
17+
using System.Windows.Markup;
18+
#endregion
19+
20+
/// <summary>
21+
/// Baseclass for ValueTypeConvertes which implements easy usage as MarkupExtension
22+
/// </summary>
23+
public abstract class TypeValueConverterBase : MarkupExtension
24+
{
25+
#region MarkupExtension
26+
/// <inheritdoc/>
27+
public override object ProvideValue(IServiceProvider serviceProvider)
28+
{
29+
return this;
30+
}
31+
#endregion
32+
}
33+
}

0 commit comments

Comments
 (0)