1 //
2 // Copyright (c) 2010-2023 Antmicro
3 // Copyright (c) 2011-2015 Realtime Embedded
4 //
5 // This file is licensed under the MIT License.
6 // Full license text is available in 'licenses/MIT.txt'.
7 //
8 using Antmicro.Migrant;
9 using System;
10 
11 namespace Antmicro.Renode.Utilities.Binding
12 {
13     [AttributeUsage(AttributeTargets.Field)]
14     public class ImportAttribute : TransientAttribute
15     {
16         public string Name { get; set; }
17         public bool UseExceptionWrapper { get; set; } = true;
18         // By default all [Import]s are required
19         public bool Optional { get; set; }
20     }
21 }
22 
23