1 using System
.Reflection
;
2 using System
.Runtime
.Serialization
;
4 namespace System
.ServiceModel
6 public class EndpointIdentity
{}
7 public class InstanceContext
9 public InstanceContext (object dummy
) {}
11 // introduced for silverlight sdk compatibility
12 internal class OperationFormatStyleHelper
14 public static bool IsDefined (OperationFormatStyle style
)
17 case OperationFormatStyle
.Document
:
18 case OperationFormatStyle
.Rpc
:
25 namespace System
.ServiceModel
.Channels
27 public interface ITransportTokenAssertionProvider
{}
29 namespace System
.ServiceModel
.Configuration
33 namespace System
.ServiceModel
.Description
35 public interface IPolicyExportExtension
{}
36 public interface IPolicyImportExtension
{}
37 public interface IWsdlExportExtension
{}
38 public interface IWsdlImportExtension
{}
39 public interface IContractBehavior
{}
41 // introduced for silverlight sdk compatibility
42 internal class ServiceReflector
44 public static T GetSingleAttribute
<T
> (ICustomAttributeProvider p
, Type
[] types
)
47 foreach (Type t
in types
) {
48 foreach (object att
in p
.GetCustomAttributes (t
, false)) {
51 throw new InvalidOperationException (String
.Format ("More than one {0} attributes are found in the argument types", typeof (T
)));
60 namespace System
.ServiceModel
.DiagnosticUtility
62 // introduced for silverlight sdk compatibility
63 internal class ExceptionUtility
65 public static Exception
ThrowHelperError (Exception error
)
70 public static Exception
ThrowHelperArgumentNull (string arg
)
72 return new ArgumentNullException (arg
);
76 namespace System
.ServiceModel
.Dispatcher
79 namespace System
.ServiceModel
.Security
83 namespace System
.Net
.Security
85 public enum ProtectionLevel {None}
87 namespace System
.Xml
.Serialization
89 public class XmlTypeMapping
{}
91 namespace System
.Xml
.XPath
95 namespace Mono
.Xml
.XPath