答えて
ここに、新しいAPIで動作するコードがあります。私はAzure Dallasからそれを手に入れました。
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// Notice: Use of the service proxies that accompany this notice is subject to
// the terms and conditions of the license agreement located at
// http://go.microsoft.com/fwlink/?LinkID=202740&clcid=0x409
// If you do not agree to these terms you may not use this content.
namespace WolframAlpha {
using System;
using System.Collections.Generic;
using System.Data.Services.Client;
using System.Net;
using System.IO;
public partial class DefaultPodEntity {
private String _PlainText;
private String _Img;
private String _Title;
private String _ParentTitle;
private Int16 _ParentPosition;
private String _ParentId;
public String PlainText {
get {
return this._PlainText;
}
set {
this._PlainText = value;
}
}
public String Img {
get {
return this._Img;
}
set {
this._Img = value;
}
}
public String Title {
get {
return this._Title;
}
set {
this._Title = value;
}
}
public String ParentTitle {
get {
return this._ParentTitle;
}
set {
this._ParentTitle = value;
}
}
public Int16 ParentPosition {
get {
return this._ParentPosition;
}
set {
this._ParentPosition = value;
}
}
public String ParentId {
get {
return this._ParentId;
}
set {
this._ParentId = value;
}
}
}
public partial class HtmlPodEntity {
private String _Markup;
private String _Title;
private Int16 _Position;
private String _Id;
private String _Css;
private String _Scripts;
public String Markup {
get {
return this._Markup;
}
set {
this._Markup = value;
}
}
public String Title {
get {
return this._Title;
}
set {
this._Title = value;
}
}
public Int16 Position {
get {
return this._Position;
}
set {
this._Position = value;
}
}
public String Id {
get {
return this._Id;
}
set {
this._Id = value;
}
}
public String Css {
get {
return this._Css;
}
set {
this._Css = value;
}
}
public String Scripts {
get {
return this._Scripts;
}
set {
this._Scripts = value;
}
}
}
public partial class PlainTextPodEntity {
private String _PlainText;
private String _Title;
private String _ParentTitle;
private Int16 _ParentPosition;
private String _ParentId;
public String PlainText {
get {
return this._PlainText;
}
set {
this._PlainText = value;
}
}
public String Title {
get {
return this._Title;
}
set {
this._Title = value;
}
}
public String ParentTitle {
get {
return this._ParentTitle;
}
set {
this._ParentTitle = value;
}
}
public Int16 ParentPosition {
get {
return this._ParentPosition;
}
set {
this._ParentPosition = value;
}
}
public String ParentId {
get {
return this._ParentId;
}
set {
this._ParentId = value;
}
}
}
public partial class WolframAlphaFactsContainer : System.Data.Services.Client.DataServiceContext {
public WolframAlphaFactsContainer(Uri serviceRoot) :
base(serviceRoot) {
}
/// <summary>
/// </summary>
/// <param name="Input">Query string Sample Values : weather|msft|derivative of x^4 sin x|SAT scores</param>
/// <param name="Location">Location used for computation Sample Values : Madrid|Springfield, IL</param>
/// <param name="LatitudeLongitude">Latitude/Longitude used for computation Sample Values : 40.42,-3.71|-22.54,-43.12</param>
/// <param name="Width">Width in pixels for images returned Sample Values : 300|500</param>
public DataServiceQuery<DefaultPodEntity> GetImageResults(String Input, String Location, String LatitudeLongitude, Int16? Width) {
if ((Input == null)) {
throw new System.ArgumentNullException("Input", "Input value cannot be null");
}
DataServiceQuery<DefaultPodEntity> query;
query = base.CreateQuery<DefaultPodEntity>("GetImageResults");
if ((Input != null)) {
query = query.AddQueryOption("Input", string.Concat("\'", Input, "\'"));
}
if ((Location != null)) {
query = query.AddQueryOption("Location", string.Concat("\'", Location, "\'"));
}
if ((LatitudeLongitude != null)) {
query = query.AddQueryOption("LatitudeLongitude", string.Concat("\'", LatitudeLongitude, "\'"));
}
if (((Width != null)
&& (Width.HasValue == true))) {
query = query.AddQueryOption("Width", Width.Value);
}
return query;
}
/// <summary>
/// </summary>
/// <param name="Input">Query string Sample Values : weather|msft|derivative of x^4 sin x|SAT scores</param>
/// <param name="Location">Location used for computation Sample Values : Madrid|Springfield, IL</param>
/// <param name="LatitudeLongitude">Latitude/Longitude used for computation Sample Values : 40.42,-3.71|-22.54,-43.12</param>
/// <param name="Width">Width in pixels for images returned Sample Values : 300|500</param>
public DataServiceQuery<HtmlPodEntity> GetHtmlResults(String Input, String Location, String LatitudeLongitude, Int16? Width) {
if ((Input == null)) {
throw new System.ArgumentNullException("Input", "Input value cannot be null");
}
DataServiceQuery<HtmlPodEntity> query;
query = base.CreateQuery<HtmlPodEntity>("GetHtmlResults");
if ((Input != null)) {
query = query.AddQueryOption("Input", string.Concat("\'", Input, "\'"));
}
if ((Location != null)) {
query = query.AddQueryOption("Location", string.Concat("\'", Location, "\'"));
}
if ((LatitudeLongitude != null)) {
query = query.AddQueryOption("LatitudeLongitude", string.Concat("\'", LatitudeLongitude, "\'"));
}
if (((Width != null)
&& (Width.HasValue == true))) {
query = query.AddQueryOption("Width", Width.Value);
}
return query;
}
/// <summary>
/// </summary>
/// <param name="Input">Query string Sample Values : weather|msft|derivative of x^4 sin x|SAT scores</param>
/// <param name="Location">Location used for computation Sample Values : Madrid|Springfield, IL</param>
/// <param name="LatitudeLongitude">Latitude/Longitude used for computation Sample Values : 40.42,-3.71|-22.54,-43.12</param>
/// <param name="Width">Width in pixels for images returned Sample Values : 300|500</param>
public DataServiceQuery<PlainTextPodEntity> GetPlainTextResults(String Input, String Location, String LatitudeLongitude, Int16? Width) {
if ((Input == null)) {
throw new System.ArgumentNullException("Input", "Input value cannot be null");
}
DataServiceQuery<PlainTextPodEntity> query;
query = base.CreateQuery<PlainTextPodEntity>("GetPlainTextResults");
if ((Input != null)) {
query = query.AddQueryOption("Input", string.Concat("\'", Input, "\'"));
}
if ((Location != null)) {
query = query.AddQueryOption("Location", string.Concat("\'", Location, "\'"));
}
if ((LatitudeLongitude != null)) {
query = query.AddQueryOption("LatitudeLongitude", string.Concat("\'", LatitudeLongitude, "\'"));
}
if (((Width != null)
&& (Width.HasValue == true))) {
query = query.AddQueryOption("Width", Width.Value);
}
return query;
}
}
}
あなたはこれについてもっと詳しく知るためのリンクがありますか?私はそれを使って作業しようとしていますが、C#の新機能(Javaから来ている)ではコードをうまく動かすことができません(コンパイルすると結果が出力されないか、コンソールやラベルに)、それはAPPIDを渡すように見えません、あなたはそれを必要としないのですか? – Nick
@nick 'Console.Write(" Hello World ");'はコンソールにものを得る方法です。テキストボックスやラベルを画面に置き、 'label1.text =" hello world "と入力します。一度それをしたら、このクラスで作業してください。正直言って、私は1年以上でこれを見ていないので、私はそれを使う方法を忘れています。 Azure Dallasウェブサイトをチェックしてください。 – LamonteCristo
大丈夫、指示と迅速な対応に感謝します。 – Nick
- 1. C++バックエンドは、私はPythonのAPIに++ <a href="https://github.com/gtkqq/libwebqq.git" rel="noreferrer">libwebqq</a></p> <p>をC言語で書かれたライブラリをラップしていますブースト機能で定義されているタイプがあり
- 2. 辞書内の辞書付きPymongoクエリ?</p> <pre><code>{"ONE": {"TWO": {"THREE":"5"}}} </code></pre> <p>私は<a href="http://api.mongodb.org/python/current/api/pymongo/collection.html" rel="nofollow">Pymongo <code>find</code> API</a>を使用してMongoDBのを照会したいが、働いていない:
- 3. リボンジェネレータは、私が<a href="http://windowsribbon.codeplex.com/" rel="nofollow">http://windowsribbon.codeplex.com/</a></p> <p>からライブラリを使用してWindowsリボンAPIを使用するためのセットアップに自分の.NETのWinFormsアプリをしようとしています.ribbonファイル
- 4. Cで書かれたCSSセレクタエンジンはありますか?私は私が探しているものの例としてはC.</p> <p>で書かれたオープンソース<a href="http://www.w3.org/TR/css3-selectors/#selectors" rel="nofollow" title="CSS Selectors">CSS selector</a>エンジンの例を探しています
- 5. 目的は、製品タイプ「com.apple.product-type.framework」私は<a href="https://github.com/soundcloud/cocoa-api-wrapper" rel="nofollow">these instructions</a>を以下のiPhone用てSoundcloudのAPIラッパーを使用しようとしている今、私はこのエラーを取得してい
- 6. いつPromise.all()の句が実行されましたか?私は<a href="http://bluebirdjs.com/docs/api/promise.all.html" rel="nofollow">http://bluebirdjs.com/docs/api/promise.all.html</a></p> <p>特にコードから、このコードスニペットを見つめてる
- 7. ラップしているものにかかわらず、どの "a"タグがクリックされたときにクリックハンドラを処理する方法は?</p> <pre><code><a href="/foo">bar</a> <a href="/"> <div></div> </a> </code></pre> <p>そして、私はANY「」タグが(jQueryを使って)クリックされたときに処理ハンドラを書きたい:
- 8. DisplayTimeは、私が <a href="http://tooltipservice.codeplex.com/" rel="nofollow">http://tooltipservice.codeplex.com/</a></p> <p>を使用していますし、どのような値Iが設定されているため、私はこのコントロールに問題があり
- 9. PHP:それはPHP</p>私は新しいPDFを作成したURLの元<a href="http://www.cnn.com" rel="nofollow">http://www.cnn.com</a></p> <p>を読んで、サーバに格納したい <p>を使用して
- 10. jQueryのアヤックス、私は画像<a href="http://www.finalwebsites.com/demos/php_ajax_upload_example.php" rel="nofollow">http://www.finalwebsites.com/demos/php_ajax_upload_example.php</a></p> <p>をアップロードするには、このプラグインを使用しています。しかし、これは動作していないAJAX
- 11. は、私はSFTPを使用してファイルを転送する<a href="http://www.zehon.com/features.htm" rel="nofollow">Zehon SFTP client</a>を使用していZehonのSFTP API
- 12. PGTとPGTIOUの保存CASが生成する
- 13. アンドロイドのjava.lang.NullPointerException:私はCubeLayoutクラスで<br> <a href="https://github.com/justomiguel/AndroidCubeDemo" rel="nofollow">Android Cube Demo</a></p> <p>を使用していインタフェースメソッド
- 14. シングルDSLは、私は別の表現を生成するために、単一のDSLを使用してのアイデアが好きで、その目的のために、私は現在、<a href="https://github.com/caelum/hypertemplate" rel="nofollow">Hypertemplate</a>が<a href="https://github.com/caelum/restfulie" rel="nofollow">Restfulie</a>に詰め込ま使用してい
- 15. Djangoの良いセキュリティパターンとして、本当に「エスケープ」タグを使用していますか? <a href="http://www.djangobook.com/" rel="nofollow">The Django Book</a>の<a href="http://www.djangobook.com/en/1.0/chapter19/" rel="nofollow">the security chapter</a>で
- 16. なぜ私はこれを通貨で得るのですか?今までにユーロや英ポンドの通貨記号がありOpencartサイト</p> <p><a href="http://www.lutari.net" rel="nofollow">http://www.lutari.net</a></p> <p>を使用して
- 17. ダイナミックHREFタグは、しかし、私はJSX</p> <pre><code><a href="mailto: {this.props.email}">{this.props.email}</a> // => <a href="mailto: {this.props.email}"></a> </code></pre> <p>でHREFタグを、それを再作成するのに苦労していますJSX
- 18. ビジュアルスタジオで私のファイルのいくつかが「ショートカット」として作成されるのはなぜですか?</p> <p><a href="http://i.minus.com/jQi1qFTagyRVD.png" rel="nofollow">http://i.minus.com/jQi1qFTagyRVD.png</a></p> <p>そして、なぜそれが彼らの周りに移動するから私を防ぐん:
- 19. 受信したUDPパケットはLwIPスタックに入れられていますか?私は<strong>FreeRTOS埋め込みデバイスのための</strong>と<strong>LWIP</strong>を用い<strong>C</strong>プログラムを書いてい
- 20. HTMLイメージマップでは、これが現在のプロジェクト<a href="http://bit.ly/t43Sap" rel="nofollow">http://bit.ly/t43Sap</a></p> <p>である、それはここで私の落書きのようにそれを行うことが可能である、
- 21. Javascriptを私はアプリがEPUBリーダーは、単眼鏡ライブラリは、ここで本がロードされているされて</p> <p><a href="http://code.google.com/p/chaek/" rel="nofollow">http://code.google.com/p/chaek/</a></p> <p>次のリンクでサンプルアプリを発見し、それがで変更するために使用するアンドロイド3.0
- 22. 私は次のリンク <a href="http://www.jquery-steps.com/Examples" rel="nofollow">http://www.jquery-steps.com/Examples</a></p> <p>からフォームウィザードを使用しているフォームウィザード
- 23. Web API用のカスタムアクションフィルタを使用しますか? <a href="http://stevescodingblog.co.uk/fun-with-action-filters/">http://stevescodingblog.co.uk/fun-with-action-filters/</a></p> <p>私はそれを使用したいと思いますが、それはApiControllerのために動作しません、それは完全にそれを無視:
- 24. は私が<a href="http://livevalidation.com" rel="nofollow">livevalidation</a>プラグインを使用しています
- 25. は、私が<a href="http://apionrails.icalialabs.com/book/chapter_two" rel="nofollow">APIonRails tutorial</a>を使用しています
- 26. ハイライトは、私は次のコードを持っている<a href="https://github.com/mojombo/jekyll" rel="nofollow">jekyll</a></p> <p>で<a href="http://pygments.org/" rel="nofollow">pygments</a>を使用したい
- 27. このサーバの証明書は、私がnsurlconnectiondelegate以下の使用している場合、それは</p> <blockquote> <p>– connection:willSendRequestForAuthenticationChallenge: – connection:canAuthenticateAgainstProtectionSpace</p> </blockquote> <p>固定されることを知っている
- 28. は<a href="http://developer.android.com/training/camera/photobasics.html" rel="nofollow">http://developer.android.com/training/camera/photobasics.html</a></p> <p>コードから私は、コードを使用しています
- 29. SimpleForm 2:</p> <pre><code><div class="..."> <label>...</label> <input ... /> </div> </code></pre> <p>私はinputタグが内部そのものであるマークアップを取得したいと思います:デフォルトのsimple_form 2ラッパーを使用して、ラッパー
- 30. は、私は<a href="http://en.wikipedia.org/wiki/Microsoft_Blend" rel="nofollow noreferrer">Expression Blend</a> 4(<a href="https://en.wikipedia.org/wiki/Windows_Phone" rel="nofollow noreferrer">Windows Phone</a> 7のために)、私は(資産)のすべての行動がロードされている起動すると
どういうところ? –
VB用のライブラリは、バージョン1.0の「プレビュー」構文のように見えます。それは非常に時代遅れです。より良いラッパーへの参照はありがたいです – LamonteCristo
したがって、問題はVB.NETとは関係ありません。それは時代遅れのラッパーですか? VB.NETで動作すると、C# - * *で動作するためです。 –