public static IEnumerable <KeyValuePair <string, string> > GetAdditionalDependencies(IAssembly assembly) { return(AttributeReader.ReadAttributes <AdditionalDependencyAttribute>(assembly.AssemblyAttributes) .Select(a => new KeyValuePair <string, string>(a.ModuleName, a.InstanceName))); }
public GradientView(Context context, IAttributeSet attrs) : base(context, attrs) { Drawable = new GradientDrawable(this); _attributeReader.ReadAttributes(this, context, attrs); }