コード例 #1
0
        public static void Init(string token)
        {
            //Figma initialization
            var applicationDelegate = new FigmaDelegate();

            AppContext.Current.Configuration(applicationDelegate, token);
        }
コード例 #2
0
        public static void Init(string token = null)
        {
            //Figma initialization
            var applicationDelegate = new FigmaDelegate();

            if (string.IsNullOrEmpty(token))
            {
                AppContext.Current.Configuration(applicationDelegate);
            }
            else
            {
                AppContext.Current.Configuration(applicationDelegate, token);
            }
        }