tagged [interface]

Accessing UI in a thread

Accessing UI in a thread When i try to change a UI property (specifically enable) my thread throws System.Threading.ThreadAbortException How do i access UI in a Thread.

2 Apr at 10:31

Why is there no multiple inheritance in Java, but implementing multiple interfaces is allowed?

Why is there no multiple inheritance in Java, but implementing multiple interfaces is allowed? Java doesn't allow multiple inheritance, but it allows implementing multiple interfaces. Why?

How to determine if a type implements an interface with C# reflection

How to determine if a type implements an interface with C# reflection `C#``System.Type`

10 Feb at 22:12

Interfaces vs Types in TypeScript

Interfaces vs Types in TypeScript What is the difference between these statements (`interface` vs `type`) in TypeScript?

Cast List<T> to List<Interface>

Cast List to List How can I cast `List` to `List`?

19 Jan at 11:38

Command-line svn for Windows?

Command-line svn for Windows? Is there a command-line based version of `svn` for Windows? I know I can get TortoiseSVN, but that just doesn't work for me.

18 Aug at 11:27

C# interface specfying a generic return type

C# interface specfying a generic return type I have something like: Is this possible???

13 Apr at 19:41

What is the maximum length of a C#/CLI identifier?

What is the maximum length of a C#/CLI identifier? Which other restrictions are there on names (beside the obvious uniqueness within a scope)? Where are those defined?

Esc and Enter keys in Cocoa dialog

Esc and Enter keys in Cocoa dialog How can I dismiss dialog in Cocoa application when user presses Esc or Enter key? I have OK button, is it possible to make it default button?

12 Oct at 03:7

Practical use of interface events

Practical use of interface events What is a good example of the power of interface events (declaring events inside interface)? Most of the times I have seen only public abstract methods inside interfa...

16 Jul at 14:11

How to read HardDisk Temperature?

How to read HardDisk Temperature? Is it possible to see the Harrdisk temperature with somekind of S.M.A.R.T API or anything like that? i just want the temp, nothing else in C#

10 Nov at 14:9

Handle click on a sub-item of ListView

Handle click on a sub-item of ListView How can I handle click on a sub-item of ListView (detail mode)? i.e. I need to detect what exactly column was clicked.

Threading: does c# have an equivalent of the Java Runnable interface?

Threading: does c# have an equivalent of the Java Runnable interface? Does c# have an equivalent of the Java Runnable interface? If not how could this be implemented or is it simply not needed? thanks...

17 Dec at 17:58

When do I need to use dispose() on graphics?

When do I need to use dispose() on graphics? I'm learning to draw stuff in C# and I keep seeing recommendations to use dispose(), but I don't quite understand what it does. - - - - -

20 Oct at 20:35

Non-virtual interface design pattern in C#/C++

Non-virtual interface design pattern in C#/C++ When designing an interface, someone recommended to use the non-virtual interface pattern. Can someone briefly outline what the benefits of this pattern ...

What instantiate-able types implementing IQueryable<T> are available in .Net 4.0?

What instantiate-able types implementing IQueryable are available in .Net 4.0? Within the context of C# on .Net 4.0, are there any built-in objects that implement `IQueryable`?

What is the reasoning behind the Interface Segregation Principle?

What is the reasoning behind the Interface Segregation Principle? The Interface Segregation Principle (ISP) says that many client specific interfaces are better than one general purpose interface. Why...

Checkbox in listview control

Checkbox in listview control Can you have a multicolumn listview control where one of the columns is a checkbox? Example code or links would be greatly appreciated. I am using visual studio 2005

Test if object implements interface

Test if object implements interface What is the simplest way of testing if an object implements a given interface in C#? (Answer to this question [in Java](https://stackoverflow.com/questions/766106/t...

23 May at 12:3

Convert Interface IDL file to C#

Convert Interface IDL file to C# I have an interface defined in an IDL file that I would like to use in C#. Is there a way to convert the IDL to something usable in C#?

20 Aug at 17:26

Partially implement an Interface

Partially implement an Interface I asked something similar but still I haven't got a clear idea. My objective is to partially implement an interface in *C#*. Is it possible? Is there any pattern to ac...

2 May at 02:31

Why implement interface explicitly?

Why implement interface explicitly? So, what exactly is a good use case for implementing an interface explicitly? Is it only so that people using the class don't have to look at all those methods/prop...

23 Oct at 18:31

The difference between the Runnable and Callable interfaces in Java

The difference between the Runnable and Callable interfaces in Java What is the difference between using the `Runnable` and `Callable` interfaces when designing a concurrent thread in Java, why would ...

Wiimote example programs

Wiimote example programs I'd like to use the Wiimote (accelerometers, gyroscopes, infrared camera, etc, etc, etc) on various applications. It's a bluetooth device, and I know others have connected it ...

19 Mar at 21:39

Overhead of implementing an interface

Overhead of implementing an interface One of my colleagues told me that implementing interfaces introduces overhead. Is this true? I am not concerned about micro optimizations; I just want to know the...

3 Apr at 20:33