|
|
@ -76,6 +76,8 @@ namespace Volo.Docs.Projects |
|
|
ParametersDocumentName = Check.NotNullOrWhiteSpace(parametersDocumentName, nameof(parametersDocumentName)); |
|
|
ParametersDocumentName = Check.NotNullOrWhiteSpace(parametersDocumentName, nameof(parametersDocumentName)); |
|
|
|
|
|
|
|
|
ExtraProperties = new Dictionary<string, object>(); |
|
|
ExtraProperties = new Dictionary<string, object>(); |
|
|
|
|
|
|
|
|
|
|
|
NormalizeShortName(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void SetName(string name) |
|
|
public void SetName(string name) |
|
|
@ -102,5 +104,10 @@ namespace Volo.Docs.Projects |
|
|
{ |
|
|
{ |
|
|
DefaultDocumentName = Check.NotNullOrWhiteSpace(defaultDocumentName, nameof(defaultDocumentName)); |
|
|
DefaultDocumentName = Check.NotNullOrWhiteSpace(defaultDocumentName, nameof(defaultDocumentName)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void NormalizeShortName() |
|
|
|
|
|
{ |
|
|
|
|
|
ShortName = ShortName.ToLower(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |