-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add auto-generated support for the code base.
Add analyzers to give consistent results, including headers
- Loading branch information
1 parent
7005ccf
commit b463b0c
Showing
31 changed files
with
602 additions
and
137 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
.idea/.idea.ReactiveMarbles.ObservableEvents/.idea/.gitignore
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
.idea/.idea.ReactiveMarbles.ObservableEvents/.idea/codeStyles/codeStyleConfig.xml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.idea/.idea.ReactiveMarbles.ObservableEvents/.idea/encodings.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
.idea/.idea.ReactiveMarbles.ObservableEvents/.idea/indexLayout.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 ReactiveUI Association, Inc | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,63 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<NoWarn>$(NoWarn);1591;1701;1702;1705;VSX1000</NoWarn> | ||
<Platform>AnyCPU</Platform> | ||
<IsTestProject>$(MSBuildProjectName.Contains('Tests'))</IsTestProject> | ||
<DebugType>embedded</DebugType> | ||
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)analyzers.ruleset</CodeAnalysisRuleSet> | ||
|
||
<Authors>Glenn Watson</Authors> | ||
<Copyright>Copyright (c) 2019 Glenn Watson</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/reactivemarbles/PropertyChanged</PackageProjectUrl> | ||
<PackageDescription>Allows to get an observables for property changed events.</PackageDescription> | ||
<Owners>glennawatson</Owners> | ||
<PackageTags>system.reactive;propertychanged;inpc;reactive;functional</PackageTags> | ||
<PackageReleaseNotes>https://github.com/reactivemarbles/PropertyChanged/releases</PackageReleaseNotes> | ||
<RepositoryUrl>https://github.com/reactivemarbles/PropertyChanged</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
|
||
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) --> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<!-- Embed source files that are not tracked by the source control manager in the PDB --> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<!-- Include PDB in the built .nupkg --> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="$(IsTestProject)"> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.console" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" /> | ||
<PackageReference Include="Xunit.StaFact" Version="1.0.37" /> | ||
<PackageReference Include="Shouldly" Version="4.0.0-beta0003" /> | ||
<PackageReference Include="PublicApiGenerator" Version="10.2.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(IsTestProject)' != 'true'"> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<SolutionDir Condition="'$(SolutionDir)' == ''">$(MSBuildThisFileDirectory)</SolutionDir> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="$(MSBuildThisFileDirectory)..\LICENSE" Pack="true" PackagePath="LICENSE" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Nerdbank.GitVersioning" Version="3.2.31" PrivateAssets="all" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="stylecop.analyzers" Version="1.2.0-beta.164" PrivateAssets="all" /> | ||
<PackageReference Include="Roslynator.Analyzers" Version="3.0.0" PrivateAssets="All" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0" PrivateAssets="all" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" /> | ||
</ItemGroup> | ||
</Project> |
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,30 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Product>$(AssemblyName) ($(TargetFramework))</Product> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$(TargetFramework.StartsWith('net4'))"> | ||
<DefineConstants>$(DefineConstants);NET_45;XAML</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('uap'))"> | ||
<DefineConstants>$(DefineConstants);NETFX_CORE;XAML;WINDOWS_UWP</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.iOS'))"> | ||
<DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac'))"> | ||
<DefineConstants>$(DefineConstants);MONO;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.TVOS'))"> | ||
<DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.WatchOS'))"> | ||
<DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('MonoAndroid'))"> | ||
<DefineConstants>$(DefineConstants);MONO;ANDROID</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('tizen'))"> | ||
<DefineConstants>$(DefineConstants);TIZEN</DefineConstants> | ||
</PropertyGroup> | ||
</Project> |
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
5 changes: 2 additions & 3 deletions
5
...Generators/Comparers/EventNameComparer.cs → ...Generators/Comparers/EventNameComparer.cs
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
5 changes: 2 additions & 3 deletions
5
...s/Comparers/TypeDefinitionNameComparer.cs → ...s/Comparers/TypeDefinitionNameComparer.cs
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
6 changes: 5 additions & 1 deletion
6
...enerators/Comparers/TypeEventsComparer.cs → ...enerators/Comparers/TypeEventsComparer.cs
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
5 changes: 2 additions & 3 deletions
5
...tGenerators/Comparers/TypeNameComparer.cs → ...tGenerators/Comparers/TypeNameComparer.cs
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
5 changes: 2 additions & 3 deletions
5
...enerators/Generators/DelegateGenerator.cs → ...enerators/Generators/DelegateGenerator.cs
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
5 changes: 2 additions & 3 deletions
5
...tGenerators/Generators/IEventGenerator.cs → ...ators/Generators/IEventSymbolGenerator.cs
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
Oops, something went wrong.