Click here to Skip to main content
15,905,877 members
Home / Discussions / C#
   

C#

 
GeneralRe: ASCII code for Arabic(Farsi) letters Pin
Heath Stewart14-Jul-04 3:06
protectorHeath Stewart14-Jul-04 3:06 
GeneralRe: ASCII code for Arabic(Farsi) letters Pin
Hovik Melkomian15-Jul-04 4:24
Hovik Melkomian15-Jul-04 4:24 
GeneralRe: ASCII code for Arabic(Farsi) letters Pin
Heath Stewart19-Jul-04 2:10
protectorHeath Stewart19-Jul-04 2:10 
QuestionHow do Compare two DataTable Pin
jzb7-Jul-04 20:55
jzb7-Jul-04 20:55 
AnswerRe: How do Compare two DataTable Pin
Heath Stewart8-Jul-04 4:03
protectorHeath Stewart8-Jul-04 4:03 
GeneralArticle submission question… Pin
Ray Cassick7-Jul-04 18:59
Ray Cassick7-Jul-04 18:59 
GeneralRe: Article submission question… Pin
Heath Stewart8-Jul-04 3:58
protectorHeath Stewart8-Jul-04 3:58 
GeneralC# class and COM+ issue Pin
hatim_ali7-Jul-04 18:57
hatim_ali7-Jul-04 18:57 
Hi,

I've subclassed two classes inside classA. Theses subclasses are derived from classA. There are some virtual functions in classA with their implementation defined in those subclasses. Client can only see classA. Instances of classA will be created by a class factory. On basis of parameters passed to class factory, the factory creates new objects of subclasses and returns them to client. Following snippet demonstrates the idea.

<br />
public class classA<br />
{<br />
/* some non-virtual functions with implementation defined */<br />
/* some virtual functions with implementation defined in subclasses */<br />
<br />
internal class subclass1 : classA<br />
{<br />
/* implementation of virtual functions declared in class A */<br />
}<br />
<br />
internal class subclass2 : classA<br />
{<br />
/* implementation of virtual functions declared in class A */<br />
}<br />
} <br />


1) I want to run subclass1 objects into COM+ transaction. Is it possible because client never sees subclass1 although it uses subclass1. If possible how ??

2) Is it a good practice to do things this way. The idea behind was to provide client smplicity of using one class while acheiving the logical seperation at the backend for developer's ease.

Thanks in advance,

Regards,
Hatim Ali.
Generalabout software error detecting Pin
fu07-Jul-04 18:44
fu07-Jul-04 18:44 
QuestionEnvironment.SpecialFolder ?? Pin
azusakt7-Jul-04 17:45
azusakt7-Jul-04 17:45 
AnswerRe: Environment.SpecialFolder ?? Pin
Judah Gabriel Himango7-Jul-04 18:44
sponsorJudah Gabriel Himango7-Jul-04 18:44 
GeneralHOWTO: UserControl + Form Pin
Binoy Patel7-Jul-04 16:02
Binoy Patel7-Jul-04 16:02 
GeneralOutlook &quot;like&quot; Date Groupings Pin
pgraeve7-Jul-04 12:58
pgraeve7-Jul-04 12:58 
GeneralRe: Outlook &quot;like&quot; Date Groupings Pin
Werdna7-Jul-04 18:55
Werdna7-Jul-04 18:55 
GeneralRe: Outlook &quot;like&quot; Date Groupings Pin
pgraeve8-Jul-04 2:18
pgraeve8-Jul-04 2:18 
GeneralRe: Outlook &quot;like&quot; Date Groupings Pin
Gary Thom8-Jul-04 4:34
Gary Thom8-Jul-04 4:34 
Generalunderline Text in a Button Control Pin
isedf7-Jul-04 12:55
isedf7-Jul-04 12:55 
GeneralRe: underline Text in a Button Control Pin
Heath Stewart7-Jul-04 13:12
protectorHeath Stewart7-Jul-04 13:12 
Questionhow difficult does getting an instance by handle have to be? Pin
spazzman7-Jul-04 11:36
spazzman7-Jul-04 11:36 
AnswerRe: how difficult does getting an instance by handle have to be? Pin
Heath Stewart7-Jul-04 12:33
protectorHeath Stewart7-Jul-04 12:33 
AnswerRe: how difficult does getting an instance by handle have to be? Pin
MilesAhead11-Jul-04 16:44
MilesAhead11-Jul-04 16:44 
GeneralRe: how difficult does getting an instance by handle have to be? Pin
spazzman12-Jul-04 5:50
spazzman12-Jul-04 5:50 
GeneralRe: how difficult does getting an instance by handle have to be? Pin
MilesAhead12-Jul-04 6:55
MilesAhead12-Jul-04 6:55 
GeneralTreeView with ComboBoxes in TreeNodes Pin
theoutlander7-Jul-04 11:19
theoutlander7-Jul-04 11:19 
GeneralRe: TreeView with ComboBoxes in TreeNodes Pin
Heath Stewart7-Jul-04 12:38
protectorHeath Stewart7-Jul-04 12:38 

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.