Add ScriptUI to support XAML file (#320)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / XamlBinding / Configuration.cs
1
2 namespace Tizen.NUI.Binding
3 {
4     internal class Configuration<TPlatform, TElement> : IPlatformElementConfiguration<TPlatform, TElement>
5             where TPlatform : IConfigPlatform
6             where TElement : Element
7
8     {
9         public Configuration(TElement element)
10         {
11             Element = element;
12         }
13
14         public TElement Element { get; }
15
16         public static Configuration<TPlatform, TElement> Create(TElement element)
17         {
18             return new Configuration<TPlatform, TElement>(element);
19         }
20     }
21 }