本文整理汇总了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;未经允许,请勿转载。 |
请发表评论