Acrolinx.Sdk.Sidebar.AcrolinxSidebar.RegisterClientComponent C# (CSharp) Method

RegisterClientComponent() public method

public RegisterClientComponent ( Assembly assembly, string humanReadableName, SoftwareComponentCategory category ) : void
assembly System.Reflection.Assembly
humanReadableName string
category SoftwareComponentCategory
return void
        public void RegisterClientComponent(Assembly assembly, string humanReadableName, SoftwareComponentCategory category)
        {
            Contract.Requires(assembly != null);
            Contract.Requires(humanReadableName != null);
            if (assembly == null)
            {
                return;
            }

            var name = assembly.GetName();
            RegisterClientComponent(name.Name, humanReadableName, name.Version.ToString(), category);
        }

Same methods

AcrolinxSidebar::RegisterClientComponent ( string id, string name, string version, SoftwareComponentCategory category ) : void