System.Data.SQLite

Check-in [eab7df35a4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove type name prefix from the method names in the registry operation log output.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: eab7df35a4ef37ab1667fe5be172e5fdef6c7914
User & Date: mistachkin 2017-12-07 00:57:19.794
Context
2017-12-07
01:27
When cloning a MockRegistryKey, be sure to preserve its subKeyName field as well. check-in: c98795a9a2 user: mistachkin tags: trunk
00:57
Remove type name prefix from the method names in the registry operation log output. check-in: eab7df35a4 user: mistachkin tags: trunk
2017-12-06
23:53
Further refinements to the design-time components installer in preparation for future enhancements. check-in: 3f2760ab0f user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to tools/install/Installer.cs.
2677
2678
2679
2680
2681
2682
2683














2684
2685
2686
2687
2688
2689
2690
                object value
                )
            {
                lock (syncRoot) /* TRANSACTIONAL */
                {
                    if (operationList == null)
                        return;















                    operationList.Add(new RegistryOperation(
                        methodName, key, subKeyName, valueName, value));
                }
            }
            #endregion
        }







>
>
>
>
>
>
>
>
>
>
>
>
>
>







2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
                object value
                )
            {
                lock (syncRoot) /* TRANSACTIONAL */
                {
                    if (operationList == null)
                        return;

                    if (methodName != null)
                    {
                        string typePrefix = String.Format(
                            "{0}{1}", typeof(RegistryHelper).Name,
                            Type.Delimiter);

                        if (methodName.StartsWith(
                                typePrefix, StringComparison.Ordinal))
                        {
                            methodName = methodName.Substring(
                                typePrefix.Length);
                        }
                    }

                    operationList.Add(new RegistryOperation(
                        methodName, key, subKeyName, valueName, value));
                }
            }
            #endregion
        }