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; } }
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); } }