XLog.Categories.LogCategoryRegistrar.Register C# (CSharp) Méthode

Register() public méthode

public Register ( string name ) : long
name string
Résultat long
        public long Register(string name)
        {
            long id = 1 << _idToNameMap.Count;

            _idToNameMap[id] = name;

            return id;
        }
LogCategoryRegistrar