Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How can I define an indexer method in an interface?
次のように、インデクサーを使用してインターフェイスを定義できます。
public interface Foo { int this[int i] { get; set; } }
このインターフェイスを実装するすべてのクラスは、getter と setter を使用してインデクサーを定義する必要があります。インターフェイスはインデクサーの実装を定義できません。インターフェースを定義するインターフェースを実装するクラスのみを要求できます。
始める前に英語で申し訳ありません..私はそれを上手に話せません..それで私はExtJS4のコンボボックスに問題があります..コンボボックスリストに空の行を追加しようとしましたが、それは大丈夫ではありません..私は持っています空の行のリストですが、それを選択しようとするとできません。誰かが私を助けたり、例を挙げたりできる場合は、
Ext.require