/// <summary>
        /// When implemented in a derived class, performs the execution of the activity.
        /// </summary>
        /// <param name="context">The execution context under which the activity executes.</param>
        protected override void Execute(CodeActivityContext context)
        {
            var assemblyFileVersion = AssemblyFileVersion.Get(context);
            var assemblyInformationalVersion = AssemblyInformationalVersion.Get(context);
            var assemblyVersion = AssemblyVersion.Get(context);
            var createAttributeIfNotExists = CreateAttributeIfNotExists.Get(context);
            var directoryToSearch = DirectoryToSearch.Get(context);
            var fileNamesToSearch = FileNamesToSearch.Get(context);
            var commandLog = new CodeActivityContextCommandLog(context);
            var recursive = Recursive.Get(context);
            var writeVerboseLogMessages = WriteVerboseLogMessages.Get(context);

            var command =
                new SetVersionAttributesInFilesCommand
                {
                    AssemblyFileVersion = assemblyFileVersion,
                    AssemblyInformationalVersion = assemblyInformationalVersion,
                    AssemblyVersion = assemblyVersion,
                    CreateAttributeIfNotExists = createAttributeIfNotExists,
                    DirectoryToSearch = directoryToSearch,
                    FileNamesToSearch = fileNamesToSearch,
                    CommandLog = commandLog,
                    Recursive = recursive,
                    WriteVerboseLogMessages = writeVerboseLogMessages
                };

            var successful = command.Execute();

            if (false == successful)
                commandLog.Error("The SetVersionAttributesInFiles activity failed.");
        }
        /// <summary>
        /// When implemented in a derived class, performs the execution of the activity.
        /// </summary>
        /// <param name="context">The execution context under which the activity executes.</param>
        protected override void Execute(CodeActivityContext context)
        {
            var accessedDate = AccessedDate.Get(context);
            var createdDate = CreatedDate.Get(context);
            var modifiedDate = ModifiedDate.Get(context);
            var directoryToSearch = DirectoryToSearch.Get(context);
            var fileNamesToSearch = FileNamesToSearch.Get(context);
            var commandLog = new CodeActivityContextCommandLog(context);
            var recursive = Recursive.Get(context);
            var setAccessedDate = SetAccessedDate.Get(context);
            var setCreatedDate = SetCreatedDate.Get(context);
            var setModifiedDate = SetModifiedDate.Get(context);
            var writeVerboseLogMessages = WriteVerboseLogMessages.Get(context);

            var command =
                new SetFilesystemDateAttributesInFilesCommand
                {
                    AccessedDate = accessedDate,
                    CreatedDate = createdDate,
                    ModifiedDate = modifiedDate,
                    DirectoryToSearch = directoryToSearch,
                    FileNamesToSearch = fileNamesToSearch,
                    CommandLog = commandLog,
                    Recursive = recursive,
                    SetAccessedDate = setAccessedDate,
                    SetCreatedDate = setCreatedDate,
                    SetModifiedDate = setModifiedDate,
                    WriteVerboseLogMessages = writeVerboseLogMessages
                };

            var successful = command.Execute();

            if (false == successful)
                commandLog.Error("The SetFilesystemDateAttributesInFiles activity failed.");
        }