39 lines
1.4 KiB
C#
39 lines
1.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Runtime.Remoting.Channels
|
|
{
|
|
/// <summary>Provides a base implementation for channels that want to expose a dictionary interface to their properties.</summary>
|
|
// Token: 0x02000392 RID: 914
|
|
[ComVisible(true)]
|
|
public abstract class BaseChannelWithProperties : BaseChannelObjectWithProperties
|
|
{
|
|
/// <summary>Gets a <see cref="T:System.Collections.IDictionary" /> of the channel properties associated with the current channel object.</summary>
|
|
/// <returns>A <see cref="T:System.Collections.IDictionary" /> of the channel properties associated with the current channel object.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
|
|
// Token: 0x170006F1 RID: 1777
|
|
// (get) Token: 0x06002552 RID: 9554 RVA: 0x0007B7B8 File Offset: 0x000799B8
|
|
public override IDictionary Properties
|
|
{
|
|
get
|
|
{
|
|
if (this.SinksWithProperties == null || this.SinksWithProperties.Properties == null)
|
|
{
|
|
return base.Properties;
|
|
}
|
|
IDictionary[] array = new IDictionary[]
|
|
{
|
|
base.Properties,
|
|
this.SinksWithProperties.Properties
|
|
};
|
|
return new AggregateDictionary(array);
|
|
}
|
|
}
|
|
|
|
/// <summary>Indicates the top channel sink in the channel sink stack.</summary>
|
|
// Token: 0x04000EA5 RID: 3749
|
|
protected IChannelSinkBase SinksWithProperties;
|
|
}
|
|
}
|