» Home » implemented » Page 1
Is there any way to make a static method mandatory to be implemented in the implemented/derived class?
Category : Programming Languages

Since, an interface doesn't encompass a static method, is there any way to make a static method mandatory to be implemented in the implemented/derived class?


If not, is there any other way to achieve this objective?


I am actually making all my database classes look like this:


class MyClass : IMyClass, IPersistant
{
public int ID {get;set}
..

View Replies


Is ApplicationCache for FF/IE 10 fully implemented (or implemented correctly)?
Category : Development Tools & Services

Issue:


Unable to get Fallback resources to get served from applicationCache (Offline cache) when the browser is set to “Work Offline”.


Environment details:


Windows 7 64-bit SP 1
IE 10 ver. 10.0.9200.16438
Firefox ver. 18.0.1
IIS ver 7.5.7600.16385
.manifest MIME Type is text/cache-manifest

Manifest details:


FALLBACK:

View Replies


Is IoC typically implemented as a singleton? How is IoC implemented?
Category : Programming Languages

I plan on digging into one of the open source IoC containers to really figure this out 100%, but I figured I would ask the general community also (after not being able to find a direct answer in any of the closely related questions).


As far as I understand the typical IoC implementation, it seems that it is a global class that acts as a singleton with a knowledge of all dependencie


View Replies


Rspec says implemented method is not implemented
Category : Programming Languages

Below is an rspec test I'm running to test another class I've made. Unfortunately the method I'm trying to test (delete) does not seem to be working. What's throwing me is that the error message I'm getting from the Termianl is:


/Users/user/Ruby/localWikiClient/localwiki_client/spec/delete_spec:11:in 'block (2 levels) in <top (required)>': undefined method


View Replies


A* implemented in C
Category : Development Tools & Services

Where can I find an A* implementation in C?


I was looking around but it seems my google-fu is not strong enough. I've started writing my own implementation, but then I remembered Stack Overflow and I thought I should ask here first. It seems a bit complicated to write a real A* implementation - I was tempted to just write an implementation of Dijkstra's algorithm for a binary grid,


View Replies

TAGS : implemented

How is ACL implemented
Category : Programming Languages

i am using Zend_Acl, PHP and is wondering how shld ACLs be implemented.


shld every page be a resource and i always query the acl to see if a user is authorized? i guess i must use this if i want to use a controller plugin (can be setup to run on every request) to check if a user is allowed?


or do i just put the query code where i need it? eg. at the top of


View Replies

TAGS : implemented

Is c# ref int foo implemented as C++ int **foo?
Category : C & C++ & C#

I was talking with a coworker about this yesterday and it got me thinking about .Net's pass by reference.


// C#
class Foo {}
static void Test(ref Foo foo) { ... };
static void Main()
{
Foo f;
Test(ref foo);
}

Has to be implemented with a double indirection because we're changing the value of the pointer. Because all


View Replies

TAGS : implemented

Can an SVG pattern be implemented in D3?
Category : Web Design

I tried:


var pattern = d3.select("#container").append("svg:pattern");
pattern.append("svg:defs") ... //and so on

but ran into errors on append("svg:pattern") so I assume that is not implemented in d3 yet.


My solution was to simply run the SVG code outside of d3 which worked fine since I did not need the power of d3 for this pie


View Replies


Example of a winforms app implemented as a wpf app?
Category : Programming Languages

I'm trying to learn more about WPF and I've read a bit about Model-View-ViewModel (MVVM) but if I were to create a WPF app I think I would still do things, out of habit, the same way I did in winforms. Which from my understand is going to eventually code me into a corner.


So to one way for me to learn the 'right' way is to compare and contrast an existing, simple winforms app that


View Replies


C#: How should ToString() be implemented?
Category : Programming Languages

The problems are:


GUI libraries like to use ToString as a default representation for classes. There it needs to be localized.
ToString is used for logging. There it should provide programming related information, is not translated and includes internal states like surrogate keys and enum values.
ToString is used by many string operations

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .