Skip to content

Commit 1263b37

Browse files
committed
minor, not relevant
1 parent 16ae718 commit 1263b37

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

Connect.Dnn.Koi/Connect.Dnn.Koi.csproj.user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<IISExpressUseClassicPipelineMode />
1010
<UseGlobalApplicationHostFile />
1111
<ProjectView>ProjectFiles</ProjectView>
12-
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
12+
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
1313
</PropertyGroup>
1414
<ProjectExtensions>
1515
<VisualStudio>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=interfaces/@EntryIndexedValue">True</s:Boolean>
3+
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=page/@EntryIndexedValue">False</s:Boolean></wpf:ResourceDictionary>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//using System;
2+
3+
//namespace Connect.Koi.Internals
4+
//{
5+
// /// <summary>
6+
// /// Helper to ensure that commands with various overloads must use named parameters
7+
// /// </summary>
8+
// public class EnforceNamedParameters
9+
// {
10+
// /// <summary>
11+
// /// This is just a constant to give to the parameter "protecting" the others
12+
// /// Its value and type can be changed from time to time, as it's value is only checked internally.
13+
// /// </summary>
14+
// public const string ProtectionKey = "Dummy-Parameter - don't provide this, but do name all other parameters in this call using paramName: value";
15+
16+
// public static bool VerifyProtectionKey(string value, bool throwError = true)
17+
// {
18+
// var valid = value == ProtectionKey;
19+
// if (!valid && throwError)
20+
// throw new Exception("");
21+
// return valid;
22+
// }
23+
// }
24+
//}

0 commit comments

Comments
 (0)