File: BuildTasks\Ms\Internal\MarkupCompiler\FileUnit.cs
Project: wpf\src\PresentationBuildTasks.csproj (PresentationBuildTasks)
using System;
using System.Security.Permissions;
 
namespace MS.Internal
{
    ///<summary>
    /// The FileUnit class
    ///</summary> 
    [Serializable]
    internal struct FileUnit
    {
        public FileUnit(string path, string linkAlias, string logicalName)
        {
            _path = path;
            _linkAlias = linkAlias;
            _logicalName = logicalName;
        }
        
        public string Path 
        { 
            get { return _path; }
        }
        
        public string LinkAlias 
        { 
            get { return _linkAlias; }
        }
 
        public string LogicalName 
        { 
            get { return _logicalName; }
        }
 
        public static FileUnit Empty
        {
            get { return _empty; }
        }
 
        public override string ToString()
        {
            return _path;
        }
 
        private string _path;
        private string _linkAlias;
        private string _logicalName;
        
        private static FileUnit _empty = new FileUnit(String.Empty, String.Empty, String.Empty);
    }
}