//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System;
namespace System.IdentityModel.Metadata
{
///
/// This class defines a protocol endpoint.
///
public class ProtocolEndpoint
{
Uri binding;
Uri location;
Uri responseLocation;
///
/// Empty constructor.
///
public ProtocolEndpoint()
: this(null, null)
{
}
///
/// Constructs an endpoint with the specified and .
///
/// The URI representing the binding for this instance.
/// The URI representing the location for this instance.
public ProtocolEndpoint(Uri binding, Uri location)
{
Binding = binding;
Location = location;
}
///
/// Gets or sets the binding. This is a required element.
///
public Uri Binding
{
get { return this.binding; }
set { this.binding = value; }
}
///
/// Gets or sets the location. This is a required element.
///
public Uri Location
{
get { return this.location; }
set { this.location = value; }
}
///
/// Gets or sets the response location. This is an optional element.
///
public Uri ResponseLocation
{
get { return this.responseLocation; }
set { this.responseLocation = value; }
}
}
}