예제 #1
0
 public static async Task ComoListaDeEnderecosAsync(this IViaCepFluentPorEndereco fluent, Action <IEnumerable <Endereco> > callback)
 => callback(await fluent.ComoListaDeEnderecosAsync());
예제 #2
0
 public static void ComoListaDeEnderecos(this IViaCepFluentPorEndereco fluent, Action <IEnumerable <Endereco> > callback)
 => callback(fluent.ComoListaDeEnderecos());
예제 #3
0
 public static async Task ComoXmlAsync(this IViaCepFluentPorEndereco fluent, Action <XDocument> callback)
 => callback(await fluent.ComoXmlAsync());
예제 #4
0
 public static void ComoXml(this IViaCepFluentPorEndereco fluent, Action <XDocument> callback)
 => callback(fluent.ComoXml());
예제 #5
0
 public static async Task ComoJsonAsync(this IViaCepFluentPorEndereco fluent, Action <string> callback)
 => callback(await fluent.ComoJsonAsync());
예제 #6
0
 public static void ComoJson(this IViaCepFluentPorEndereco fluent, Action <string> callback)
 => callback(fluent.ComoJson());