示例#1
0
        public MainForm(
            IHttpFilesHelper _httpFilesHelper,
            IImageManipulator _imageManipulator,
            ICloudHelper _iCloudHelper
            )
        {
            InitializeComponent();

            this._httpFilesHelper  = _httpFilesHelper;
            this._imageManipulator = _imageManipulator;

            this._cloudHelper = _iCloudHelper;
            _iCloudHelper.Config("DefaultEndpointsProtocol=https;AccountName=cs2f2fa088b7edfx4579xb65;AccountKey=7pBk9brJlUj2mmDOyesFhPLkymjv2DGYSCvV8OH5DeKUBAnLihVDDqbIzyFgkRABhdo/xthfP5CfZfDhPlFc9Q==;EndpointSuffix=core.windows.net");
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageHelper"/> class.
 /// </summary>
 /// <param name="cloud">Instance of cloud helper</param>
 public ImageHelper(ICloudHelper cloud)
 {
     _cloud = cloud;
 }