public void Write(CustomAttributeProc attrProc) { this.attr_proc = attrProc; this.Write(); }
/// <summary> /// カスタム属性リスト (改行付き) を出力します。 /// </summary> /// <param name="typeDeclaration"></param> /// <param name="type"></param> /// <param name="attrProc">特定の属性に対する処理を指定します。</param> private void __WriteCustomAttributeCollection(ITypeDeclaration typeDeclaration, IType type, CustomAttributeProc attrProc) { if (this.configuration["ShowCustomAttributes"] != "true" || typeDeclaration == null || typeDeclaration.Attributes.Count == 0) { return; } AttributeCollection attr_c = new AttributeCollection(this, typeDeclaration, type); attr_c.Write(attrProc); this.WriteLine(); }