Esempio n. 1
0
 /// <inheritdoc />
 public async Task <Workspace> CreateWorkspaceAsync(WorkspaceDefinition workspaceDefinition, bool userFilterWasApplied)
 {
     using (m_statistics.EndToEndParsing.Start())
     {
         return(await m_decoratee.CreateWorkspaceAsync(workspaceDefinition, userFilterWasApplied));
     }
 }
Esempio n. 2
0
        /// <inheritdoc />
        public async Task <Workspace> CreateWorkspaceAsync(WorkspaceDefinition workspaceDefinition, bool userFilterWasApplied)
        {
            var result = await CreateWorkspaceFromModuleDefinitionsAsync(
                new HashSet <ModuleDefinition>(workspaceDefinition.Modules),
                computeBindingFingerprint : !userFilterWasApplied && Configuration.ConstructFingerprintDuringParsing);

            result.FilterWasApplied = userFilterWasApplied;

            return(result);
        }