예제 #1
0
 public UnityHighlightingAbstractStage(IEnumerable <IUnityDeclarationHiglightingProvider> higlightingProviders, UnityApi api,
                                       UnityHighlightingContributor unityHighlightingContributor)
 {
     HiglightingProviders = higlightingProviders;
     API = api;
     UnityHighlightingContributor = unityHighlightingContributor;
 }
예제 #2
0
        public UnityHighlightingProcess([NotNull] IDaemonProcess process, [NotNull] ICSharpFile file,
                                        IEnumerable <IUnityDeclarationHiglightingProvider> higlightingProviders, UnityApi api,
                                        UnityHighlightingContributor unityHighlightingContributor, DaemonProcessKind processKind) : base(process, file)
        {
            myHiglightingProviders = higlightingProviders;
            myAPI = api;
            myUnityHighlightingContributor = unityHighlightingContributor;
            myProcessKind = processKind;

            myEventFunctions = DaemonProcess.CustomData.GetData(UnityEventFunctionAnalyzer.UnityEventFunctionNodeKey)
                               ?.Where(t => t != null && t.IsValid()).ToJetHashSet();

            DaemonProcess.CustomData.PutData(UnityEventFunctionAnalyzer.UnityEventFunctionNodeKey, myEventFunctions);
        }
 public UnityHighlightingStage(IEnumerable <IUnityDeclarationHiglightingProvider> higlightingProviders,
                               UnityApi api, UnityHighlightingContributor unityHighlightingContributor)
     : base(higlightingProviders, api, unityHighlightingContributor)
 {
 }