Skip to content

Commit

Permalink
Add files
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed May 5, 2017
0 parents commit 1528e33
Show file tree
Hide file tree
Showing 41 changed files with 3,385 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# EditorConfig is awesome:http://EditorConfig.org

# top-most EditorConfig file
root = true

# Don't use tabs for indentation.
[*]
indent_style = space
# (Please don't specify an indent_size here; that has too many unintended consequences.)

# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4

# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2

# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2

# JSON files
[*.json]
indent_size = 2

# Dotnet code style settings:
[*.{cs, vb}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion

# Use language keywords instead of framework type names for type references
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = false:suggestion

# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion

# CSharp code style settings:
[*.cs]
# Prefer "var" everywhere
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion

# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_operators = false:none

# Prefer property-like constructs to have an expression-body
csharp_style_expression_bodied_properties = true:none
csharp_style_expression_bodied_indexers = true:none
csharp_style_expression_bodied_accessors = true:none

# Suggest more modern language features when available
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion

# Newline settings
csharp_new_line_before_open_brace = false:error
csharp_new_line_before_else = false:error
csharp_new_line_before_catch = false:error
csharp_new_line_before_finally = false:error
csharp_new_line_before_members_in_object_initializers = false:error
csharp_new_line_before_members_in_anonymous_types = false:error
189 changes: 189 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# project.json
*.lock.json
.vs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
artifacts
temp

# Roslyn cache directories
*.ide/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# If using the old MSBuild-Integrated Package Restore, uncomment this:
#!**/packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/
.vs/config/applicationhost.config
63 changes: 63 additions & 0 deletions Foundatio.Redis.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{70515E66-DAF8-4D18-8F8F-8A2934171AA9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4E12E4C1-2EC6-4EC7-8956-AF2721DA4ECE}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
appveyor.yml = appveyor.yml
build\common.props = build\common.props
README.md = README.md
build\sourcelink.props = build\sourcelink.props
build\test.props = build\test.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Foundatio.Redis", "src\Foundatio.Redis\Foundatio.Redis.csproj", "{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Foundatio.Redis.Tests", "test\Foundatio.Redis.Tests\Foundatio.Redis.Tests.csproj", "{9832E1F4-C826-4704-890A-00F330BC5913}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Debug|x64.ActiveCfg = Debug|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Debug|x64.Build.0 = Debug|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Debug|x86.ActiveCfg = Debug|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Debug|x86.Build.0 = Debug|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Release|Any CPU.Build.0 = Release|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Release|x64.ActiveCfg = Release|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Release|x64.Build.0 = Release|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Release|x86.ActiveCfg = Release|Any CPU
{EAE3607D-73A1-4D02-BDAA-24A37DDA15CB}.Release|x86.Build.0 = Release|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Debug|x64.ActiveCfg = Debug|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Debug|x64.Build.0 = Debug|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Debug|x86.ActiveCfg = Debug|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Debug|x86.Build.0 = Debug|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Release|Any CPU.Build.0 = Release|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Release|x64.ActiveCfg = Release|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Release|x64.Build.0 = Release|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Release|x86.ActiveCfg = Release|Any CPU
{9832E1F4-C826-4704-890A-00F330BC5913}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{9832E1F4-C826-4704-890A-00F330BC5913} = {70515E66-DAF8-4D18-8F8F-8A2934171AA9}
EndGlobalSection
EndGlobal
3 changes: 3 additions & 0 deletions Foundatio.Redis.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<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">
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BUILTIN_TYPE_REFERENCE_STYLE/@EntryValue">UseKeyword</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String></wpf:ResourceDictionary>
Loading

0 comments on commit 1528e33

Please sign in to comment.