Skip to content

Commit

Permalink
Added PalPay to PluginBase
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Feb 24, 2022
1 parent 8830250 commit 7a90ff8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 6 additions & 2 deletions FetchXmlBuilder/FetchXMLBuilderPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ namespace Cinteros.Xrm.FetchXmlBuilder
ExportMetadata("BackgroundColor", "#FFFFC0"),
ExportMetadata("PrimaryFontColor", "#0000C0"),
ExportMetadata("SecondaryFontColor", "#0000FF")]
public partial class FetchXMLBuilderPlugin : PluginBase
public partial class FetchXMLBuilderPlugin : PluginBase, IPayPalPlugin
{
public string DonationDescription => "FetchXML Builder Fan Club";

public string EmailAccount => "jonas@rappen.net";

public override IXrmToolBoxPluginControl GetControl() => new FetchXmlBuilder();

//public override Guid GetId() => XrmToolBoxToolIds.FetchXMLBuilder;
public override Guid GetId() => XrmToolBoxToolIds.FetchXMLBuilder;
}
}
10 changes: 2 additions & 8 deletions FetchXmlBuilder/FetchXmlBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,9 @@ private void Error_UnhandledException(object sender, UnhandledExceptionEventArgs

#region Public Properties

public string DonationDescription
{
get { return "FetchXML Builder Fan Club"; }
}
public string DonationDescription => "FetchXML Builder Fan Club";

public string EmailAccount
{
get { return "jonas@rappen.net"; }
}
public string EmailAccount => "jonas@rappen.net";

public string HelpUrl
{
Expand Down

0 comments on commit 7a90ff8

Please sign in to comment.