maui-linux/Xamarin.Forms.Core/Configuration.cs

22 строки
454 B
C#

namespace Xamarin.Forms
{
public class Configuration<TPlatform, TElement> : IPlatformElementConfiguration<TPlatform, TElement>
where TPlatform : IConfigPlatform
where TElement : Element
{
public Configuration(TElement element)
{
Element = element;
}
public TElement Element { get; }
public static Configuration<TPlatform, TElement> Create(TElement element)
{
return new Configuration<TPlatform, TElement>(element);
}
}
}