示例#1
0
        public TElement New(DirectoryInfo path)
        {
            TElement conversation = m_makeEmpty(path);

            m_data.Add(conversation.Id, conversation);
            Added.Execute(conversation);
            return(conversation);
        }
示例#2
0
 /// <summary>
 ///     Sends a query to a vehicle requesting a sensor value.
 ///     Adds a callback to the callback Dictionary
 ///     Non-blocking, the order the Queries are sent will not neccessarily be the order the Quiers are returned.
 /// </summary>
 /// <param name="q">Query object to send to Rover</param>
 /// Exceptions are allowed to bubble
 public void Send(Query q)
 {
     SendRaw(q, _callbacks.Add(q.Callback), q.GetType().Name);
 }