csharpcodegen 1.0.0 copy "csharpcodegen: ^1.0.0" to clipboard
csharpcodegen: ^1.0.0 copied to clipboard

CSharp Code Generator

example/csharpcodegen_example.dart

// ignore_for_file: unnecessary_import, unnecessary_new, prefer_collection_literals, unused_local_variable

import 'package:csharpcodegen/csharpcodegen.dart';
import 'package:csharpcodegen/src/InterfaceClass.dart';

void main() {
  InterfaceClass ic = new InterfaceClass("tryinterface");

  ClassClass cc = new ClassClass("tryclass");
  

  CallFunctionClass cfc = new CallFunctionClass("asd");

  ParameterClass pc = new ParameterClass("asd");
  pc.Parameter!.addAll({ "String":"variable1" });

  cfc.parameters!.add(pc);

  cc.callfunction!.add(cfc);

  ic.classes!.add(cc);

  print(ic.Stringify());
}
0
likes
125
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

CSharp Code Generator

Documentation

API reference

License

MIT (license)

More

Packages that depend on csharpcodegen