GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — SolutionIcon/SolutionIcon/SolutionIconPackage.cs at master · ashmind/SolutionIcon Expand file tree/ Copy pathSolutionIconPackage.csMore file actions 49 lines (45 loc) · 2.11 KB / Copy pathSolutionIconPackage.csFile metadata and controls49 lines (45 loc) · 2.11 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 using System; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Runtime.InteropServices; using AshMind.IO.Abstractions.Adapters; using EnvDTE; using SolutionIcon.Implementation; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace SolutionIcon { [PackageRegistration(UseManagedResourcesOnly = true)] [InstalledProductRegistration("#110", "#112", "1.0", IconResourceID = 400)] [ProvideAutoLoad(UIContextGuids.SolutionExists)] [Guid(Guids.PackageString)] public sealed class SolutionIconPackage : Package { private SolutionIconManager _manager; /// <summary> /// Default constructor of the package. /// Inside this method you can place any initialization code that does not require /// any Visual Studio service because at this point the package object is created but /// not sited yet inside Visual Studio environment. The place to do all the other /// initialization is the Initialize method. /// </summary> public SolutionIconPackage() { Trace.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering constructor for: {0}", this)); } /// <summary> /// Initialization of the package; this method is called right after the package is sited, so this is the place /// where you can put all the initialization code that rely on services provided by VisualStudio. /// </summary> protected override void Initialize() { Trace.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering Initialize() of: {0}", this)); base.Initialize(); var logger = new ExtensionLogger("SolutionIcon", title => GetOutputPane(Guids.OutputPane, title)); _manager = new SolutionIconManager( (DTE)GetService(typeof(DTE)), new IconFinder(new FileSystem()), new IconConverter(), new IconGenerator(new TinyIdGenerator()), logger ); } } } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |