Skip to content

Commit c505333

Browse files
committed
Documentation updates and implementation of the following.
- Nested types - Support for partial method model updates
1 parent 62dd840 commit c505333

File tree

62 files changed

+791
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+791
-127
lines changed

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public abstract class CsAttribute:CsModel,ICsAttribute
3636
/// <param name="type">The target type of the attribute.</param>
3737
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
3838
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
39-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
39+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
4040
/// <param name="sourceFiles">The list of source files the attribute is defined in.</param>
4141
/// <param name="hasParameters">Flag that determines if the attribute has parameters.</param>
4242
/// <param name="parentPath">The fully qualified lookup path to the parent model for this attribute.</param>

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsAttributeParameter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public abstract class CsAttributeParameter:CsModel,ICsAttributeParameter
2929
/// <param name="value">The value assigned to the parameter.</param>
3030
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
3131
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
32-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
32+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
3333
/// <param name="hasNamedParameter">Flag that determines if the attribute parameter is a named parameter.</param>
3434
/// <param name="name">The name of the parameter, should be null if not named.</param>
3535
protected CsAttributeParameter(bool isLoaded, bool hasErrors, bool loadedFromSource, SourceCodeType language,

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsAttributeParameterValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public abstract class CsAttributeParameterValue:CsModel,ICsAttributeParameterVal
3232
/// <param name="values">The list of values if the parameter has more then one value.</param>
3333
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
3434
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
35-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
35+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
3636
/// <param name="parameterKind">The kind of attribute parameter.</param>
3737
/// <param name="value">The value of the attribute parameter.</param>
3838
/// <param name="enumValue">The value of the enumeration if the parameter is an enumeration.</param>

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsDelegate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public abstract class CsDelegate:CsModel,ICsDelegate
7070
/// <param name="endInvokeMethod">The end invoke method definition assigned to this delegate.</param>
7171
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
7272
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
73-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
73+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
7474
protected CsDelegate(bool isLoaded, bool hasErrors, bool loadedFromSource, SourceCodeType language,
7575
IReadOnlyList<CsAttribute> attributes, bool isGeneric, bool hasStrongTypesInGenerics, IReadOnlyList<CsGenericParameter> genericParameters,
7676
IReadOnlyList<CsType> genericTypes, bool hasDocumentation, string documentation, string lookupPath, string modelSourceFile,

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsEnumValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public abstract class CsEnumValue:CsModel,ICsEnumValue
3939
/// <param name="language">The target language the model was generated from.</param>
4040
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
4141
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
42-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
42+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
4343
/// <param name="attributes">List of the attributes assigned to this model.</param>
4444
/// <param name="sourceFiles">List of the fully qualified paths to the source code files this member is defined in.</param>
4545
/// <param name="hasDocumentation">Flag that determines if the model has XML documentation assigned to it.</param>

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public abstract class CsEvent:CsMember,ICsEvent
3636
/// <param name="eventType">The type definition that supports this event.</param>
3737
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
3838
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
39-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
39+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
4040
/// <param name="attributes">List of the attributes assigned to this model.</param>
4141
/// <param name="modelSourceFile">The source file the model was generated from.</param>
4242
/// <param name="sourceFiles">List of the fully qualified paths to the source code files this member is defined in.</param>

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsField.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public abstract class CsField:CsMember,ICsField
3131
/// <param name="dataType">The type definition for the field.</param>
3232
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
3333
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
34-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
34+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
3535
/// <param name="attributes">List of the attributes assigned to this model.</param>
3636
/// <param name="modelSourceFile">The source file the model was generated from.</param>
3737
/// <param name="sourceFiles">List of the fully qualified paths to the source code files this member is defined in.</param>

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsGenericParameter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public abstract class CsGenericParameter:CsModel,ICsGenericParameter
4242
/// <param name="type">The type definition for the generic type</param>
4343
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
4444
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
45-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
45+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
4646
protected CsGenericParameter(bool isLoaded, bool hasErrors, bool loadedFromSource, SourceCodeType language, CsModelType modelType,
4747
bool hasOutKeyword, bool hasNewConstraint, bool hasClassConstraint, bool hasStructConstraint,
4848
bool hasConstraintTypes, IReadOnlyList<CsType> constrainingTypes, CsType type, string sourceDocument = null, ModelStore<ICsModel> modelStore = null, IReadOnlyList<ModelLoadException> modelErrors = null)

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsInterface.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//*****************************************************************************
22
//* Code Factory SDK
3-
//* Copyright (c) 2020 CodeFactory, LLC
3+
//* Copyright (c) 2022 CodeFactory, LLC
44
//*****************************************************************************
55

66
using System.Collections.Generic;
@@ -26,7 +26,7 @@ public abstract class CsInterface:CsContainer,ICsInterface
2626
/// <param name="nestedModels">List of nested models assigned to this container. This is an optional parameter and can be null</param>
2727
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
2828
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
29-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
29+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
3030
/// <param name="attributes">List of the attributes assigned to this model.</param>
3131
/// <param name="isGeneric">Flag that determines if the container is a generic definition.</param>
3232
/// <param name="hasStrongTypesInGenerics">Flag that determines if the generics use strong type definitions.</param>

src/CodeFactoryVisualStudio/CodeFactory.DotNet/CSharp/CsMember.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public abstract class CsMember:CsModel,ICsMember
4040
/// <param name="memberType">The type of member this model represents.</param>
4141
/// <param name="sourceDocument">The source document that was used to build this model. This is optional parameter and can be null.</param>
4242
/// <param name="modelStore">Optional the lookup storage for models created during the compile or lookup of the model.</param>
43-
/// <param name="modelErrors">Optional the error that occured while creating the model.</param>
43+
/// <param name="modelErrors">Optional the error that occurred while creating the model.</param>
4444
/// <param name="modelType">The type of model that represents this member.</param>
4545
/// <param name="attributes">List of the attributes assigned to this model.</param>
4646
/// <param name="modelSourceFile">The source code file the model was generated from.</param>

0 commit comments

Comments
 (0)