Skip to content

Commit 681b0b6

Browse files
xmldoc
1 parent 08dec69 commit 681b0b6

File tree

9 files changed

+62
-1
lines changed

9 files changed

+62
-1
lines changed

Reinforced.Typings/Attributes/INameOverrideAttribute.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,25 @@
66

77
namespace Reinforced.Typings.Attributes
88
{
9+
/// <summary>
10+
/// Configuration interface for members supporting names overriding
11+
/// </summary>
912
public interface INameOverrideAttribute
1013
{
14+
/// <summary>
15+
/// Name override
16+
/// </summary>
1117
string Name { get; set; }
1218
}
1319

20+
/// <summary>
21+
/// Configuration interface for members supporting camelCasing from attribute
22+
/// </summary>
1423
public interface ICamelCaseableAttribute
1524
{
25+
/// <summary>
26+
/// camelCase flag
27+
/// </summary>
1628
bool ShouldBeCamelCased { get; set; }
1729
}
1830
}

Reinforced.Typings/Fluent/Interfaces/IClassConfigurationBuilder.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Reinforced.Typings.Fluent.Interfaces
44
{
5+
/// <summary>
6+
/// Technical interface for class configuration builder
7+
/// </summary>
58
public interface IClassConfigurationBuilder : ITypeConfigurationBuilder,
69
IExportConfiguration<TsClassAttribute>
710
{

Reinforced.Typings/Fluent/Interfaces/IEnumConfigurationBuidler.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,19 @@
55

66
namespace Reinforced.Typings.Fluent.Interfaces
77
{
8+
/// <summary>
9+
/// Technical interface for enumeration configuration builder
10+
/// </summary>
811
public interface IEnumConfigurationBuidler : IExportConfiguration<TsEnumAttribute>, IReferenceConfigurationBuilder
912
{
13+
/// <summary>
14+
/// Type of enumeration
15+
/// </summary>
1016
Type EnumType { get; }
17+
18+
/// <summary>
19+
/// Configurations for exported particular enumeration values
20+
/// </summary>
1121
Dictionary<FieldInfo, EnumValueExportConfiguration> ValueExportConfigurations { get; }
1222
}
1323
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
namespace Reinforced.Typings.Fluent.Interfaces
22
{
3+
/// <summary>
4+
/// Core fluent export configuration interface
5+
/// </summary>
6+
/// <typeparam name="TAttributePrototype">Attribute prototype for specified member</typeparam>
37
public interface IExportConfiguration<out TAttributePrototype>
48
{
9+
/// <summary>
10+
/// Attribute prototype
11+
/// </summary>
512
TAttributePrototype AttributePrototype { get; }
613
}
714
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
namespace Reinforced.Typings.Fluent.Interfaces
22
{
3+
/// <summary>
4+
/// Configuration for members that are supporting ignoring
5+
/// </summary>
36
public interface IIgnorable
47
{
8+
/// <summary>
9+
/// Ignore flag
10+
/// </summary>
511
bool Ignore { get; set; }
612
}
713
}

Reinforced.Typings/Fluent/Interfaces/IInterfaceConfigurationBuilder.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Reinforced.Typings.Fluent.Interfaces
44
{
5+
/// <summary>
6+
/// Technical interface for interface configuration builder
7+
/// </summary>
58
public interface IInterfaceConfigurationBuilder : ITypeConfigurationBuilder,
69
IExportConfiguration<TsInterfaceAttribute>
710
{

Reinforced.Typings/Fluent/Interfaces/IReferenceConfigurationBuilder.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33

44
namespace Reinforced.Typings.Fluent.Interfaces
55
{
6+
/// <summary>
7+
/// Configuration interface for members supporting custom typescript-per-file references
8+
/// </summary>
69
public interface IReferenceConfigurationBuilder
710
{
11+
/// <summary>
12+
/// Reference paths list
13+
/// </summary>
814
ICollection<TsAddTypeReferenceAttribute> References { get; }
915
}
1016
}

Reinforced.Typings/Fluent/Interfaces/ITypeConfigurationBuilder.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,24 @@
55

66
namespace Reinforced.Typings.Fluent.Interfaces
77
{
8+
/// <summary>
9+
/// Technical interface for type (class/interface) configuration builder
10+
/// </summary>
811
public interface ITypeConfigurationBuilder : IReferenceConfigurationBuilder
912
{
13+
/// <summary>
14+
/// Configurations for method parameters
15+
/// </summary>
1016
Dictionary<ParameterInfo, IExportConfiguration<TsParameterAttribute>> ParametersConfiguration { get; }
17+
18+
/// <summary>
19+
/// Configurations for type members
20+
/// </summary>
1121
Dictionary<MemberInfo, IExportConfiguration<TsAttributeBase>> MembersConfiguration { get; }
22+
23+
/// <summary>
24+
/// Type is being configured
25+
/// </summary>
1226
Type Type { get; }
1327
}
1428
}

Reinforced.Typings/Xmldoc/DocumentationManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal DocumentationManager(string[] docFilePath)
3030
}
3131
}
3232

33-
public void CacheDocumentation(string docFilePath)
33+
internal void CacheDocumentation(string docFilePath)
3434
{
3535
if (string.IsNullOrEmpty(docFilePath)) return;
3636
if (!File.Exists(docFilePath)) return;

0 commit comments

Comments
 (0)