Exemplo n.º 1
0
 public static CodeTypeReference PropertyType(CodeTypeFactory codetypefactoryOut, string idlPropertyType)
 {
     Udbus.Parsing.ICodeTypeDeclarationHolder     declarationHolderProperty = new Udbus.Parsing.CodeTypeNoOpHolder();
     Udbus.Parsing.IDLArgumentTypeNameBuilderBase nameBuilder     = new Udbus.Parsing.IDLArgumentTypeNameBuilderNoOp();
     marshal.outward.ParamCodeTypeHolderProperty  paramtypeHolder = new marshal.outward.ParamCodeTypeHolderProperty(codetypefactoryOut, FieldDirection.Out);
     Udbus.Parsing.BuildContext context = new Udbus.Parsing.BuildContext(declarationHolderProperty);
     Udbus.Parsing.CodeBuilderHelper.BuildCodeParamType(paramtypeHolder, nameBuilder, idlPropertyType, context);
     return(paramtypeHolder.paramtype.CodeType);
 }
Exemplo n.º 2
0
 public ArrayParamCodeTypeHolderProperty(ParamCodeTypeHolderProperty owner, CodeTypeFactory codetypeFactory, FieldDirection fieldDirection)
     : base(owner, codetypeFactory, fieldDirection)
 {
     this.owner = owner;
 }
Exemplo n.º 3
0
 public ArrayParamCodeTypeHolderProperty(ParamCodeTypeHolderProperty owner, CodeTypeFactory codetypeFactory, FieldDirection fieldDirection)
     : base(owner, codetypeFactory, fieldDirection)
 {
     this.owner = owner;
 }