public static IEnumerable<InstrumentationAttribute> FromCustomAttributeProvider(ICustomAttributeProvider provider)
 {
     foreach (CustomAttribute attr in provider.GetCustomAttributes ("Android.App.InstrumentationAttribute")) {
         InstrumentationAttribute self = new InstrumentationAttribute ();
         self.specified = mapping.Load (self, attr);
         yield return self;
     }
 }
Esempio n. 2
0
 public static IEnumerable <InstrumentationAttribute> FromCustomAttributeProvider(ICustomAttributeProvider provider)
 {
     foreach (CustomAttribute attr in provider.GetCustomAttributes("Android.App.InstrumentationAttribute"))
     {
         InstrumentationAttribute self = new InstrumentationAttribute();
         self.specified = mapping.Load(self, attr);
         yield return(self);
     }
 }