blob: 0b08bfd3eb88d746c87d29ae7faaf8dd6843b54a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
//
// System.Runtime.Remoting.Messaging.Header.cs
//
// Author:
// Dan Lewis (dihlewis@yahoo.co.uk)
//
// (C) 2002
//
using System.Collections;
namespace System.Runtime.Remoting.Messaging {
[Serializable]
public class Header {
public Header (string name, object value) :
this (name, value, true)
{
}
public Header (string name, object value, bool must_understand) :
this (name, value, must_understand, null)
{
}
public Header (string name, object value, bool must_understand, string header_namespace) {
this.name = name;
this.value = value;
this.must_understand = must_understand;
this.header_namespace = header_namespace;
}
// fields
public string HeaderNamespace;
public bool MustUnderstand;
public string Name;
public object Value;
// private
private string name;
private object value;
private bool must_understand;
private string header_namespace;
}
}
|