Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting information about a process's handles. Pin
Dave Kreskowiak6-Mar-12 5:35
mveDave Kreskowiak6-Mar-12 5:35 
GeneralRe: Getting information about a process's handles. Pin
Septimus Hedgehog6-Mar-12 6:50
Septimus Hedgehog6-Mar-12 6:50 
GeneralRe: Getting information about a process's handles. Pin
Septimus Hedgehog6-Mar-12 23:51
Septimus Hedgehog6-Mar-12 23:51 
QuestionHow do you enforce use of dedicated factories? Pin
GParkings6-Mar-12 0:07
GParkings6-Mar-12 0:07 
AnswerRe: How do you enforce use of dedicated factories? Pin
BobJanova6-Mar-12 0:40
BobJanova6-Mar-12 0:40 
GeneralRe: How do you enforce use of dedicated factories? Pin
GParkings6-Mar-12 1:01
GParkings6-Mar-12 1:01 
GeneralRe: How do you enforce use of dedicated factories? Pin
BobJanova6-Mar-12 1:58
BobJanova6-Mar-12 1:58 
GeneralRe: How do you enforce use of dedicated factories? Pin
GParkings6-Mar-12 2:30
GParkings6-Mar-12 2:30 
I get your point with regards to flexibility of use being restricted by a factory

In my most recent implementation using a factory I was implementing a system whereby properties of a viewmodel would be backed by wrapped values to provide additional functionality (history tracking, validation etc).. a lot of the data for these wrapped values was to be declared on a static field definition (thinks such as notification logic, validation rules, unit derivation information etc). Each class would, therefore, have a static field catalog holding a collection of field definitions.

From the field catalog an instance 'state manager' object could be created that exposed the value wrappers. It was these value wrappers i didn't want directly instantiated as they would not be tied to a field definition.

This could have been achieved, i suppose, by instantiating the state manger and passing ti to the wrapper's constructor, however a lot of the instantiation process is automated by having it performed as part of the statemanager initialization

I hope that gives some insight into my thinking in that scenario

As for being a java developer, i'm a c# developer but in a previous job (early in my career) i worked for a company that used both java and c# (on the same product, java back end, c# client) and fell under the tutelage of a java dev ... so i will concede i may have picked up a few java-isms along the way Wink | ;)
Pedis ex oris
Quidquid latine dictum sit, altum sonatur

GeneralRe: How do you enforce use of dedicated factories? Pin
jschell6-Mar-12 8:54
jschell6-Mar-12 8:54 
AnswerRe: How do you enforce use of dedicated factories? Pin
Eddy Vluggen6-Mar-12 0:46
professionalEddy Vluggen6-Mar-12 0:46 
GeneralRe: How do you enforce use of dedicated factories? Pin
GParkings6-Mar-12 1:03
GParkings6-Mar-12 1:03 
AnswerRe: How do you enforce use of dedicated factories? Pin
Eddy Vluggen6-Mar-12 5:19
professionalEddy Vluggen6-Mar-12 5:19 
GeneralRe: How do you enforce use of dedicated factories? Pin
GParkings6-Mar-12 5:51
GParkings6-Mar-12 5:51 
GeneralRe: How do you enforce use of dedicated factories? Pin
Eddy Vluggen6-Mar-12 6:55
professionalEddy Vluggen6-Mar-12 6:55 
AnswerRe: How do you enforce use of dedicated factories? Pin
PIEBALDconsult6-Mar-12 2:28
mvePIEBALDconsult6-Mar-12 2:28 
AnswerRe: How do you enforce use of dedicated factories? Pin
SledgeHammer016-Mar-12 6:30
SledgeHammer016-Mar-12 6:30 
GeneralRe: How do you enforce use of dedicated factories? Pin
GParkings6-Mar-12 6:45
GParkings6-Mar-12 6:45 
GeneralRe: How do you enforce use of dedicated factories? Pin
SledgeHammer016-Mar-12 6:56
SledgeHammer016-Mar-12 6:56 
AnswerRe: How do you enforce use of dedicated factories? Pin
jschell6-Mar-12 8:48
jschell6-Mar-12 8:48 
AnswerRe: How do you enforce use of dedicated factories? Pin
jschell6-Mar-12 8:56
jschell6-Mar-12 8:56 
AnswerRe: How do you enforce use of dedicated factories? Pin
Clifford Nelson6-Mar-12 14:26
Clifford Nelson6-Mar-12 14:26 
GeneralRe: How do you enforce use of dedicated factories? Pin
BobJanova6-Mar-12 21:42
BobJanova6-Mar-12 21:42 
AnswerRe: How do you enforce use of dedicated factories? Pin
Clifford Nelson7-Mar-12 7:55
Clifford Nelson7-Mar-12 7:55 
GeneralRe: How do you enforce use of dedicated factories? Pin
lmoelleb8-Mar-12 1:39
lmoelleb8-Mar-12 1:39 
AnswerRe: How do you enforce use of dedicated factories? Pin
lmoelleb8-Mar-12 1:48
lmoelleb8-Mar-12 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.