ShaderTools.VisualStudio.ProvideFileExtensionMapping.Register C# (CSharp) Method

Register() public method

public Register ( RegistrationContext context ) : void
context RegistrationContext
return void
        public override void Register(RegistrationContext context)
        {
            using (Key mappingKey = context.CreateKey("FileExtensionMapping\\" + _id))
            {
                mappingKey.SetValue("", _name);
                mappingKey.SetValue("DisplayName", _name);
                mappingKey.SetValue("EditorGuid", _editorGuid);
                mappingKey.SetValue("LogViewID", _logViewGuid);
                mappingKey.SetValue("Package", _package);
                mappingKey.SetValue("SortPriority", _sortPriority);
            }
        }