상속: IAirEntity
예제 #1
0
        /// <summary>
        /// Initialises this instance.
        /// </summary>
        private void Initialise()
        {
            var airGraphTask = TryGetAsync <AirGraphNode>(1);

            airGraphTask.Wait();
            if (airGraphTask.Result == null)
            {
                var airGraph = new AirGraphNode {
                    Id = 1
                };
                var postTask = UpdateAsync(airGraph);
                postTask.Wait();

                if (Configuration.Bootstrapping != null)
                {
                    Configuration.Bootstrapping(this);
                }
            }
        }