AddInDeploymentState.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 / fx / src / AddIn / AddIn / System / Addin / Hosting / AddInDeploymentState.cs / 1305376 / AddInDeploymentState.cs

                            // ==++== 
//
//   Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--== 
/*============================================================
** 
** Class:  AddInDeploymentState 
**
** Purpose: Represents the add-in pipeline components 
**          in a directory structure.
**
===========================================================*/
using System; 
using System.Collections.Generic;
using System.Collections.ObjectModel; 
using System.Globalization; 
using System.IO;
using System.Text; 
using System.Reflection;
using System.AddIn.MiniReflection;
using System.Diagnostics.Contracts;
 
namespace System.AddIn.Hosting
{ 
    [Serializable] 
    internal sealed class AddInDeploymentState : DeploymentState
    { 
        private List _addins;

        //this is automatically initialized to 0
        private int _fileCount; 

        internal AddInDeploymentState() 
        { 
            _addins = new List();
        } 

        internal List AddIns {
            get { return _addins; }
        } 

        internal int FileCount 
        { 
            get { return _fileCount; }
            set { _fileCount = value; } 
        }
    }
}

// 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