public NativeTypeAttribute(string header) { if (header == null) { throw new ArgumentNullException("header"); } if (header == "") { throw new ArgumentException("header cannot be empty", "header"); } this.CodegenOptions = CodegenOptions.Auto; this.Header = header; }
public NativeTypeAttribute(string header) { bool flag = header == null; if (flag) { throw new ArgumentNullException("header"); } bool flag2 = header == ""; if (flag2) { throw new ArgumentException("header cannot be empty", "header"); } this.CodegenOptions = CodegenOptions.Auto; this.Header = header; }
public NativeTypeAttribute(CodegenOptions codegenOptions, string intermediateStructName) : this(codegenOptions) { IntermediateScriptingStructName = intermediateStructName; }
public NativeTypeAttribute(string header, CodegenOptions codegenOptions) : this(header) { CodegenOptions = codegenOptions; }
public NativeTypeAttribute(CodegenOptions codegenOptions) { CodegenOptions = codegenOptions; }
public NativeTypeAttribute() { CodegenOptions = CodegenOptions.Auto; }
public ProjectRunnerCodegenService(IProject project) { _project = project; _options = project.Options ?? new CodegenOptions(); }