Class CsContainerWithNestedContainers +
+Data model that implements the base implement for all models that support members.
+Inheritance
+ + + +Implements
+ + + + + + + + + + + + + + + + + + +Inherited Members
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Namespace: CodeFactory.DotNet.CSharp
+Assembly: CodeFactory.DotNet.dll
+Syntax
+public abstract class CsContainerWithNestedContainers : CsContainer, ICsNestedContainers, ICsContainer, ICsGeneric, IDotNetNestedContainers, IDotNetContainer, IDotNetGeneric, ICsNestedModel, ICsModel, ICsAttributes, IDotNetNestedModel, IDotNetModel, IModelStatus, ISourceFiles, IDotNetAttributes, IDocumentation, ILookup, IParent, IParent
+ Constructors +
+ + | + Improve this Doc + + + View Source + + +CsContainerWithNestedContainers(bool, bool, bool, SourceCodeType, CsModelType, IReadOnlyList<CsAttribute>, bool, bool, IReadOnlyList<CsGenericParameter>, IReadOnlyList<CsType>, string, IReadOnlyList<string>, bool, string, string, string, string, string, CsContainerType, CsSecurity, IReadOnlyList<CsInterface>, IReadOnlyList<CsMember>, bool, CsNestedType, IReadOnlyList<ICsNestedModel>, string, ModelStore<ICsModel>, IReadOnlyList<ModelLoadException>)
+Constructor for the CsContainerWithNestedContainers
+Declaration
+protected CsContainerWithNestedContainers(bool isLoaded, bool hasErrors, bool loadedFromSource, SourceCodeType language, CsModelType modelType, IReadOnlyList<CsAttribute> attributes, bool isGeneric, bool hasStrongTypesInGenerics, IReadOnlyList<CsGenericParameter> genericParameters, IReadOnlyList<CsType> genericTypes, string modelSourceFile, IReadOnlyList<string> sourceFiles, bool hasDocumentation, string documentation, string lookupPath, string name, string ns, string parentPath, CsContainerType containerType, CsSecurity security, IReadOnlyList<CsInterface> inheritedInterfaces, IReadOnlyList<CsMember> members, bool isNested, CsNestedType nestedType, IReadOnlyList<ICsNestedModel> nestedModels = null, string sourceDocument = null, ModelStore<ICsModel> modelStore = null, IReadOnlyList<ModelLoadException> modelErrors = null)
+ Parameters
+| Type | +Name | +Description | +
|---|---|---|
| bool | +isLoaded | +Flag that determines if the model was loaded. + |
+
| bool | +hasErrors | +Flag that determine if errors were found creating the model. + |
+
| bool | +loadedFromSource | +Flag that determines if the model was loaded from source code or from an existing library. + |
+
| SourceCodeType | +language | +The target language the model was generated from. + |
+
| CsModelType | +modelType | +The type of code model created. + |
+
| IReadOnlyList<CsAttribute> | +attributes | +List of the attributes assigned to this model. + |
+
| bool | +isGeneric | +Flag that determines if the container is a generic definition. + |
+
| bool | +hasStrongTypesInGenerics | +Flag that determines if the generics use strong type definitions. + |
+
| IReadOnlyList<CsGenericParameter> | +genericParameters | +Generic parameters assigned to the container. + |
+
| IReadOnlyList<CsType> | +genericTypes | +Target types for the generic parameters assigned to the container. + |
+
| string | +modelSourceFile | +The source file the model was loaded from. + |
+
| IReadOnlyList<string> | +sourceFiles | +List of the fully qualified paths to the source code files this model is defined in. + |
+
| bool | +hasDocumentation | +Flag that determines if the model has XML documentation assigned to it. + |
+
| string | +documentation | +The xml documentation assigned to the model. + |
+
| string | +lookupPath | +The fully qualified model lookup path for this model. + |
+
| string | +name | +The name of the model. + |
+
| string | +ns | +The namespace the container belongs to. + |
+
| string | +parentPath | +The fully qualified lookup path for the parent model to this one. + |
+
| CsContainerType | +containerType | +The type of container this model represents. + |
+
| CsSecurity | +security | +The security scope assigned to this model. + |
+
| IReadOnlyList<CsInterface> | +inheritedInterfaces | +The interfaces that are inherited by this container. + |
+
| IReadOnlyList<CsMember> | +members | +The members assigned to this container. + |
+
| bool | +isNested | +Flag that determines if the container type is nested in another type definition. + |
+
| CsNestedType | +nestedType | +Enumeration of the type of nesting the container is. + |
+
| IReadOnlyList<ICsNestedModel> | +nestedModels | +List of nested models assigned to this container. This is an optional parameter and can be null + |
+
| string | +sourceDocument | +The source document that was used to build this model. This is optional parameter and can be null. + |
+
| ModelStore<ICsModel> | +modelStore | +Optional the lookup storage for models created during the compile or lookup of the model. + |
+
| IReadOnlyList<ModelLoadException> | +modelErrors | +Optional the error that occurred while creating the model. + |
+
Properties +
+ + | + Improve this Doc + + + View Source + + +IsNested
+Flag that determines if this model is nested in a parent model.
+Declaration
+public bool IsNested { get; }
+ Property Value
+| Type | +Description | +
|---|---|
| bool | ++ |
NestedClasses
+Classes that are nested in this container.
+Declaration
+public IReadOnlyList<CsClass> NestedClasses { get; }
+ Property Value
+| Type | +Description | +
|---|---|
| IReadOnlyList<CsClass> | ++ |
NestedEnums
+Enums that are nested in this container.
+Declaration
+public IReadOnlyList<CsEnum> NestedEnums { get; }
+ Property Value
+| Type | +Description | +
|---|---|
| IReadOnlyList<CsEnum> | ++ |
NestedInterfaces
+Interfaces that are nested in this container.
+Declaration
+public IReadOnlyList<CsInterface> NestedInterfaces { get; }
+ Property Value
+| Type | +Description | +
|---|---|
| IReadOnlyList<CsInterface> | ++ |
NestedModels
+Models that are nested in the implementation of this container.
+Declaration
+public IReadOnlyList<ICsNestedModel> NestedModels { get; }
+ Property Value
+| Type | +Description | +
|---|---|
| IReadOnlyList<ICsNestedModel> | ++ |
NestedStructures
+Structures that are nested in this container.
+Declaration
+public IReadOnlyList<CsStructure> NestedStructures { get; }
+ Property Value
+| Type | +Description | +
|---|---|
| IReadOnlyList<CsStructure> | ++ |
NestedType
+Identifies the type of model that has been nested.
+Declaration
+public CsNestedType NestedType { get; }
+ Property Value
+| Type | +Description | +
|---|---|
| CsNestedType | ++ |
Explicit Interface Implementations +
+ + | + Improve this Doc + + + View Source + + +IDotNetNestedContainers.NestedClasses
+Classes that are nested in this container.
+Declaration
+IReadOnlyList<IDotNetClass> IDotNetNestedContainers.NestedClasses { get; }
+ Returns
+| Type | +Description | +
|---|---|
| IReadOnlyList<IDotNetClass> | ++ |
IDotNetNestedContainers.NestedEnums
+Enums that are nested in this container.
+Declaration
+IReadOnlyList<IDotNetEnum> IDotNetNestedContainers.NestedEnums { get; }
+ Returns
+| Type | +Description | +
|---|---|
| IReadOnlyList<IDotNetEnum> | ++ |
IDotNetNestedContainers.NestedInterfaces
+Interfaces that are nested in this container.
+Declaration
+IReadOnlyList<IDotNetInterface> IDotNetNestedContainers.NestedInterfaces { get; }
+ Returns
+| Type | +Description | +
|---|---|
| IReadOnlyList<IDotNetInterface> | ++ |
IDotNetNestedContainers.NestedModels
+Models that are nested in the implementation of this container.
+Declaration
+IReadOnlyList<IDotNetNestedModel> IDotNetNestedContainers.NestedModels { get; }
+ Returns
+| Type | +Description | +
|---|---|
| IReadOnlyList<IDotNetNestedModel> | ++ |
IDotNetNestedContainers.NestedStructures
+Structures that are nested in this container.
+Declaration
+IReadOnlyList<IDotNetStructure> IDotNetNestedContainers.NestedStructures { get; }
+ Returns
+| Type | +Description | +
|---|---|
| IReadOnlyList<IDotNetStructure> | ++ |
IDotNetNestedModel.NestedType
+Identifies the type of model that has been nested.
+Declaration
+DotNetNestedType IDotNetNestedModel.NestedType { get; }
+ Returns
+| Type | +Description | +
|---|---|
| DotNetNestedType | ++ |
+