Example #1
0
 public override void FinishDictionary(Udbus.Parsing.BuildContext context, Udbus.Parsing.IParamCodeTypeHandler paramtypeHandler)
 {
     base.FinishDictionary(context, paramtypeHandler);
     this.typerefDict = new CodeTypeReference(this.DictionaryType.Name,
         new CodeTypeReference[]
         {
             this.paramtypeKey.CodeType,
             this.paramtypeValue.CodeType
         }
     );
     paramtypeHandler.HandleDictionary(new Udbus.Parsing.CodeParamType(this.typerefDict), this.name, CodeBuilderCommon.GetMarshalDictionaryScope());
 }