Click here to Skip to main content
15,791,108 members
Home / Discussions / C#
   

C#

 
GeneralRe: i want to save a image form serialization.... Pin
Mark Salsbery26-Sep-08 7:54
Mark Salsbery26-Sep-08 7:54 
GeneralRe: i want to save a image form serialization.... Pin
maifs26-Sep-08 22:12
maifs26-Sep-08 22:12 
Questionhow to load Pdf file to file test to RichText Box Pin
wasimsharp26-Sep-08 2:02
wasimsharp26-Sep-08 2:02 
AnswerRe: how to load Pdf file to file test to RichText Box Pin
Simon P Stevens26-Sep-08 5:44
Simon P Stevens26-Sep-08 5:44 
AnswerRe: how to load Pdf file to file test to RichText Box Pin
John Ad26-Sep-08 8:40
John Ad26-Sep-08 8:40 
Questiontextbox control managing behaviour of editing content Pin
Witoldek26-Sep-08 1:59
Witoldek26-Sep-08 1:59 
AnswerRe: textbox control managing behaviour of editing content Pin
Anthony Mushrow26-Sep-08 2:22
professionalAnthony Mushrow26-Sep-08 2:22 
QuestionC# reflection? Pin
ppayal26-Sep-08 1:57
ppayal26-Sep-08 1:57 
Hi,

I have a class as under:

public class ExampleClass : BaseClass

{

        public int ExampleMethod(int _toValidate)  {

              ExampleValidator(_toValidate);

               return 1;

 }

}


The ExampleValidator method is contained in the BaseClass. It is used to validate the parameter _toValidate. The ExampleValidator check is very important and every method in the class ExampleClass should contain it. I want to create a unit test for this class ExampleClass, to test if every method does contain the ExampleValidator. How can I do that?

Can reflection help me?

Regards,
ap.
AnswerRe: C# reflection? Pin
Simon P Stevens26-Sep-08 5:07
Simon P Stevens26-Sep-08 5:07 
QuestionFileStream Pin
kk.tvm25-Sep-08 23:24
kk.tvm25-Sep-08 23:24 
AnswerRe: FileStream Pin
Programm3r25-Sep-08 23:34
Programm3r25-Sep-08 23:34 
GeneralRe: FileStream Pin
kk.tvm26-Sep-08 1:21
kk.tvm26-Sep-08 1:21 
Questionget current instance of visual studio IDE Pin
Vinod C S25-Sep-08 23:22
Vinod C S25-Sep-08 23:22 
QuestionChange registry key in Vista Pin
sarabjs25-Sep-08 23:06
sarabjs25-Sep-08 23:06 
AnswerRe: Change registry key in Vista Pin
Guffa25-Sep-08 23:15
Guffa25-Sep-08 23:15 
AnswerRe: Change registry key in Vista Pin
DaveyM6926-Sep-08 1:41
professionalDaveyM6926-Sep-08 1:41 
QuestionHelp Pls, How to get text from textbox or label on forms with winapi Pin
TALHAKOSEN25-Sep-08 23:04
TALHAKOSEN25-Sep-08 23:04 
AnswerRe: Help Pls, How to get text from textbox or label on forms with winapi Pin
Alan Balkany26-Sep-08 4:05
Alan Balkany26-Sep-08 4:05 
GeneralRe: Help Pls, How to get text from textbox or label on forms with winapi Pin
TALHAKOSEN26-Sep-08 4:08
TALHAKOSEN26-Sep-08 4:08 
QuestionHow to turn off UAC using c#? Pin
lovnin25-Sep-08 23:03
lovnin25-Sep-08 23:03 
AnswerRe: How to turn off UAC using c#? Pin
c242326-Sep-08 1:10
c242326-Sep-08 1:10 
AnswerRe: How to turn off UAC using c#? Pin
DaveyM6926-Sep-08 1:44
professionalDaveyM6926-Sep-08 1:44 
AnswerRe: How to turn off UAC using c#? Pin
Paul Conrad26-Sep-08 6:58
professionalPaul Conrad26-Sep-08 6:58 
QuestionOnline Media Player Pin
manishgkumar25-Sep-08 23:02
manishgkumar25-Sep-08 23:02 
AnswerRe: Online Media Player Pin
Ashfield26-Sep-08 2:22
Ashfield26-Sep-08 2:22 

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.