• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ISerializedTypeVisitor类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ISerializedTypeVisitor的典型用法代码示例。如果您正苦于以下问题:C# ISerializedTypeVisitor类的具体用法?C# ISerializedTypeVisitor怎么用?C# ISerializedTypeVisitor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ISerializedTypeVisitor类属于命名空间,在下文中一共展示了ISerializedTypeVisitor类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Arm32ProcedureSerializer

 public Arm32ProcedureSerializer(
     IProcessorArchitecture arch,
     ISerializedTypeVisitor<DataType> typeLoader, 
     string defaultConvention) 
     : base(arch, typeLoader, defaultConvention)
 {
 }
开发者ID:uxmal,项目名称:reko,代码行数:7,代码来源:ArmProcedureSerializer.cs


示例2: CreateProcedureSerializer

 public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
 {
     return new PowerPcProcedureSerializer(
         (PowerPcArchitecture)Architecture,
         typeLoader,
         defaultConvention);
 }
开发者ID:relaxar,项目名称:reko,代码行数:7,代码来源:Ps3Platform.cs


示例3: CreateProcedureSerializer

 public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
 {
     switch (Architecture.Name)
     {
     case "mips-be-32":
     case "mips-le-32":
         return new MipsProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "ppc32":
         return new PowerPcProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "sparc32":
         return new SparcProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "x86-protected-32":
         return new X86ProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "x86-protected-64":
         return new X86_64ProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "xtensa":
         return new XtensaProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "arm":
         return new Arm32ProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "m68k":
         return new M68kProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "avr8":
         return new Avr8ProcedureSerializer(Architecture, typeLoader, defaultConvention);
     case "risc-v":
         return new RiscVProcedureSerializer(Architecture, typeLoader, defaultConvention);
     default:
         throw new NotImplementedException(string.Format("Procedure serializer for {0} not implemented yet.", Architecture.Description));
     }
 }
开发者ID:uxmal,项目名称:reko,代码行数:29,代码来源:SysVPlatform.cs


示例4: Setup

 public void Setup()
 {
     this.mr = new MockRepository();
     this.arch = new MipsLe32Architecture();
     this.typeLoader = mr.Stub<ISerializedTypeVisitor<DataType>>();
     this.ssig = null;
     this.sig = null;
 }
开发者ID:gitter-badger,项目名称:reko,代码行数:8,代码来源:MipsProcedureSerializerTests.cs


示例5: PowerPcProcedureSerializer

 public PowerPcProcedureSerializer(
     PowerPcArchitecture arch,
     ISerializedTypeVisitor<DataType> typeLoader,
     string defaultCc)
     : base(arch, typeLoader, defaultCc)
 {
     this.arch = arch;
 }
开发者ID:relaxar,项目名称:reko,代码行数:8,代码来源:PowerPcProcedureSerializer.cs


示例6: ProcedureSerializer

		public ProcedureSerializer(
            IProcessorArchitecture arch, 
            ISerializedTypeVisitor<DataType> typeLoader, 
            string defaultConvention)
		{
			this.Architecture = arch;
            this.TypeLoader = typeLoader;
			this.DefaultConvention = defaultConvention;
		}
开发者ID:killbug2004,项目名称:reko,代码行数:9,代码来源:ProcedureSerializer.cs


示例7: CreateProcedureSerializer

 public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
 {
     throw new NotSupportedException();
 }
开发者ID:feelworld,项目名称:reko,代码行数:4,代码来源:Platform.cs


示例8: CreateProcedureSerializer

 public ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
 {
     return new PowerPcProcedureSerializer(this, typeLoader, defaultCc);
 }
开发者ID:gh0std4ncer,项目名称:reko,代码行数:4,代码来源:PowerPcArchitecture.cs


示例9: CreateProcedureSerializer

 public ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
 {
     throw new NotSupportedException();  //$Makes no sense in C64 Basic!
 }
开发者ID:melbcat,项目名称:reko,代码行数:4,代码来源:C64Basic.cs


示例10: CreateProcedureSerializer

 public ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
 {
     throw new NotImplementedException();
 }
开发者ID:killbug2004,项目名称:reko,代码行数:4,代码来源:Pdp11Architecture.cs


示例11: CreateProcedureSerializer

 public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
 {
     //$BUGBUG: unlikely to be correct in long run.
     return new X86ProcedureSerializer((IntelArchitecture) this.Architecture, typeLoader, defaultConvention);
 }
开发者ID:feelworld,项目名称:reko,代码行数:5,代码来源:MsdosPlatform.cs


示例12: M68kProcedureSerializer

 public M68kProcedureSerializer(M68kArchitecture arch, ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
     : base(arch, typeLoader, defaultCc)
 {
 }
开发者ID:gitter-badger,项目名称:reko,代码行数:4,代码来源:M68kProcedureSerializer.cs


示例13: X86_64ProcedureSerializer

 public X86_64ProcedureSerializer(IProcessorArchitecture arch, ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
     : base(arch, typeLoader, defaultCc)
 {
 }
开发者ID:relaxar,项目名称:reko,代码行数:4,代码来源:X86_64ProcedureSerializer.cs


示例14: CreateProcedureSerializer

 public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
 {
     return Test_CreateProcedureSerializer(typeLoader, defaultConvention);
 }
开发者ID:relaxar,项目名称:reko,代码行数:4,代码来源:FakePlatform.cs


示例15: CreateProcedureSerializer

 public override Core.Serialization.ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
 {
     throw new NotImplementedException();
 }
开发者ID:nemerle,项目名称:reko,代码行数:4,代码来源:ZX81Environment.cs


示例16: Given_ProcedureSerializer

 private void Given_ProcedureSerializer()
 {
     this.deserializer = mockFactory.CreateDeserializer(arch.PointerType.Size);
     this.ser = new Arm32ProcedureSerializer(arch, deserializer, "");
 }
开发者ID:uxmal,项目名称:reko,代码行数:5,代码来源:Arm32ProcedureSerializerTests.cs


示例17: Given_ProcedureSerializer

 private void Given_ProcedureSerializer(string cConvention)
 {
     this.deserializer = new FakeTypeDeserializer(4);
     this.ser = new X86ProcedureSerializer(arch, deserializer, cConvention);
 }
开发者ID:relaxar,项目名称:reko,代码行数:5,代码来源:X86ProcedureSerializerTests.cs


示例18: Given_ProcedureSerializer

 private void Given_ProcedureSerializer(string cConvention)
 {
     this.deserializer = mockFactory.CreateDeserializer();
     this.ser = new X86ProcedureSerializer(arch, deserializer, cConvention);
 }
开发者ID:gitter-badger,项目名称:reko,代码行数:5,代码来源:X86ProcedureSerializerTests.cs


示例19: Given_ProcedureSerializer

 private void Given_ProcedureSerializer()
 {
     this.deserializer = mockFactory.CreateDeserializer();
     this.ser = new PowerPcProcedureSerializer(arch, deserializer, "");
 }
开发者ID:gitter-badger,项目名称:reko,代码行数:5,代码来源:PowerPcProcedureSerializerTests.cs



注:本文中的ISerializedTypeVisitor类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ISerializer类代码示例发布时间:2022-05-24
下一篇:
C# ISerialize类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap