Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
GeneralRe: Internet downloading problem... Pin
Heath Stewart14-Jan-04 7:45
protectorHeath Stewart14-Jan-04 7:45 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 9:05
Kentamanos14-Jan-04 9:05 
Generalremoting "newbie" questions Pin
Palladino14-Jan-04 2:24
Palladino14-Jan-04 2:24 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 3:07
LongRange.Shooter14-Jan-04 3:07 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 3:23
LongRange.Shooter14-Jan-04 3:23 
GeneralRe: remoting "newbie" questions Pin
Palladino14-Jan-04 8:13
Palladino14-Jan-04 8:13 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 10:46
LongRange.Shooter14-Jan-04 10:46 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 1:36
Palladino15-Jan-04 1:36 
Hi again Michael,

Unintentionally to abuse, but already abusing Wink | ;) am not sure if I understood what you wanted to say below sentence:

theRealCondor wrote:
The only item that I would say you should make an adjustment to is the ISerializable implementation. The reason I say so is that you have to implement your own serializer/deserializer!!!

The one that I thought about doing is something of the type:

[Serializable()]  
public class MyModelObject : ISerializable  
{  
private int a;  
private string b;  

public MyModelObject()  
{  
}  
  
public MyModelObject(int a, string b):base()  
{  
this.a = a;  
this.b = b;  
}  
  
protected MyModelObject(SerializationInfo info, StreamingContext context)  
{  
this.A = info.GetInt32("A");  
this.B = info.GetString("B");  
}  
  
public int A  
{  
get {return this.a;}  
set {this.a = value;}  
}  
  
public string B  
{  
get {return this.b;}  
set {this.b = value;}  
}  
 
void ISerializable.GetObjectData(SerializationInfo info,   
StreamingContext context)  
{  
info.AddValue("A", this.a);  
info.AddValue("B", this.b);  
}  
}


For the what could understand I should not make this?! Only use [Serializable()] it didn't work. Can you feel a light (larger still)? Confused | :confused:

Greetings,

Marcelo Palladino
Brazil
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 2:55
LongRange.Shooter15-Jan-04 2:55 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 3:24
LongRange.Shooter15-Jan-04 3:24 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 5:43
Palladino15-Jan-04 5:43 
GeneralDebugging Pin
jyoti doiphode13-Jan-04 23:58
jyoti doiphode13-Jan-04 23:58 
GeneralRe: Debugging Pin
Heath Stewart14-Jan-04 4:41
protectorHeath Stewart14-Jan-04 4:41 
GeneralFinding names of local user accounts Pin
EnkelIk13-Jan-04 23:46
EnkelIk13-Jan-04 23:46 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 2:51
Mazdak14-Jan-04 2:51 
GeneralRe: Finding names of local user accounts Pin
EnkelIk14-Jan-04 4:54
EnkelIk14-Jan-04 4:54 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 8:20
Mazdak14-Jan-04 8:20 
GeneralReversible Frames on Windows Forms Pin
occcy13-Jan-04 22:22
occcy13-Jan-04 22:22 
GeneralRe: Reversible Frames on Windows Forms Pin
Heath Stewart14-Jan-04 4:14
protectorHeath Stewart14-Jan-04 4:14 
QuestionHow use Ms treeView In asp.net Pin
Old Gun13-Jan-04 22:03
Old Gun13-Jan-04 22:03 
AnswerRe: How use Ms treeView In asp.net Pin
Heath Stewart14-Jan-04 4:04
protectorHeath Stewart14-Jan-04 4:04 
GeneralRe: How use Ms treeView In asp.net Pin
Not Active14-Jan-04 7:02
mentorNot Active14-Jan-04 7:02 
Generalsharing internet offline files Pin
Mohamad Al Husseiny13-Jan-04 18:18
Mohamad Al Husseiny13-Jan-04 18:18 
GeneralRe: sharing internet offline files Pin
Heath Stewart14-Jan-04 4:02
protectorHeath Stewart14-Jan-04 4:02 
GeneralRe: sharing internet offline files Pin
Mohamad Al Husseiny14-Jan-04 19:20
Mohamad Al Husseiny14-Jan-04 19:20 

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.