コード例 #1
0
 protected AbstractSymbolDefinitionTextWriter(
     SymbolFilterOptions filter,
     DefinitionListFormat format = null,
     SymbolDocumentationProvider documentationProvider = null,
     INamedTypeSymbol hierarchyRoot = null) : base(filter, format, documentationProvider, hierarchyRoot)
 {
 }
コード例 #2
0
 public SymbolDefinitionTextWriter(
     TextWriter writer,
     SymbolFilterOptions filter  = null,
     DefinitionListFormat format = null,
     SymbolDocumentationProvider documentationProvider = null) : base(filter, format, documentationProvider)
 {
     _writer = writer;
 }
コード例 #3
0
 public SymbolDefinitionTextWriter(
     TextWriter writer,
     SymbolFilterOptions filter  = null,
     DefinitionListFormat format = null,
     SymbolDocumentationProvider documentationProvider = null,
     INamedTypeSymbol hierarchyRoot = null) : base(filter, format, documentationProvider, hierarchyRoot)
 {
     _writer = writer;
 }
コード例 #4
0
        protected SymbolDefinitionWriter(
            SymbolFilterOptions filter  = null,
            DefinitionListFormat format = null,
            SymbolDocumentationProvider documentationProvider = null,
            INamedTypeSymbol hierarchyRoot = null)
        {
            Filter = filter ?? SymbolFilterOptions.Default;
            Format = format ?? DefinitionListFormat.Default;
            DocumentationProvider = documentationProvider;
            HierarchyRoot         = hierarchyRoot;

            _definitionNameFormat = new SymbolDisplayFormat(typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameOnly);
        }
コード例 #5
0
        protected SymbolDefinitionWriter(
            SymbolFilterOptions filter  = null,
            DefinitionListFormat format = null,
            SymbolDocumentationProvider documentationProvider = null)
        {
            Filter = filter ?? SymbolFilterOptions.Default;
            Format = format ?? DefinitionListFormat.Default;
            DocumentationProvider = documentationProvider;

            _typeDefinitionNameFormat = new SymbolDisplayFormat(
                typeQualificationStyle: (Layout == SymbolDefinitionListLayout.TypeHierarchy) ? SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces : SymbolDisplayTypeQualificationStyle.NameOnly,
                genericsOptions: SymbolDisplayGenericsOptions.IncludeTypeParameters);

            _memberDefinitionNameFormat = new SymbolDisplayFormat(
                typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameOnly,
                genericsOptions: SymbolDisplayGenericsOptions.IncludeTypeParameters,
                miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
        }
コード例 #6
0
 protected AbstractSymbolDefinitionTextWriter(
     SymbolFilterOptions filter,
     DefinitionListFormat format = null,
     SymbolDocumentationProvider documentationProvider = null) : base(filter, format, documentationProvider)
 {
 }