public override void GotFeedback(NITFeedback Feedback, NITTrackingInfo TrackingInfo) { XCFeedbackNotification XFeedback = AdapterFeedback.GetCommonType(Feedback); if (NearPCL.GetContentManager() != null) { NearPCL.GetContentManager().GotXFeedbackNotification(XFeedback); } else { Console.WriteLine("You receive a content but you haven't registered a content manager"); } }
public override void GotSimpleNotification(NITSimpleNotification Notification, NITTrackingInfo TrackingInfo) { XCSimpleNotification XSimple = AdapterSimple.GetCommonType(Notification); if (NearPCL.GetContentManager() != null) { NearPCL.GetContentManager().GotXSimpleNotification(XSimple); } else { Console.WriteLine("You receive a content but you haven't registered a content manager"); } }
public override void GotCustomJSON(NITCustomJSON CustomJSON, NITTrackingInfo TrackingInfo) { XCCustomJSONNotification XCustomJSON = AdapterCustom.GetCommonType(CustomJSON); if (NearPCL.GetContentManager() != null) { NearPCL.GetContentManager().GotXCustomJSONNotification(XCustomJSON); } else { Console.WriteLine("You receive a content but you haven't registered a content manager"); } }
public override void GotCoupon(NITCoupon Coupon, NITTrackingInfo TrackingInfo) { XCCouponNotification XCoupon = AdapterCoupon.GetCommonType(Coupon); if (NearPCL.GetContentManager() != null) { NearPCL.GetContentManager().GotXCouponNotification(XCoupon); } else { Console.WriteLine("You receive a content but you haven't registered a content manager"); } }
public void GotSimpleNotification(SimpleNotification p0, TrackingInfo p1) { XCSimpleNotification XSimple = AdapterSimple.GetCommonType(p0); if (NearPCL.GetContentManager() != null) { NearPCL.GetContentManager().GotXSimpleNotification(XSimple); } else { Console.WriteLine("You receive a content but you haven't registered a content manager"); } }
public void GotContentNotification(Content p0, TrackingInfo p1) { XCContentNotification XContent = AdapterContent.GetCommonType(p0); if (NearPCL.GetContentManager() != null) { NearPCL.GetContentManager().GotXContentNotification(XContent); } else { Console.WriteLine("You receive a content but you haven't registered a content manager"); } }
public MainPage() { InitializeComponent(); NearPCL.SetContentManager(this); }