One thing that might be worth mentioning - or not - the base type for my
custom provider implementation is System.MonoType.

On 2 August 2012 14:40, Goncalo Oliveira <[email protected]> wrote:

> Has anyone used https://github.com/soundnRg/Crasher successfully?
>
> I have created an Application class
>
>     [Application]
>     [Crasher( UseCustomData = true, CustomDataProviders = new[] { typeof(
> FMobileDataReportProvider ) } )]
>     [GoogleFormReporterSettings(
> "1QFCaT40v8_G4F0_UZMQ4t7i51l0mHJKkpmYjLwdCZxQ" )]
>     public class FMobileApplication : Application
>
> and an implementation class for ICustomReportDataProvider
>
>     public class FMobileDataReportProvider : ICustomReportDataProvider
>     {
>         public IDictionary<string, string> GetReportData( Context context )
>         {
>             return ( new Dictionary<string, string>
>             {
>                 { "CustomReportProvider", "Data from
> FMobileDataReportProvider" }
>             } );
>         }
>     }
>
> but it's throwing an exception in the CrasherAttribute class here
>
>         public Type[] CustomDataProviders
>         {
>             get { return _customDataProviders; }
>             set
>             {
>                 *if (!value.All(type =>
> type.IsAssignableFrom(typeof(ICustomReportDataProvider))))*
>
> Any thoughts?
>
> Cheers.
>
> --
> Gonçalo Oliveira
>



-- 
Gonçalo Oliveira
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to