1 // 2 // Copyright (c) 2010-2018 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 System; 9 10 namespace Antmicro.Renode.Peripherals.Bus 11 { 12 [AttributeUsage(AttributeTargets.Class)] 13 public class AllowedTranslationsAttribute : Attribute 14 { AllowedTranslationsAttribute(AllowedTranslation allowedTranslations)15 public AllowedTranslationsAttribute(AllowedTranslation allowedTranslations) 16 { 17 this.allowedTranslations = allowedTranslations; 18 } 19 20 public AllowedTranslation AllowedTranslations 21 { 22 get 23 { 24 return allowedTranslations; 25 } 26 } 27 28 private readonly AllowedTranslation allowedTranslations; 29 } 30 } 31 32