protected virtual void OnObjectPut(ObjectPutEventArgs e) { EventHandler <ObjectPutEventArgs> handler = ObjectPut; if (handler != null) { handler(this, e); } }
public void JustPut(object sender, ObjectPutEventArgs e) { Console.WriteLine("Path to save object is " + e.Path.Path + " on thread " + System.Threading.Thread.CurrentThread.GetHashCode()); if (null != e.Context) { Console.WriteLine("Context is " + e.Context.ToString()); } }
public void HandleWmiObjectPutOp(object sender, ObjectPutEventArgs e) { Console.WriteLine(DateTime.UtcNow.ToString("o") + " : Object Put: " + e); }
public void Done(object sender, ObjectPutEventArgs e) { Console.WriteLine(ii); args = e; isComplete = true; }
public void OnObjectPut(object sender, ObjectPutEventArgs ea) { Console.WriteLine("Updated {0}", ea.Path); }