Exemple #1
0
        /// <summary>
        /// Initialises a new instance of the <c>ConverterService</c> class.
        /// </summary>
        /// <param name="helper"><c>GitHubClientHelper</c> instance.</param>
        public ConverterService(IGitHubClientHelper helper)
        {
            if (helper == null)
            {
                throw new ArgumentNullException("helper");
            }

            this._helper = helper;
        }
Exemple #2
0
 public void Init()
 {
     this._settings  = GitHubClientSettings.CreateInstance();
     this._helper    = new Services.GitHubClientHelper(this._settings);
     this._converter = new ConverterService(this._helper);
 }