Click here to Skip to main content
15,844,009 members
Home / Discussions / C#
   

C#

 
GeneralAbstract, Interface, and Attribute Pin
TuringTest17-Jan-04 21:40
TuringTest17-Jan-04 21:40 
GeneralRe: Abstract, Interface, and Attribute Pin
Mazdak7-Jan-04 21:56
Mazdak7-Jan-04 21:56 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest17-Jan-04 22:32
TuringTest17-Jan-04 22:32 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 6:32
protectorHeath Stewart8-Jan-04 6:32 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 6:51
TuringTest18-Jan-04 6:51 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 6:53
protectorHeath Stewart8-Jan-04 6:53 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 7:01
TuringTest18-Jan-04 7:01 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 7:12
protectorHeath Stewart8-Jan-04 7:12 
If you'll read the documentation for SerializableAttribute, you'll see that the serialization infrastructure serializes private and public fields by default if a class is attributed (the class itself - inheriting the attribute doesn't make a derivative class serializable). This is done via reflection, yes. Note that your class must be attributed with the SerializableAttribute even if it implements ISerializable to be serializable. Implementing the interface just gives you explicit control over serialization of your Type.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 7:39
TuringTest18-Jan-04 7:39 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 8:13
protectorHeath Stewart8-Jan-04 8:13 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 8:50
TuringTest18-Jan-04 8:50 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 8:52
protectorHeath Stewart8-Jan-04 8:52 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 12:39
TuringTest18-Jan-04 12:39 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 13:11
protectorHeath Stewart8-Jan-04 13:11 
GeneralRe: Abstract, Interface, and Attribute Pin
bnieland8-Jan-04 7:50
bnieland8-Jan-04 7:50 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 8:46
TuringTest18-Jan-04 8:46 
GeneralQuoted-Printable Decoder Pin
7-Jan-04 19:33
suss7-Jan-04 19:33 
GeneralRe: Quoted-Printable Decoder Pin
Heath Stewart7-Jan-04 20:00
protectorHeath Stewart7-Jan-04 20:00 
GeneralRe: Quoted-Printable Decoder Pin
Blue Tender7-Jan-04 20:23
Blue Tender7-Jan-04 20:23 
GeneralRe: Quoted-Printable Decoder Pin
Heath Stewart8-Jan-04 4:57
protectorHeath Stewart8-Jan-04 4:57 
QuestionHow can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl7-Jan-04 18:14
sxbyl7-Jan-04 18:14 
AnswerRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
Heath Stewart7-Jan-04 19:48
protectorHeath Stewart7-Jan-04 19:48 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl7-Jan-04 20:00
sxbyl7-Jan-04 20:00 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
Heath Stewart7-Jan-04 20:03
protectorHeath Stewart7-Jan-04 20:03 
GeneralRe: How can I get some objects like HttpContext when using SingleCall SAOS and does not host in IIS (with HttpChannel) Pin
sxbyl7-Jan-04 20:18
sxbyl7-Jan-04 20:18 

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.