private void CreateBTN_Click(object sender, RoutedEventArgs e) { CreateAgent createAgent = new CreateAgent(); createAgent.Show(); }
// Use this for initialization void Start() { Instance = this; }
/// <summary> /// Helper method to initiate the call that creates KeyValue item. /// </summary> /// <param name="clientIdentity">The hawaii client identity.</param> /// <param name="items">Specifies the KeyValue items to create.</param> /// <param name="onComplete">Specifies an "on complete" delegate callback.</param> /// <param name="stateObject">Specifies a user-defined object.</param> private static void CreateAsync( ClientIdentity clientIdentity, KeyValueItem[] items, ServiceAgent<SetResult>.OnCompleteDelegate onComplete, object stateObject) { CreateAgent agent = new CreateAgent( KeyValueService.HostName, clientIdentity, items, stateObject); agent.ProcessRequest(onComplete); }
private IEnumerable <Notification> When(CreateAgent message) { yield break; }