Nuke.Cola
Loading...
Searching...
No Matches
Nuke.Cola.LicenseRegion Class Reference

Public Member Functions

LicenseRegion WithCommentTemplate< T > (T template)
 

Properties

IEnumerable< ILicenseCommentTemplateTemplates [get]
 
Func< AbsolutePath, bool >? AllowDirectory [get, set]
 
Func< AbsolutePath, bool >? AllowFile [get, set]
 
string LicenseRegionFile = "*LicenseRegion*" [get, set]
 
bool AllowDotFiles = false [get, set]
 
bool AllowDotDirectories = false [get, set]
 

Private Attributes

Dictionary< Type, ILicenseCommentTemplateDefaultCommentTemplates
 

Detailed Description

Definition at line 72 of file LicenseRegion.cs.

Member Function Documentation

◆ WithCommentTemplate< T >()

LicenseRegion Nuke.Cola.LicenseRegion.WithCommentTemplate< T > ( T template)
Type Constraints
T :ILicenseCommentTemplate 

Definition at line 80 of file LicenseRegion.cs.

Member Data Documentation

◆ DefaultCommentTemplates

Dictionary<Type, ILicenseCommentTemplate> Nuke.Cola.LicenseRegion.DefaultCommentTemplates
private
Initial value:
= new()
{
[typeof(CppLicenseCommentTemplate)] = new CppLicenseCommentTemplate(),
[typeof(CSharpLicenseCommentTemplate)] = new CSharpLicenseCommentTemplate(),
}

Definition at line 74 of file LicenseRegion.cs.

Property Documentation

◆ AllowDirectory

Func<AbsolutePath, bool>? Nuke.Cola.LicenseRegion.AllowDirectory
getset

Definition at line 88 of file LicenseRegion.cs.

◆ AllowDotDirectories

bool Nuke.Cola.LicenseRegion.AllowDotDirectories = false
getset

Definition at line 93 of file LicenseRegion.cs.

◆ AllowDotFiles

bool Nuke.Cola.LicenseRegion.AllowDotFiles = false
getset

Definition at line 92 of file LicenseRegion.cs.

◆ AllowFile

Func<AbsolutePath, bool>? Nuke.Cola.LicenseRegion.AllowFile
getset

Definition at line 89 of file LicenseRegion.cs.

◆ LicenseRegionFile

string Nuke.Cola.LicenseRegion.LicenseRegionFile = "*LicenseRegion*"
getset

Definition at line 91 of file LicenseRegion.cs.

◆ Templates

IEnumerable<ILicenseCommentTemplate> Nuke.Cola.LicenseRegion.Templates
get

Definition at line 86 of file LicenseRegion.cs.


The documentation for this class was generated from the following file: