Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver, Jonathan committed Jun 24, 2010
0 parents commit 07f5a42
Show file tree
Hide file tree
Showing 13 changed files with 588 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
obj
bin
App.config
Web.config
*.user
*.suo
_ReSharper.*
*.Resharper
*.Cache
*.cache
~$*
34 changes: 34 additions & 0 deletions src/EventStore.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventStore", "proj\EventStore\EventStore.csproj", "{03946843-F343-419C-88EF-3E446D08DFA6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "proj", "proj", "{9DE51CC0-6902-49F5-9B69-B29454DE7164}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{D3C17830-A461-4BA5-A672-461B19B33936}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventStore.Core.Sql", "proj\EventStore.Core.Sql\EventStore.Core.Sql.csproj", "{DAFD3F38-33F3-4F53-BFEA-44E51BD1E8F1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{03946843-F343-419C-88EF-3E446D08DFA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{03946843-F343-419C-88EF-3E446D08DFA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{03946843-F343-419C-88EF-3E446D08DFA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{03946843-F343-419C-88EF-3E446D08DFA6}.Release|Any CPU.Build.0 = Release|Any CPU
{DAFD3F38-33F3-4F53-BFEA-44E51BD1E8F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DAFD3F38-33F3-4F53-BFEA-44E51BD1E8F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DAFD3F38-33F3-4F53-BFEA-44E51BD1E8F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DAFD3F38-33F3-4F53-BFEA-44E51BD1E8F1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{03946843-F343-419C-88EF-3E446D08DFA6} = {9DE51CC0-6902-49F5-9B69-B29454DE7164}
{DAFD3F38-33F3-4F53-BFEA-44E51BD1E8F1} = {9DE51CC0-6902-49F5-9B69-B29454DE7164}
EndGlobalSection
EndGlobal
Binary file added src/EventStore.snk
Binary file not shown.
184 changes: 184 additions & 0 deletions src/Settings.FxCop
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
<?xml version="1.0" encoding="utf-8"?>
<FxCopProject Version="1.36" Name="DefaultFxCopProject">
<ProjectOptions>
<SharedProject>True</SharedProject>
<Stylesheet Apply="False">c:\program files (x86)\microsoft fxcop 1.36\Xml\FxCopReport.xsl</Stylesheet>
<SaveMessages>
<Project Status="Active, Excluded" NewOnly="False" />
<Report Status="Active" NewOnly="False" />
</SaveMessages>
<ProjectFile Compress="True" DefaultTargetCheck="True" DefaultRuleCheck="True" SaveByRuleGroup="" Deterministic="True" />
<EnableMultithreadedLoad>True</EnableMultithreadedLoad>
<EnableMultithreadedAnalysis>True</EnableMultithreadedAnalysis>
<SourceLookup>True</SourceLookup>
<AnalysisExceptionsThreshold>10</AnalysisExceptionsThreshold>
<RuleExceptionsThreshold>1</RuleExceptionsThreshold>
<Spelling Locale="en-US" />
<OverrideRuleVisibilities>False</OverrideRuleVisibilities>
<CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True" />
<SearchGlobalAssemblyCache>False</SearchGlobalAssemblyCache>
<DeadlockDetectionTimeout>15</DeadlockDetectionTimeout>
<IgnoreGeneratedCode>True</IgnoreGeneratedCode>
</ProjectOptions>
<Targets />
<Rules>
<RuleFiles>
<RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AbstractTypesShouldNotHaveConstructors" Enabled="True" />
<Rule Name="AssembliesShouldHaveValidStrongNames" Enabled="True" />
<Rule Name="AvoidExcessiveParametersOnGenericTypes" Enabled="True" />
<Rule Name="AvoidNamespacesWithFewTypes" Enabled="True" />
<Rule Name="AvoidOutParameters" Enabled="True" />
<Rule Name="CollectionsShouldImplementGenericInterface" Enabled="True" />
<Rule Name="ConsiderPassingBaseTypesAsParameters" Enabled="True" />
<Rule Name="DeclareEventHandlersCorrectly" Enabled="True" />
<Rule Name="DeclareTypesInNamespaces" Enabled="True" />
<Rule Name="DefaultParametersShouldNotBeUsed" Enabled="True" />
<Rule Name="DefineAccessorsForAttributeArguments" Enabled="True" />
<Rule Name="DoNotCatchGeneralExceptionTypes" Enabled="True" />
<Rule Name="DoNotDeclareProtectedMembersInSealedTypes" Enabled="True" />
<Rule Name="DoNotDeclareStaticMembersOnGenericTypes" Enabled="True" />
<Rule Name="DoNotDeclareVirtualMembersInSealedTypes" Enabled="True" />
<Rule Name="DoNotExposeGenericLists" Enabled="True" />
<Rule Name="DoNotHideBaseClassMethods" Enabled="True" />
<Rule Name="DoNotNestGenericTypesInMemberSignatures" Enabled="True" />
<Rule Name="DoNotOverloadOperatorEqualsOnReferenceTypes" Enabled="True" />
<Rule Name="DoNotPassTypesByReference" Enabled="True" />
<Rule Name="DoNotRaiseExceptionsInUnexpectedLocations" Enabled="True" />
<Rule Name="EnumeratorsShouldBeStronglyTyped" Enabled="True" />
<Rule Name="EnumsShouldHaveZeroValue" Enabled="True" />
<Rule Name="EnumStorageShouldBeInt32" Enabled="True" />
<Rule Name="ExceptionsShouldBePublic" Enabled="True" />
<Rule Name="GenericMethodsShouldProvideTypeParameter" Enabled="True" />
<Rule Name="ICollectionImplementationsHaveStronglyTypedMembers" Enabled="True" />
<Rule Name="ImplementIDisposableCorrectly" Enabled="True" />
<Rule Name="ImplementStandardExceptionConstructors" Enabled="True" />
<Rule Name="IndexersShouldNotBeMultidimensional" Enabled="True" />
<Rule Name="InterfaceMethodsShouldBeCallableByChildTypes" Enabled="True" />
<Rule Name="ListsAreStronglyTyped" Enabled="True" />
<Rule Name="MarkAssembliesWithAssemblyVersion" Enabled="True" />
<Rule Name="MarkAssembliesWithClsCompliant" Enabled="True" />
<Rule Name="MarkAssembliesWithComVisible" Enabled="True" />
<Rule Name="MarkAttributesWithAttributeUsage" Enabled="True" />
<Rule Name="MarkEnumsWithFlags" Enabled="True" />
<Rule Name="MembersShouldNotExposeCertainConcreteTypes" Enabled="True" />
<Rule Name="MovePInvokesToNativeMethodsClass" Enabled="True" />
<Rule Name="NestedTypesShouldNotBeVisible" Enabled="True" />
<Rule Name="OverloadOperatorEqualsOnOverloadingAddAndSubtract" Enabled="True" />
<Rule Name="OverrideMethodsOnComparableTypes" Enabled="True" />
<Rule Name="PropertiesShouldNotBeWriteOnly" Enabled="True" />
<Rule Name="ProvideObsoleteAttributeMessage" Enabled="True" />
<Rule Name="ReplaceRepetitiveArgumentsWithParamsArray" Enabled="True" />
<Rule Name="StaticHolderTypesShouldBeSealed" Enabled="True" />
<Rule Name="StaticHolderTypesShouldNotHaveConstructors" Enabled="True" />
<Rule Name="StringUriOverloadsCallSystemUriOverloads" Enabled="True" />
<Rule Name="TypesShouldNotExtendCertainBaseTypes" Enabled="True" />
<Rule Name="TypesThatOwnDisposableFieldsShouldBeDisposable" Enabled="True" />
<Rule Name="TypesThatOwnNativeResourcesShouldBeDisposable" Enabled="True" />
<Rule Name="UriParametersShouldNotBeStrings" Enabled="True" />
<Rule Name="UriPropertiesShouldNotBeStrings" Enabled="True" />
<Rule Name="UriReturnValuesShouldNotBeStrings" Enabled="True" />
<Rule Name="UseEventsWhereAppropriate" Enabled="True" />
<Rule Name="UseGenericEventHandlerInstances" Enabled="True" />
<Rule Name="UseGenericsWhereAppropriate" Enabled="True" />
<Rule Name="UseIntegralOrStringArgumentForIndexers" Enabled="True" />
<Rule Name="UsePropertiesWhereAppropriate" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AvoidDuplicateAccelerators" Enabled="True" />
<Rule Name="DoNotHardcodeLocaleSpecificStrings" Enabled="True" />
<Rule Name="NormalizeStringsToUppercase" Enabled="True" />
<Rule Name="SetLocaleForDataTypes" Enabled="True" />
<Rule Name="SpecifyMarshalingForPInvokeStringArguments" Enabled="True" />
<Rule Name="SpecifyMessageBoxOptions" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\InteroperabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\MobilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="CompoundWordsShouldBeCasedCorrectly" Enabled="True" />
<Rule Name="DoNotNameEnumValuesReserved" Enabled="True" />
<Rule Name="DoNotPrefixEnumValuesWithTypeName" Enabled="True" />
<Rule Name="EventsShouldNotHaveBeforeOrAfterPrefix" Enabled="True" />
<Rule Name="FlagsEnumsShouldHavePluralNames" Enabled="True" />
<Rule Name="IdentifiersShouldBeSpelledCorrectly" Enabled="True" />
<Rule Name="IdentifiersShouldDifferByMoreThanCase" Enabled="True" />
<Rule Name="IdentifiersShouldHaveCorrectPrefix" Enabled="True" />
<Rule Name="IdentifiersShouldHaveCorrectSuffix" Enabled="True" />
<Rule Name="IdentifiersShouldNotContainTypeNames" Enabled="True" />
<Rule Name="IdentifiersShouldNotHaveIncorrectPrefix" Enabled="True" />
<Rule Name="IdentifiersShouldNotHaveIncorrectSuffix" Enabled="True" />
<Rule Name="IdentifiersShouldNotMatchKeywords" Enabled="True" />
<Rule Name="OnlyFlagsEnumsShouldHavePluralNames" Enabled="True" />
<Rule Name="ParameterNamesShouldMatchBaseDeclaration" Enabled="True" />
<Rule Name="ParameterNamesShouldNotMatchMemberNames" Enabled="True" />
<Rule Name="PropertyNamesShouldNotMatchGetMethods" Enabled="True" />
<Rule Name="ResourceStringCompoundWordsShouldBeCasedCorrectly" Enabled="True" />
<Rule Name="ResourceStringsShouldBeSpelledCorrectly" Enabled="True" />
<Rule Name="TypeNamesShouldNotMatchNamespaces" Enabled="True" />
<Rule Name="UsePreferredTerms" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AvoidExcessiveLocals" Enabled="True" />
<Rule Name="AvoidUncalledPrivateCode" Enabled="True" />
<Rule Name="AvoidUninstantiatedInternalClasses" Enabled="True" />
<Rule Name="AvoidUnsealedAttributes" Enabled="True" />
<Rule Name="DoNotCastUnnecessarily" Enabled="True" />
<Rule Name="DoNotInitializeUnnecessarily" Enabled="True" />
<Rule Name="InitializeReferenceTypeStaticFieldsInline" Enabled="True" />
<Rule Name="MarkAssembliesWithNeutralResourcesLanguage" Enabled="True" />
<Rule Name="MarkMembersAsStatic" Enabled="True" />
<Rule Name="OverrideEqualsAndOperatorEqualsOnValueTypes" Enabled="True" />
<Rule Name="PreferJaggedArraysOverMultidimensional" Enabled="True" />
<Rule Name="RemoveEmptyFinalizers" Enabled="True" />
<Rule Name="RemoveUnusedLocals" Enabled="True" />
<Rule Name="TestForEmptyStringsUsingStringLength" Enabled="True" />
<Rule Name="UseLiteralsWhereAppropriate" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AttributeStringLiteralsShouldParseCorrectly" Enabled="True" />
<Rule Name="CallBaseClassMethodsOnISerializableTypes" Enabled="True" />
<Rule Name="CallGCSuppressFinalizeCorrectly" Enabled="True" />
<Rule Name="CollectionPropertiesShouldBeReadOnly" Enabled="True" />
<Rule Name="DisposableFieldsShouldBeDisposed" Enabled="True" />
<Rule Name="DisposableTypesShouldDeclareFinalizer" Enabled="True" />
<Rule Name="DoNotCallOverridableMethodsInConstructors" Enabled="True" />
<Rule Name="DoNotDecreaseInheritedMemberVisibility" Enabled="True" />
<Rule Name="DoNotIgnoreMethodResults" Enabled="True" />
<Rule Name="DoNotMarkEnumsWithFlags" Enabled="True" />
<Rule Name="DoNotMarkServicedComponentsWithWebMethod" Enabled="True" />
<Rule Name="DoNotRaiseExceptionsInExceptionClauses" Enabled="True" />
<Rule Name="DoNotRaiseReservedExceptionTypes" Enabled="True" />
<Rule Name="DoNotShipUnreleasedResourceFormats" Enabled="True" />
<Rule Name="FinalizersShouldBeProtected" Enabled="True" />
<Rule Name="FinalizersShouldCallBaseClassFinalizer" Enabled="True" />
<Rule Name="ImplementISerializableCorrectly" Enabled="True" />
<Rule Name="ImplementSerializationConstructors" Enabled="True" />
<Rule Name="ImplementSerializationMethodsCorrectly" Enabled="True" />
<Rule Name="InitializeValueTypeStaticFieldsInline" Enabled="True" />
<Rule Name="InstantiateArgumentExceptionsCorrectly" Enabled="True" />
<Rule Name="MarkAllNonSerializableFields" Enabled="True" />
<Rule Name="MarkISerializableTypesWithSerializable" Enabled="True" />
<Rule Name="MarkWindowsFormsEntryPointsWithStaThread" Enabled="True" />
<Rule Name="MembersShouldDifferByMoreThanReturnType" Enabled="True" />
<Rule Name="OperationsShouldNotOverflow" Enabled="True" />
<Rule Name="OperatorOverloadsHaveNamedAlternates" Enabled="True" />
<Rule Name="OperatorsShouldHaveSymmetricalOverloads" Enabled="True" />
<Rule Name="OverloadOperatorEqualsOnOverridingValueTypeEquals" Enabled="True" />
<Rule Name="OverrideEqualsOnOverloadingOperatorEquals" Enabled="True" />
<Rule Name="OverrideGetHashCodeOnOverridingEquals" Enabled="True" />
<Rule Name="PassSystemUriObjectsInsteadOfStrings" Enabled="True" />
<Rule Name="ProvideDeserializationMethodsForOptionalFields" Enabled="True" />
<Rule Name="RethrowToPreserveStackDetails" Enabled="True" />
<Rule Name="ReviewUnusedParameters" Enabled="True" />
<Rule Name="TestForNaNCorrectly" Enabled="True" />
<Rule Name="UseManagedEquivalentsOfWin32Api" Enabled="True" />
<Rule Name="UseParamsForVariableArguments" Enabled="True" />
</RuleFile>
</RuleFiles>
<Groups />
<Settings />
</Rules>
<FxCopReport Version="1.36" />
</FxCopProject>
154 changes: 154 additions & 0 deletions src/Settings.StyleCop
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
<StyleCopSettings Version="4.3">
<Analyzers>
<Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.MaintainabilityRules">
<Rules>
<Rule Name="FileMayOnlyContainASingleClass">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="AccessModifierMustBeDeclared">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="FieldsMustBePrivate">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
<Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.SpacingRules">
<Rules>
<Rule Name="TabsMustNotBeUsed">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="SymbolsMustBeSpacedCorrectly">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
<Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.DocumentationRules">
<Rules>
<Rule Name="ElementsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="FileHeaderMustHaveValidCompanyText">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="PartialElementsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="EnumerationItemsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="FileMustHaveHeader">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
<Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.OrderingRules">
<Rules>
<Rule Name="StaticElementsMustAppearBeforeInstanceElements">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ElementsMustAppearInTheCorrectOrder">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ElementsMustBeOrderedByAccess">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ProtectedMustComeBeforeInternal">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
<Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.LayoutRules">
<Rules>
<Rule Name="CurlyBracketsMustNotBeOmitted">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ElementsMustBeSeparatedByBlankLine">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ClosingCurlyBracketMustBeFollowedByBlankLine">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ElementMustNotBeOnSingleLine">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="SingleLineCommentsMustNotBeFollowedByBlankLine">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="StatementMustNotBeOnSingleLine">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
<Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.NamingRules">
<Rules>
<Rule Name="ElementMustBeginWithUpperCaseLetter">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="FieldNamesMustNotUseHungarianNotation">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="FieldNamesMustNotContainUnderscore">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="AccessibleFieldsMustBeginWithUpperCaseLetter">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
</Analyzers>
</StyleCopSettings>
7 changes: 7 additions & 0 deletions src/proj/CustomDictionary.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<Dictionary>
<Words>
<Recognized>
</Recognized>
</Words>
</Dictionary>
Loading

0 comments on commit 07f5a42

Please sign in to comment.