Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
GeneralRe: implementing wildcard match method Pin
AndrusM28-Sep-08 22:44
AndrusM28-Sep-08 22:44 
QuestionSystem.Security.Cryptography for encrypting binary files (not plain text) Pin
Cyrilix26-Sep-08 9:01
Cyrilix26-Sep-08 9:01 
AnswerRe: System.Security.Cryptography for encrypting binary files (not plain text) Pin
Ennis Ray Lynch, Jr.26-Sep-08 10:06
Ennis Ray Lynch, Jr.26-Sep-08 10:06 
GeneralRe: System.Security.Cryptography for encrypting binary files (not plain text) Pin
Cyrilix26-Sep-08 10:42
Cyrilix26-Sep-08 10:42 
GeneralRe: System.Security.Cryptography for encrypting binary files (not plain text) Pin
Cyrilix26-Sep-08 12:44
Cyrilix26-Sep-08 12:44 
GeneralRe: System.Security.Cryptography for encrypting binary files (not plain text) Pin
Guffa26-Sep-08 15:46
Guffa26-Sep-08 15:46 
GeneralRe: System.Security.Cryptography for encrypting binary files (not plain text) Pin
ajtunbridge26-Sep-08 15:52
ajtunbridge26-Sep-08 15:52 
QuestionCodeDom and partial method Pin
Member 346950026-Sep-08 7:56
Member 346950026-Sep-08 7:56 
Hi,

Is there a way to produce a partial method with CodeDom?

Ex. partial void MyMethod() { ... }

It looks like the MemberAttributes doesn't have "Partial" in it Frown | :(
CodeMemberMethod codeMemberMethod = new CodeMemberMethod();

codeMemberMethod.Attributes = MemberAttributes.Public...but no MemberAttributes.Partial?


My problem is that I'm generating some code to implement partial method.

I have this class (created "by hand"):

public partial class MyClass
{
    partial void MyMethod();
    partial void MyMethodB();
}


Then with CodeDom, I want to generate the implementation of those partial method. Something like:

public partial class MyClass
{
    partial void MyMethod()
    {
        // Do Something
    }

    partial void MyMethodB()
    {
        // Do Something
    }

}

That's why I need the "Partial" in System.CodeDom.MemberAttributes.

May be I'm all wrong...it's something else the MemberAttributes that I should use to do this?

Thank
AnswerRe: CodeDom and partial method Pin
Ennis Ray Lynch, Jr.26-Sep-08 8:01
Ennis Ray Lynch, Jr.26-Sep-08 8:01 
AnswerRe: CodeDom and partial method Pin
Pete O'Hanlon27-Sep-08 9:26
mvePete O'Hanlon27-Sep-08 9:26 
AnswerRe: CodeDom and partial method Pin
jatin.sabarmati23-Nov-08 16:47
jatin.sabarmati23-Nov-08 16:47 
QuestionC# vs VB6.0 Pin
Pedram Behroozi26-Sep-08 6:46
Pedram Behroozi26-Sep-08 6:46 
AnswerRe: C# vs VB6.0 Pin
Fernando A. Gomez F.26-Sep-08 7:03
Fernando A. Gomez F.26-Sep-08 7:03 
AnswerRe: C# vs VB6.0 [modified] Pin
Judah Gabriel Himango26-Sep-08 7:08
sponsorJudah Gabriel Himango26-Sep-08 7:08 
GeneralRe: C# vs VB6.0 Pin
Pedram Behroozi26-Sep-08 7:23
Pedram Behroozi26-Sep-08 7:23 
GeneralRe: C# vs VB6.0 [modified] Pin
Judah Gabriel Himango26-Sep-08 7:40
sponsorJudah Gabriel Himango26-Sep-08 7:40 
GeneralRe: C# vs VB6.0 Pin
Paul Conrad26-Sep-08 8:37
professionalPaul Conrad26-Sep-08 8:37 
AnswerRe: C# vs VB6.0 Pin
Wendelius26-Sep-08 7:39
mentorWendelius26-Sep-08 7:39 
GeneralRe: C# vs VB6.0 Pin
Pedram Behroozi26-Sep-08 8:09
Pedram Behroozi26-Sep-08 8:09 
GeneralRe: C# vs VB6.0 Pin
Wendelius26-Sep-08 8:17
mentorWendelius26-Sep-08 8:17 
AnswerRe: C# vs VB6.0 Pin
Ennis Ray Lynch, Jr.26-Sep-08 7:59
Ennis Ray Lynch, Jr.26-Sep-08 7:59 
AnswerRe: C# vs VB6.0 Pin
Pete O'Hanlon26-Sep-08 8:17
mvePete O'Hanlon26-Sep-08 8:17 
GeneralRe: C# vs VB6.0 Pin
piyey26-Sep-08 10:29
piyey26-Sep-08 10:29 
AnswerRe: C# vs VB6.0 Pin
Paul Conrad26-Sep-08 8:40
professionalPaul Conrad26-Sep-08 8:40 
GeneralRe: C# vs VB6.0 Pin
Pedram Behroozi26-Sep-08 9:58
Pedram Behroozi26-Sep-08 9:58 

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.