本文整理汇总了C#中IXunitSerializationInfo.AddValue方法的典型用法代码示例。如果您正苦于以下问题:C# IXunitSerializationInfo.AddValue方法的具体用法?C# IXunitSerializationInfo.AddValue怎么用?C# IXunitSerializationInfo.AddValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IXunitSerializationInfo
的用法示例。
在下文中一共展示了IXunitSerializationInfo.AddValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(IXunitSerializationInfo data)
{
data.AddValue("VisualStudioVersion", VisualStudioVersion);
data.AddValue(SpecialNames.VsixAttribute.RootSuffix, RootSuffix);
data.AddValue(SpecialNames.VsixAttribute.NewIdeInstance, NewIdeInstance);
data.AddValue(SpecialNames.VsixAttribute.TimeoutSeconds, TimeoutSeconds);
}
示例2: Serialize
/// <inheritdoc/>
public virtual void Serialize(IXunitSerializationInfo info)
{
info.AddValue("DisplayName", DisplayName);
info.AddValue("TestAssembly", TestAssembly);
info.AddValue("UniqueID", UniqueID.ToString());
if (CollectionDefinition != null)
{
info.AddValue("DeclarationAssemblyName", CollectionDefinition.Assembly.Name);
info.AddValue("DeclarationTypeName", CollectionDefinition.Name);
}
else
{
info.AddValue("DeclarationAssemblyName", null);
info.AddValue("DeclarationTypeName", null);
}
}
示例3:
void IXunitSerializable.Serialize(IXunitSerializationInfo info) {
info.AddValue(nameof(Expression), Expression);
info.AddValue(nameof(Length), Length);
info.AddValue(nameof(NameCount), NameCount);
info.AddValue(nameof(AttrCount), AttrCount);
info.AddValue(nameof(SlotCount), SlotCount);
info.AddValue(nameof(Sorted), Sorted);
info.AddValue(nameof(Children), Children);
}
示例4: Serialize
public void Serialize(IXunitSerializationInfo info)
{
info.AddValue("clientName", this.clientName, typeof(string));
}
示例5: Serialize
public void Serialize(IXunitSerializationInfo info)
{
info.AddValue("InnerTestCase", testCase);
}
示例6: Serialize
public void Serialize(IXunitSerializationInfo info)
{
info.AddValue("IntValue", IntValue);
info.AddValue("StringValue", StringValue);
}
示例7: Serialize
public override void Serialize(IXunitSerializationInfo data)
{
base.Serialize(data);
data.AddValue("WhiteSpacePreservation", this.whiteSpacePreservation);
}
示例8: Serialize
public override void Serialize(IXunitSerializationInfo data) {
base.Serialize(data);
data.AddValue(nameof(ThreadType), ThreadType.ToString());
}
示例9: Serialize
public override void Serialize(IXunitSerializationInfo data)
{
base.Serialize(data);
data.AddValue(nameof(this.synchronizationContextType), this.synchronizationContextType);
}
示例10: Serialize
/// <inheritdoc/>
public override void Serialize(IXunitSerializationInfo data)
{
base.Serialize(data);
data.AddValue("ErrorMessage", ErrorMessage);
}
示例11: Serialize
public override void Serialize(IXunitSerializationInfo data)
{
base.Serialize(data);
data.AddValue("DisableRetry", DisableRetry);
}
示例12: Serialize
public void Serialize(IXunitSerializationInfo info)
{
info.AddValue("_data", _data, typeof(int[][]));
}
示例13: Serialize
/// <inheritdoc/>
public void Serialize(IXunitSerializationInfo info)
{
info.AddValue("ticks", this.timeSpan.Value.Ticks);
}
示例14: Serialize
public void Serialize(IXunitSerializationInfo info)
{
info.AddValue("Property", this.Property);
}
示例15: Serialize
/// <inheritdoc/>
public virtual void Serialize(IXunitSerializationInfo data)
{
data.AddValue("TestMethod", TestMethod);
data.AddValue("TestMethodArguments", TestMethodArguments);
data.AddValue("DefaultMethodDisplay", DefaultMethodDisplay.ToString());
}