TradersYard Social Trading
GetSharingSourceForTY(Action<IEnumerable<ISocialChannel>, Exception> callback)
GetSharingSourceForTY(Action<IEnumerable<ISocialChannel>, Exception> callback);protected override void OnInit()
{
GetSharingSourceForTY(GetChenalDes);
}
private void GetChenalDes(IEnumerable<ISocialChannel> channels, Exception exception)
{
if (exception == null)
{
foreach (var channel in channels)
if (channel.DisplayName.Equals("My Account"))
Log(string.Format("You can share post to {0}", channel.DisplayName),InfoLogLevel.Info);
}
else
{
Log(string.Format("You cant get TY channels list because: {0}", exception.Message), InfoLogLevel.Alert);
}
}GetPost()
GetChartPostWithAnalytics
GetChartPostWithOrdersSetup
GetChartPostWithAtPlusPlusSetupTool
SharePostToTY(SocialNetworkPost post, ISocialChannel source)
Last updated