BuildServerUploaderConsole.Processes.CopyInformation.PerformCopy C# (CSharp) Method

PerformCopy() public method

public PerformCopy ( IResults results, string message ) : void
results IResults
message string
return void
        public void PerformCopy(IResults results, string message)
        {

            System.IO.File.Copy(SourceFile, DestinationFile, true);

            if(!string.IsNullOrEmpty(Namespace))
            {
                ReplaceNamespace(DestinationFile, Namespace);
            }

            results.WriteMessage(message);

        }