DynamicEndpointElement.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using System;
  2. using System.ComponentModel;
  3. using System.Configuration;
  4. using System.ServiceModel.Configuration;
  5. using System.ServiceModel.Description;
  6. namespace System.ServiceModel.Discovery.Configuration
  7. {
  8. public sealed class DynamicEndpointElement : StandardEndpointElement
  9. {
  10. static ConfigurationPropertyCollection properties;
  11. static ConfigurationProperty discovery_client_settings;
  12. static DynamicEndpointElement ()
  13. {
  14. discovery_client_settings = new ConfigurationProperty ("discoveryClientSettings", typeof (DiscoveryClientSettingsElement), null, null, null, ConfigurationPropertyOptions.None);
  15. properties = new ConfigurationPropertyCollection ();
  16. properties.Add (discovery_client_settings);
  17. }
  18. public DynamicEndpointElement ()
  19. {
  20. }
  21. [ConfigurationProperty ("discoveryClientSettings")]
  22. public DiscoveryClientSettingsElement DiscoveryClientSettings {
  23. get { return (DiscoveryClientSettingsElement) base [discovery_client_settings]; }
  24. }
  25. protected override Type EndpointType {
  26. get { return typeof (DynamicEndpoint); }
  27. }
  28. protected override ServiceEndpoint CreateServiceEndpoint (ContractDescription contractDescription)
  29. {
  30. throw new NotImplementedException ();
  31. }
  32. protected override void InitializeFrom (ServiceEndpoint endpoint)
  33. {
  34. throw new NotImplementedException ();
  35. }
  36. protected override void OnApplyConfiguration (ServiceEndpoint endpoint, ChannelEndpointElement serviceEndpointElement)
  37. {
  38. throw new NotImplementedException ();
  39. }
  40. protected override void OnApplyConfiguration (ServiceEndpoint endpoint, ServiceEndpointElement serviceEndpointElement)
  41. {
  42. throw new NotImplementedException ();
  43. }
  44. protected override void OnInitializeAndValidate (ChannelEndpointElement channelEndpointElement)
  45. {
  46. throw new NotImplementedException ();
  47. }
  48. protected override void OnInitializeAndValidate (ServiceEndpointElement serviceEndpointElement)
  49. {
  50. throw new NotImplementedException ();
  51. }
  52. }
  53. }