Fixed spacing
This commit is contained in:
Родитель
258512d75d
Коммит
713fc3d771
|
@ -14,23 +14,31 @@ namespace Microsoft.CorrelationVector
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract string Value { get; }
|
public abstract string Value { get; }
|
||||||
|
|
||||||
public abstract string Base { get; }
|
public abstract string Base { get; }
|
||||||
|
|
||||||
public abstract int Extension { get; }
|
public abstract int Extension { get; }
|
||||||
|
|
||||||
protected const string HeaderName = "MS-CV";
|
protected const string HeaderName = "MS-CV";
|
||||||
|
|
||||||
public CorrelationVectorVersion Version {
|
public CorrelationVectorVersion Version {
|
||||||
get;
|
get;
|
||||||
protected set;
|
protected set;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether or not to validate the correlation
|
/// Gets or sets a value indicating whether or not to validate the correlation
|
||||||
/// vector on creation.
|
/// vector on creation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static bool ValidateCorrelationVectorDuringCreation { get; set; }
|
public static bool ValidateCorrelationVectorDuringCreation { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is the maximum vector length before it has to be reset or terminated.
|
/// This is the maximum vector length before it has to be reset or terminated.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal const byte MaxVectorLength = 127;
|
internal const byte MaxVectorLength = 127;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines whether two instances of the <see cref="ICorrelationVector"/> class
|
/// Determines whether two instances of the <see cref="ICorrelationVector"/> class
|
||||||
/// are equal.
|
/// are equal.
|
||||||
|
@ -89,11 +97,13 @@ namespace Microsoft.CorrelationVector
|
||||||
return RunStaticMethod(correlationVector, version, CorrelationVectorV1.Extend, CorrelationVectorV2.Extend);
|
return RunStaticMethod(correlationVector, version, CorrelationVectorV1.Extend, CorrelationVectorV2.Extend);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CorrelationVector Spin(string correlationVector)
|
public static CorrelationVector Spin(string correlationVector)
|
||||||
{
|
{
|
||||||
CorrelationVectorVersion version = CorrelationVector.InferVersion(correlationVector);
|
CorrelationVectorVersion version = CorrelationVector.InferVersion(correlationVector);
|
||||||
return RunStaticMethod(correlationVector, version, NotHandledMethod, CorrelationVectorV2.Spin);
|
return RunStaticMethod(correlationVector, version, NotHandledMethod, CorrelationVectorV2.Spin);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CorrelationVector Spin(string correlationVector, SpinParameters parameters)
|
public static CorrelationVector Spin(string correlationVector, SpinParameters parameters)
|
||||||
{
|
{
|
||||||
CorrelationVectorVersion version = CorrelationVector.InferVersion(correlationVector);
|
CorrelationVectorVersion version = CorrelationVector.InferVersion(correlationVector);
|
||||||
|
@ -136,6 +146,7 @@ namespace Microsoft.CorrelationVector
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract Tuple<string, string> Reset();
|
public abstract Tuple<string, string> Reset();
|
||||||
|
|
||||||
public abstract string Increment();
|
public abstract string Increment();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче