63 lines
1.4 KiB
C#
63 lines
1.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.Remoting.Channels;
|
|
|
|
namespace System.Runtime.Remoting
|
|
{
|
|
// Token: 0x02000448 RID: 1096
|
|
internal class ProviderData
|
|
{
|
|
// Token: 0x06002A45 RID: 10821 RVA: 0x00088AC8 File Offset: 0x00086CC8
|
|
public void CopyFrom(ProviderData other)
|
|
{
|
|
if (this.Ref == null)
|
|
{
|
|
this.Ref = other.Ref;
|
|
}
|
|
if (this.Id == null)
|
|
{
|
|
this.Id = other.Id;
|
|
}
|
|
if (this.Type == null)
|
|
{
|
|
this.Type = other.Type;
|
|
}
|
|
foreach (object obj in other.CustomProperties)
|
|
{
|
|
DictionaryEntry dictionaryEntry = (DictionaryEntry)obj;
|
|
if (!this.CustomProperties.ContainsKey(dictionaryEntry.Key))
|
|
{
|
|
this.CustomProperties[dictionaryEntry.Key] = dictionaryEntry.Value;
|
|
}
|
|
}
|
|
if (other.CustomData != null)
|
|
{
|
|
if (this.CustomData == null)
|
|
{
|
|
this.CustomData = new ArrayList();
|
|
}
|
|
foreach (object obj2 in other.CustomData)
|
|
{
|
|
SinkProviderData sinkProviderData = (SinkProviderData)obj2;
|
|
this.CustomData.Add(sinkProviderData);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400103C RID: 4156
|
|
internal string Ref;
|
|
|
|
// Token: 0x0400103D RID: 4157
|
|
internal string Type;
|
|
|
|
// Token: 0x0400103E RID: 4158
|
|
internal string Id;
|
|
|
|
// Token: 0x0400103F RID: 4159
|
|
internal Hashtable CustomProperties = new Hashtable();
|
|
|
|
// Token: 0x04001040 RID: 4160
|
|
internal IList CustomData;
|
|
}
|
|
}
|