ServiceDescriptionContext.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.WorkflowServices / System / ServiceModel / Description / ServiceDescriptionContext.cs / 1305376 / ServiceDescriptionContext.cs

                            //------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------

namespace System.ServiceModel.Description 
{
    using System; 
    using System.Collections; 
    using System.Collections.Generic;
    using System.ServiceModel; 

    class ServiceDescriptionContext
    {
        Dictionary contracts; 
        IList reflectedContracts;
        ServiceDescription serviceDescription; 
        Dictionary, WorkflowOperationBehavior> workflowOperationBehaviors; 

        internal ServiceDescriptionContext() 
        {
            this.contracts = new Dictionary();
            this.reflectedContracts = new List();
            this.workflowOperationBehaviors = new Dictionary, WorkflowOperationBehavior>(); 
        }
 
        public IDictionary Contracts 
        {
            get 
            {
                return this.contracts;
            }
        } 

        public IList ReflectedContracts 
        { 
            get
            { 
                return this.reflectedContracts;
            }
        }
 
        public ServiceDescription ServiceDescription
        { 
            get 
            {
                return this.serviceDescription; 
            }
            set
            {
                this.serviceDescription = value; 
            }
        } 
 
        internal IDictionary, WorkflowOperationBehavior> WorkflowOperationBehaviors
        { 
            get
            {
                return this.workflowOperationBehaviors;
            } 
        }
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK