本文整理汇总了C#中HashCodeCombiner类的典型用法代码示例。如果您正苦于以下问题:C# HashCodeCombiner类的具体用法?C# HashCodeCombiner怎么用?C# HashCodeCombiner使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
HashCodeCombiner类属于命名空间,在下文中一共展示了HashCodeCombiner类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: AddToHashCodeCombiner
internal override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddEnumerable(this.Arguments);
combiner.AddObject(this.Method);
combiner.AddFingerprint(this.Target);
}
开发者ID:StevePotter,项目名称:ArmChair,代码行数:7,代码来源:MethodCallExpressionFingerprint.cs
示例2: AddToHashCodeCombiner
internal override void AddToHashCodeCombiner(HashCodeCombiner combiner) {
base.AddToHashCodeCombiner(combiner);
combiner.AddFingerprint(Test);
combiner.AddFingerprint(IfTrue);
combiner.AddFingerprint(IfFalse);
}
开发者ID:nobled,项目名称:mono,代码行数:7,代码来源:ConditionalExpressionFingerprint.cs
示例3: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddObject(Method);
combiner.AddFingerprint(Operand);
}
开发者ID:radischevo,项目名称:Radischevo.Wahha,代码行数:7,代码来源:UnaryExpressionFingerprint.cs
示例4: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddObject(Member);
combiner.AddFingerprint(Target);
}
开发者ID:radischevo,项目名称:Radischevo.Wahha,代码行数:7,代码来源:MemberExpressionFingerprint.cs
示例5: GetHashCode
public override int GetHashCode()
{
var combiner = new HashCodeCombiner();
combiner.AddObject(Id);
combiner.AddObject(Version);
return combiner.CombinedHash;
}
开发者ID:monoman,项目名称:NugetCracker,代码行数:7,代码来源:PackageReference.cs
示例6: GetHashCode
public override int GetHashCode()
{
HashCodeCombiner combiner = new HashCodeCombiner();
combiner.AddObject(SourcePath);
combiner.AddObject(TargetPath);
return combiner.CombinedHash;
}
开发者ID:jacksonh,项目名称:nuget,代码行数:7,代码来源:PhysicalPackageFile.cs
示例7: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddEnumerable(Arguments);
combiner.AddObject(Method);
combiner.AddFingerprint(Target);
}
开发者ID:radischevo,项目名称:Radischevo.Wahha,代码行数:8,代码来源:MethodCallExpressionFingerprint.cs
示例8: CalculateProfilePropertySettingsHash
private void CalculateProfilePropertySettingsHash(ProfilePropertySettingsCollection settings, HashCodeCombiner hashCombiner)
{
foreach (ProfilePropertySettings settings2 in settings)
{
hashCombiner.AddObject(settings2.Name);
hashCombiner.AddObject(settings2.Type);
}
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:8,代码来源:ProfileSection.cs
示例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));
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:8,代码来源:BuildResultCodeCompileUnit.cs
示例10: AddToHashCodeCombiner
public override void AddToHashCodeCombiner(HashCodeCombiner combiner)
{
base.AddToHashCodeCombiner(combiner);
combiner.AddFingerprint(_test);
combiner.AddFingerprint(_ifTrue);
combiner.AddFingerprint(_ifFalse);
}
开发者ID:radischevo,项目名称:Radischevo.Wahha,代码行数:8,代码来源:ConditionalExpressionFingerprint.cs
示例11: AddToHashCodeCombiner
internal override void AddToHashCodeCombiner(HashCodeCombiner combiner) {
base.AddToHashCodeCombiner(combiner);
combiner.AddInt32(IsLiftedToNull.GetHashCode());
combiner.AddFingerprint(Left);
combiner.AddObject(Method);
combiner.AddFingerprint(Right);
}
开发者ID:nobled,项目名称:mono,代码行数:8,代码来源:BinaryExpressionFingerprint.cs
示例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;
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:8,代码来源:ControlCachedVary.cs
示例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;
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:10,代码来源:CachedVary.cs
示例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);
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:10,代码来源:BasePartialCachingControl.cs
示例16: HashCodeCombiner
int IEqualityComparer.GetHashCode(object obj)
{
byte[] buffer = (byte[]) obj;
HashCodeCombiner combiner = new HashCodeCombiner();
foreach (byte num in buffer)
{
combiner.AddObject(num);
}
return combiner.CombinedHash32;
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:10,代码来源:FileSecurity.cs
示例17: GetHashCode
public override int GetHashCode()
{
HashCodeCombiner combiner = new HashCodeCombiner();
foreach (DictionaryEntry entry in this._bag)
{
combiner.AddObject(entry.Key);
combiner.AddObject(entry.Value);
}
return combiner.CombinedHash32;
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:10,代码来源:AttributeCollection.cs
示例18: GetHashCode
/// <summary>
/// Create a unique hash code for the given set of items
/// </summary>
internal static int GetHashCode(params object[] objects)
{
HashCodeCombiner combiner = new HashCodeCombiner();
foreach (object obj in objects)
{
combiner.AddObject(obj);
}
return combiner.CombinedHash;
}
开发者ID:Microshaoft,项目名称:Microshaoft.Common.Utilities.Net.4x,代码行数:14,代码来源:HashCodeCombiner.cs
示例19: GetHashCode
/// <summary>
/// Create a unique hash code for the given set of items
/// </summary>
public static int GetHashCode(params object[] objects)
{
var combiner = new HashCodeCombiner();
foreach (var obj in objects)
{
combiner.AddObject(obj);
}
return combiner.CombinedHash;
}
开发者ID:OctopusDeploy,项目名称:Octo.exe,代码行数:14,代码来源:HashCodeCombiner.cs
示例20: ComputeHashCode
protected override void ComputeHashCode(HashCodeCombiner hashCodeCombiner)
{
base.ComputeHashCode(hashCodeCombiner);
if (base.VirtualPath != null)
{
Assembly localResourcesAssembly = BuildManager.GetLocalResourcesAssembly(base.VirtualPath.Parent);
if (localResourcesAssembly != null)
{
hashCodeCombiner.AddFile(localResourcesAssembly.Location);
}
}
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:12,代码来源:BuildResultCompiledType.cs
注:本文中的HashCodeCombiner类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论