public static ApiSection Api(this CustomConfiguration config)
        {
            lock (_lockObjectApi)
            {
                if (_apiSection == null)
                {
                    _apiSection = new ApiSection();
                }
            }

            return(_apiSection);
        }
Esempio n. 2
0
 public OpcodeWriter()
 {
     ApiSection  = new ApiSection();
     dataSection = new DataSection();
     codeSection = new CodeSection(dataSection, ApiSection);
 }