internal TypeScriptFluentModuleMember(TypeScriptFluent fluentConfigurator, TsModuleMember member) : base(fluentConfigurator) { this.Member = member; }
/// <summary> /// Initializes a new instance of the TypeScriptFluent class /// </summary> /// <param name="fluentConfigurator">The source fluent configurator</param> protected TypeScriptFluent(TypeScriptFluent fluentConfigurator) { _modelBuilder = fluentConfigurator._modelBuilder; _scriptGenerator = fluentConfigurator._scriptGenerator; }
/// <summary> /// Splits the current TypeScriptFluent output into several files, one per module /// </summary> /// <param name="path">The path where the files should be saved.</param> /// <returns></returns> public static string ToModules(this TypeScriptFluent typeScriptFluent, string path) { string typeScript = typeScriptFluent.Generate(); return(ToModules(typeScript, path)); }