public static void ProjectInformation(this IEventEmitter emitter, HashedString projectId, HashedString sessionId, int outputKind, IEnumerable <string> projectCapabilities, IEnumerable <string> targetFrameworks, HashedString sdkVersion, IEnumerable <HashedString> references, IEnumerable <HashedString> fileExtensions, IEnumerable <int> fileCounts) { var projectConfiguration = new ProjectConfigurationMessage() { ProjectCapabilities = projectCapabilities, TargetFrameworks = targetFrameworks, SdkVersion = sdkVersion.Value, OutputKind = outputKind, ProjectId = projectId.Value, SessionId = sessionId.Value, References = references.Select(hashed => hashed.Value), FileExtensions = fileExtensions.Select(hashed => hashed.Value), FileCounts = fileCounts }; emitter.Emit( EventTypes.ProjectConfiguration, projectConfiguration); }
public static void ProjectInformation(this IEventEmitter emitter, HashedString projectId, IEnumerable <string> targetFrameworks, IEnumerable <HashedString> references, IEnumerable <HashedString> fileExtensions) { var projectConfiguration = new ProjectConfigurationMessage() { TargetFrameworks = targetFrameworks, ProjectId = projectId.Value, References = references.Select(hashed => hashed.Value), FileExtensions = fileExtensions.Select(hashed => hashed.Value) }; emitter.Emit( EventTypes.ProjectConfiguration, projectConfiguration); }