-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
227 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Rules in this file were initially inferred by Visual Studio IntelliCode from the C:\Users\qiuha\Documents\CodeIndex\src codebase based on best match to current usage at 2020/11/28 | ||
# You can modify the rules from these initially generated values to suit your own policies | ||
# You can learn more about editorconfig here: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference | ||
[*.cs] | ||
|
||
|
||
#Core editorconfig formatting - indentation | ||
|
||
#use soft tabs (spaces) for indentation | ||
indent_style = space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
namespace CodeIndex.Common | ||
{ | ||
public enum IndexStatus | ||
{ | ||
Created, | ||
Initializing, | ||
Monitoring, | ||
Deleting | ||
} | ||
public enum IndexStatus | ||
{ | ||
Created, | ||
Initializing, | ||
Monitoring, | ||
Deleting | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
namespace CodeIndex.Common | ||
{ | ||
public class IndexStatusInfo | ||
{ | ||
public IndexStatusInfo(IndexStatus indexStatus, IndexConfig indexConfig) | ||
{ | ||
indexConfig.RequireNotNull(nameof(indexConfig)); | ||
IndexStatus = indexStatus; | ||
IndexConfig = indexConfig; | ||
} | ||
public class IndexStatusInfo | ||
{ | ||
public IndexStatusInfo(IndexStatus indexStatus, IndexConfig indexConfig) | ||
{ | ||
indexConfig.RequireNotNull(nameof(indexConfig)); | ||
IndexStatus = indexStatus; | ||
IndexConfig = indexConfig; | ||
} | ||
|
||
public IndexStatus IndexStatus { get; set; } | ||
public IndexConfig IndexConfig { get; } | ||
} | ||
public IndexStatus IndexStatus { get; set; } | ||
public IndexConfig IndexConfig { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters