interface-design
What would be the benefit of an interface which implies a certain implementation?
I\'m looking at this: public interface IAjaxCallbackEventHandler : ICallbackEventHandler { string CallbackResponse { get; set; }[详细]
2023-03-04 06:41 分类:问答Return a vector knowing it will always contain a single record in order to be consistent with the rest of the interface?
I\'m writing a little address book application and have a design dilemna regarding the interface for the data source / backend.[详细]
2023-02-10 07:28 分类:问答Designing an Python API: Fluent interface or arguments
I\'m playing around with a simple port of the Protovis API开发者_JAVA技巧 to Python. Consider the simple bar chart example, in Javascript:[详细]
2023-01-18 22:59 分类:问答Dedicating a field in arbitrary class types for "external use"
My conta开发者_如何学编程iner needs to store a little information about its elements.Normally, I store this separately from elements.However, I\'d like to give users possibility to conserve memory by[详细]
2023-01-10 12:43 分类:问答Tabs vs. Home Screen For Android Application?
I have an Android application that I\'ve been working on, and it\'s implemented using tabs to separate the different functions that it performs.[详细]
2023-01-02 13:42 分类:问答Is there a pattern for initializing objects created via a DI container
I am trying to get Unity to manage the creation of my objects and I want to have some initialization parameters that are not known until run-time:[详细]
2022-12-14 09:58 分类:问答