Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

43 lines
1.3 KiB
C#

//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IdentityModel.Protocols.WSTrust;
namespace System.IdentityModel.Metadata
{
/// <summary>
/// Defines the application service descriptor and its endpoints.
/// </summary>
public class ApplicationServiceDescriptor : WebServiceDescriptor
{
Collection<EndpointReference> endpoints = new Collection<EndpointReference>();
Collection<EndpointReference> passiveRequestorEndpoints = new Collection<EndpointReference>();
/// <summary>
/// Empty constructor.
/// </summary>
public ApplicationServiceDescriptor()
{
}
/// <summary>
/// Gets the endpoints of this application service.
/// </summary>
public ICollection<EndpointReference> Endpoints
{
get { return this.endpoints; }
}
/// <summary>
/// Gets the passive requestor endpoints of this application service.
/// </summary>
public ICollection<EndpointReference> PassiveRequestorEndpoints
{
get { return this.passiveRequestorEndpoints; }
}
}
}