Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.962 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 78 | src/NHibernate/Cfg/ConfigurationSchema/ClassCacheConfiguration.cs |
2 | 4 | 37 | src/NHibernate/Cfg/ConfigurationSchema/CollectionCacheConfiguration.cs |
| ||||
/// <summary> /// Initializes a new instance of the <see cref="ClassCacheConfiguration"/> class. /// </summary> /// <param name="clazz">The class full name.</param> /// <param name="usage">Cache strategy.</param> /// <param name="region">The cache region.</param> /// <exception cref="ArgumentException">When <paramref name="clazz"/> is null or empty.</exception> public ClassCacheConfiguration(string clazz, ClassCacheUsage usage, string region) : this(clazz, usage) { this.region = region; } |
| ||||
/// <summary> /// Initializes a new instance of the <see cref="CollectionCacheConfiguration"/> class. /// </summary> /// <param name="collection">The cache role.</param> /// <param name="usage">Cache strategy.</param> /// <param name="region">The cache region.</param> /// <exception cref="ArgumentException">When <paramref name="collection"/> is null or empty.</exception> public CollectionCacheConfiguration(string collection, ClassCacheUsage usage, string region) : this(collection, usage) { this.region = region; } |
| |||
/// <summary> /// Initializes a new instance of the <see cref="ClassCacheConfiguration"/> class. /// Initializes a new instance of the <see cref="CollectionCacheConfiguration"/> class. /// </summary> /// <param name="clazz">The class full name.</param> /// <param name="collection">The cache role.</param> /// <param name="usage">Cache strategy.</param> /// <param name="region">The cache region.</param> /// <exception cref="ArgumentException">When <paramref name="clazz"/> is null or empty.</exception> /// <exception cref="ArgumentException">When <paramref name="collection"/> is null or empty.</exception> public [[#variable54b5ce20]](string [[#variable54b5cda0]], ClassCacheUsage usage, string region): this( [[#variable54b5cda0]], usage) { this.region = region; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b5ce20]] | ClassCacheConfiguration |
1 | 2 | [[#54b5ce20]] | CollectionCacheConfiguration |
2 | 1 | [[#54b5cda0]] | clazz |
2 | 2 | [[#54b5cda0]] | collection |