/// <summary> /// Initializes a new instance of the <see cref="AGenericDeclaration{TNode}"/> class. /// </summary> /// <param name="nameSpace">The class declaration name space.</param> /// <param name="name">The declaration name.</param> /// <param name="syntaxNodeProvider">The declaration syntax node provider.</param> /// <param name="usingDirectives">The current using directive available for this class.</param> /// <param name="location">The location of the declaration.</param> /// <param name="loader">The loader to use when deep loading the declaration.</param> protected AGenericDeclaration( string nameSpace, string name, ISyntaxNodeProvider <TNode> syntaxNodeProvider, IReadOnlyList <string> usingDirectives, string location, AGenericDeclarationLoader <TNode> loader) : base(nameSpace, name, syntaxNodeProvider, usingDirectives, location) { this.loader = loader; }
/// <summary> /// Initializes a new instance of the <see cref="StructDeclaration"/> class. /// </summary> /// <param name="nameSpace">The structure declaration name space.</param> /// <param name="name">The structure name.</param> /// <param name="syntaxNodeProvider">The structure syntax node provider.</param> /// <param name="usingDirectives">The current using directive available for this structure.</param> /// <param name="location">The location of the declaration.</param> /// <param name="loader">The class description loader.</param> public StructDeclaration( string nameSpace, string name, ISyntaxNodeProvider <StructDeclarationSyntax> syntaxNodeProvider, IReadOnlyList <string> usingDirectives, string location, AGenericDeclarationLoader <StructDeclarationSyntax> loader) : base( nameSpace, name, syntaxNodeProvider, usingDirectives, location, loader) { }