コード例 #1
0
 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;
 }
コード例 #2
0
        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;
        }
コード例 #3
0
 public NativeTypeAttribute(CodegenOptions codegenOptions, string intermediateStructName) : this(codegenOptions)
 {
     IntermediateScriptingStructName = intermediateStructName;
 }
コード例 #4
0
 public NativeTypeAttribute(string header, CodegenOptions codegenOptions) : this(header)
 {
     CodegenOptions = codegenOptions;
 }
コード例 #5
0
 public NativeTypeAttribute(CodegenOptions codegenOptions)
 {
     CodegenOptions = codegenOptions;
 }
コード例 #6
0
 public NativeTypeAttribute()
 {
     CodegenOptions = CodegenOptions.Auto;
 }
コード例 #7
0
 public ProjectRunnerCodegenService(IProject project)
 {
     _project = project;
     _options = project.Options ?? new CodegenOptions();
 }