Exemplo n.º 1
0
        /// <summary>
        /// Creates a copy of the current instance.
        /// </summary>
        /// <returns>The copied <see cref="AtataBuildingContext"/> instance.</returns>
        public AtataBuildingContext Clone()
        {
            AtataBuildingContext copy = (AtataBuildingContext)MemberwiseClone();

            copy.DriverFactories     = DriverFactories.ToList();
            copy.LogConsumers        = LogConsumers.ToList();
            copy.ScreenshotConsumers = ScreenshotConsumers.ToList();
            copy.CleanUpActions      = CleanUpActions.ToList();

            return(copy);
        }
Exemplo n.º 2
0
        public void Init()
        {
            IVirtualFileSystemDriverFactory upyun = new UpyunClientFactory();

            DriverFactories.Add(upyun);
        }