本文整理汇总了C#中HashCodeCombiner类的典型用法代码示例。如果您正苦于以下问题:C# HashCodeCombiner类的具体用法?C# HashCodeCombiner怎么用?C# HashCodeCombiner使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
HashCodeCombiner类属于命名空间,在下文中一共展示了HashCodeCombiner类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddToHashCodeCombiner
internal override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddEnumerable(this.Arguments);
combiner.AddObject(this.Method);
combiner.AddFingerprint(this.Target);
}
示例2: AddToHashCodeCombiner
internal override void AddToHashCodeCombiner(HashCodeCombiner combiner) {
base.AddToHashCodeCombiner(combiner);
combiner.AddFingerprint(Test);
combiner.AddFingerprint(IfTrue);
combiner.AddFingerprint(IfFalse);
}
示例3: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddObject(Method);
combiner.AddFingerprint(Operand);
}
示例4: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddObject(Member);
combiner.AddFingerprint(Target);
}
示例5: GetHashCode
public override int GetHashCode()
{
var combiner = new HashCodeCombiner();
combiner.AddObject(Id);
combiner.AddObject(Version);
return combiner.CombinedHash;
}
示例6: GetHashCode
public override int GetHashCode()
{
HashCodeCombiner combiner = new HashCodeCombiner();
combiner.AddObject(SourcePath);
combiner.AddObject(TargetPath);
return combiner.CombinedHash;
}
示例7: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddEnumerable(Arguments);
combiner.AddObject(Method);
combiner.AddFingerprint(Target);
}
示例8: CalculateProfilePropertySettingsHash
private void CalculateProfilePropertySettingsHash(ProfilePropertySettingsCollection settings, HashCodeCombiner hashCombiner)
{
foreach (ProfilePropertySettings settings2 in settings)
{
hashCombiner.AddObject(settings2.Name);
hashCombiner.AddObject(settings2.Type);
}
}
示例9: ComputeHashCode
protected override void ComputeHashCode(HashCodeCombiner hashCodeCombiner)
{
base.ComputeHashCode(hashCodeCombiner);
CompilationSection compilationConfig = MTConfigUtil.GetCompilationConfig(base.VirtualPath);
hashCodeCombiner.AddObject(compilationConfig.RecompilationHash);
PagesSection pagesConfig = MTConfigUtil.GetPagesConfig(base.VirtualPath);
hashCodeCombiner.AddObject(Util.GetRecompilationHash(pagesConfig));
}
示例10: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddFingerprint(_test);
combiner.AddFingerprint(_ifTrue);
combiner.AddFingerprint(_ifFalse);
}
示例11: AddToHashCodeCombiner
internal override void AddToHashCodeCombiner(HashCodeCombiner combiner) {
base.AddToHashCodeCombiner(combiner);
combiner.AddInt32(IsLiftedToNull.GetHashCode());
combiner.AddFingerprint(Left);
combiner.AddObject(Method);
combiner.AddFingerprint(Right);
}
示例12: GetHashCode
public override int GetHashCode()
{
HashCodeCombiner combiner = new HashCodeCombiner();
combiner.AddObject(this._varyByCustom);
combiner.AddArray(this._varyByParams);
combiner.AddArray(this._varyByControls);
return combiner.CombinedHash32;
}
示例13: ComputeSourceDependenciesHashCode
internal override string ComputeSourceDependenciesHashCode(VirtualPath virtualPath)
{
if (virtualPath == null)
{
virtualPath = base.VirtualPath;
}
HashCodeCombiner combiner = new HashCodeCombiner();
combiner.AddResourcesDirectory(virtualPath.MapPathInternal());
return combiner.CombinedHashString;
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:10,代码来源:BuildResultResourceAssembly.cs
示例14: GetHashCode
public override int GetHashCode()
{
HashCodeCombiner combiner = new HashCodeCombiner();
combiner.AddObject(this._varyByAllParams);
combiner.AddObject(this._varyByCustom);
combiner.AddArray(this._contentEncodings);
combiner.AddArray(this._headers);
combiner.AddArray(this._params);
return combiner.CombinedHash32;
}
示例15: ComputeNonVaryCacheKey
private string ComputeNonVaryCacheKey(HashCodeCombiner combinedHashCode)
{
combinedHashCode.AddObject(this._guid);
HttpBrowserCapabilities browser = this.Context.Request.Browser;
if (browser != null)
{
combinedHashCode.AddObject(browser.TagWriter);
}
return ("l" + combinedHashCode.CombinedHashString);
}