43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.Remoting.Contexts;
|
|
|
|
namespace System.Runtime.Remoting.Activation
|
|
{
|
|
// Token: 0x0200038B RID: 907
|
|
internal class RemoteActivationAttribute : Attribute, IContextAttribute
|
|
{
|
|
// Token: 0x06002516 RID: 9494 RVA: 0x0007B1BC File Offset: 0x000793BC
|
|
public RemoteActivationAttribute()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002517 RID: 9495 RVA: 0x0007B1C4 File Offset: 0x000793C4
|
|
public RemoteActivationAttribute(IList contextProperties)
|
|
{
|
|
this._contextProperties = contextProperties;
|
|
}
|
|
|
|
// Token: 0x06002518 RID: 9496 RVA: 0x0007B1D4 File Offset: 0x000793D4
|
|
public bool IsContextOK(Context ctx, IConstructionCallMessage ctor)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06002519 RID: 9497 RVA: 0x0007B1D8 File Offset: 0x000793D8
|
|
public void GetPropertiesForNewContext(IConstructionCallMessage ctor)
|
|
{
|
|
if (this._contextProperties != null)
|
|
{
|
|
foreach (object obj in this._contextProperties)
|
|
{
|
|
ctor.ContextProperties.Add(obj);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000E9C RID: 3740
|
|
private IList _contextProperties;
|
|
}
|
|
}
|