コード例 #1
0
            public Initialise(Activity activity)
            {
                this.activity = activity;
                Console.WriteLine("*******************************************GetLocationActor Initiliase");
                getLocation GetLocation = new getLocation(activity);

                GetLocation.findLocation();
            }
コード例 #2
0
        public GetLocationActor(IActorRef getLocationActor, Context mContext)
        {
            Console.WriteLine("*******************************************GetLocationActor");
            Console.WriteLine("//////////////Actor getLocation: " + Self);
            if (!Code.User.CheckInternetConnection())
            {
                throw new Exception();
            }
            getLocation GetLocation = new getLocation(mContext);

            GetLocation.findLocation();
        }