AvalonStudio.Languages.CSharp.CSharpLanguageService.GetAssociatedData C# (CSharp) Метод

GetAssociatedData() приватный Метод

private GetAssociatedData ( ISourceFile sourceFile ) : CSharpDataAssociation
sourceFile ISourceFile
Результат CSharpDataAssociation
        private CSharpDataAssociation GetAssociatedData(ISourceFile sourceFile)
        {
            CSharpDataAssociation result = null;

            if (!dataAssociations.TryGetValue(sourceFile, out result))
            {
                throw new Exception("Tried to parse file that has not been registered with the language service.");
            }

            return result;
        }