Click here to Skip to main content
15,914,111 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Support for Agent Technology in .NET Framework Pin
Dave Kreskowiak3-Jan-06 10:15
mveDave Kreskowiak3-Jan-06 10:15 
QuestionBlobs (SQL and VS.NET) Pin
dortoh2-Jan-06 7:49
dortoh2-Jan-06 7:49 
AnswerRe: Blobs (SQL and VS.NET) Pin
Rob Graham2-Jan-06 8:27
Rob Graham2-Jan-06 8:27 
GeneralRe: Blobs (SQL and VS.NET) Pin
dortoh2-Jan-06 15:20
dortoh2-Jan-06 15:20 
GeneralRe: Blobs (SQL and VS.NET) Pin
Rob Graham4-Jan-06 3:57
Rob Graham4-Jan-06 3:57 
QuestionSecurity Exception Pin
zt.Prog2-Jan-06 4:18
zt.Prog2-Jan-06 4:18 
AnswerRe: Security Exception Pin
S. Senthil Kumar2-Jan-06 5:09
S. Senthil Kumar2-Jan-06 5:09 
QuestionDesign Question Pin
Andy *M*1-Jan-06 12:33
Andy *M*1-Jan-06 12:33 
I am doing a design where there is a menu of actions that the user can perform. This isn't about the user interface part. It is about the logic part. I've got a 3-teir architecture going and there are classes in the business logic layer that define what actions are available at a particular time. But there is a problem. I've discovered that there are 3 types of action, although there are many more actions than this. Some actions are optional (the user can choose whether or not to take those actions), some actions are mandatory (the user must take that action before a certain point. Before that point they may choose certain other optional actions, but not others), finally, there are potential actions (these are actions that the user has potentially available to them, but they must satisfy some other condition first before they can take that action. Some of those potential actions are optional and some are mandatory).

So far I have an action class. I also have a potential action class, and a mandatory action. The potential action class contains a field which is an action object. The mandatory action class is an abstract base class. The actual actions derive from either the action itself, or the mandatory action class.

What I am trying to do is keep coupling to a minimum, but I'm having problems with it. I also have a controller class that contains a list of the actions, this list is passed to the user interface. They user gets to see all the actions. However, if they pick a potential action where the condition is not met they get a message telling them what they need to do in order to take that action. The action of the potential action is to generate the message.

I don't know if I'm explaining myself very well. I guess that is part of my problem. If I could explain it well, I would understand it enough not to need to ask the question.

Any ideas would be welcome.
AnswerRe: Design Question Pin
Leslie Sanford1-Jan-06 13:44
Leslie Sanford1-Jan-06 13:44 
GeneralRe: Design Question Pin
Andy *M*1-Jan-06 14:36
Andy *M*1-Jan-06 14:36 
GeneralRe: Design Question Pin
Leslie Sanford1-Jan-06 15:37
Leslie Sanford1-Jan-06 15:37 
Questionclass String Pin
zpeng1-Jan-06 10:59
zpeng1-Jan-06 10:59 
AnswerRe: class String Pin
mikailcetinkaya2-Jan-06 21:38
mikailcetinkaya2-Jan-06 21:38 
GeneralRe: class String Pin
zpeng3-Jan-06 11:00
zpeng3-Jan-06 11:00 
QuestionDetecting the onscreen keyboard Pin
Andreas Ringdal1-Jan-06 4:59
Andreas Ringdal1-Jan-06 4:59 
AnswerRe: Detecting the onscreen keyboard Pin
mikailcetinkaya2-Jan-06 21:45
mikailcetinkaya2-Jan-06 21:45 
QuestionSend SMS From Within My PC Pin
ungmonirath@gmail.com31-Dec-05 21:51
ungmonirath@gmail.com31-Dec-05 21:51 
AnswerRe: Send SMS From Within My PC Pin
mikailcetinkaya2-Jan-06 21:24
mikailcetinkaya2-Jan-06 21:24 
QuestionURL parsing Pin
Ravi Bhavnani31-Dec-05 12:50
professionalRavi Bhavnani31-Dec-05 12:50 
AnswerRe: URL parsing Pin
leppie31-Dec-05 13:33
leppie31-Dec-05 13:33 
GeneralRe: URL parsing Pin
Ravi Bhavnani31-Dec-05 13:35
professionalRavi Bhavnani31-Dec-05 13:35 
QuestionAssembly.Load() Pin
HakunaMatada31-Dec-05 1:05
HakunaMatada31-Dec-05 1:05 
AnswerRe: Assembly.Load() Pin
Gerben Jongerius31-Dec-05 1:21
Gerben Jongerius31-Dec-05 1:21 
GeneralRe: Assembly.Load() Pin
HakunaMatada31-Dec-05 1:39
HakunaMatada31-Dec-05 1:39 
QuestionGiving UIPermissions to the .Net applet Pin
TheDen30-Dec-05 5:29
TheDen30-Dec-05 5:29 

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.