mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
13 lines
350 B
C#
13 lines
350 B
C#
using Avalonia.Markup.Xaml;
|
|
using System;
|
|
|
|
namespace SourceGit.Views {
|
|
public class IntExtension : MarkupExtension {
|
|
public int Value { get; set; }
|
|
public IntExtension(int value) { this.Value = value; }
|
|
public override object ProvideValue(IServiceProvider serviceProvider) {
|
|
return Value;
|
|
}
|
|
}
|
|
}
|