Exemple #1
0
        public override void Register(RegistrationContext context)
        {
            context.Log.WriteLine(string.Format(CultureInfo.InvariantCulture, "Registering Debug Port Supplier {0}", ID));

            using (Key childKey = context.CreateKey(EngineRegKey))
            {
                childKey.SetValue("Name", Name);
                childKey.SetValue("CLSID", AProvideEngineInfo.FormatGuid(CLSID));
                childKey.SetValue("DisallowUserEnteredPorts", DisallowUserPorts ? 1 : 0);
            }
        }
Exemple #2
0
 public ProvideDebugEngineAttribute(String engineGuidString, string name)
 {
     // make sure that it uses the right GUID format
     this.engineGuidString = AProvideEngineInfo.FormatGuid(engineGuidString);
     this.name             = name;
 }