You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
56
external/referencesource/System.ServiceModel/System/ServiceModel/PeerHopCountAttribute.cs
vendored
Normal file
56
external/referencesource/System.ServiceModel/System/ServiceModel/PeerHopCountAttribute.cs
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
//------------------------------------------------------------
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//------------------------------------------------------------
|
||||
|
||||
namespace System.ServiceModel
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Security;
|
||||
|
||||
using System.ServiceModel.Channels;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
|
||||
public sealed class PeerHopCountAttribute : MessageHeaderAttribute
|
||||
{
|
||||
public PeerHopCountAttribute()
|
||||
: base()
|
||||
{
|
||||
base.Name = PeerStrings.HopCountElementName;
|
||||
base.Namespace = PeerStrings.HopCountElementNamespace;
|
||||
base.ProtectionLevel = ProtectionLevel.None;
|
||||
base.MustUnderstand = false;
|
||||
}
|
||||
public new bool MustUnderstand
|
||||
{
|
||||
get { return base.MustUnderstand; }
|
||||
}
|
||||
|
||||
public new bool Relay
|
||||
{
|
||||
get { return base.Relay; }
|
||||
}
|
||||
|
||||
public new string Actor
|
||||
{
|
||||
get { return base.Actor; }
|
||||
}
|
||||
|
||||
public new string Namespace
|
||||
{
|
||||
get { return base.Namespace; }
|
||||
}
|
||||
|
||||
public new string Name
|
||||
{
|
||||
get { return base.Name; }
|
||||
}
|
||||
|
||||
public new ProtectionLevel ProtectionLevel
|
||||
{
|
||||
get { return base.ProtectionLevel; }
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user