blacklisting + refactoring
This commit is contained in:
parent
cf5725daaf
commit
67afd19d32
16 changed files with 235 additions and 24 deletions
|
|
@ -4,7 +4,6 @@
|
|||
{
|
||||
long ContactCredits { get; set; }
|
||||
decimal Credits { get; set; }
|
||||
IApplicationUser Owner { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
9
YavscLib/IBlackListed.cs
Normal file
9
YavscLib/IBlackListed.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace YavscLib
|
||||
{
|
||||
public interface IBlackListed
|
||||
{
|
||||
long Id { get; set; }
|
||||
string UserId { get; set; }
|
||||
string OwnerId { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -4,15 +4,14 @@ namespace Yavsc.Models
|
|||
{
|
||||
public interface IBlog
|
||||
{
|
||||
IApplicationUser Author { get; set; }
|
||||
string AuthorId { get; set; }
|
||||
string bcontent { get; set; }
|
||||
string Content { get; set; }
|
||||
long Id { get; set; }
|
||||
DateTime modified { get; set; }
|
||||
string photo { get; set; }
|
||||
DateTime posted { get; set; }
|
||||
int rate { get; set; }
|
||||
string title { get; set; }
|
||||
bool visible { get; set; }
|
||||
DateTime Modified { get; set; }
|
||||
string Photo { get; set; }
|
||||
DateTime Posted { get; set; }
|
||||
int Rate { get; set; }
|
||||
string Title { get; set; }
|
||||
bool Visible { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
using System.Resources;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="project.json" />
|
||||
<Content Include="IBlackListed.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Yavsc.Client", "Yavsc.Client.csproj", "{67F9D3A8-F71E-4428-913F-C37AE82CDB24}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YavscLib", "YavscLib.csproj", "{67F9D3A8-F71E-4428-913F-C37AE82CDB24}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
|||
|
|
@ -15,6 +15,13 @@
|
|||
"dependencies": {},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
".NETPortable,Version=v4.5,Profile=Profile111": {}
|
||||
".NETPortable,Version=v4.5,Profile=Profile111": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Runtime": "4.0.0",
|
||||
"System.Globalization": "4.0.0",
|
||||
"System.Resources.ResourceManager": "4.0.0",
|
||||
"System.Resources.Reader": "4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,14 +3,21 @@
|
|||
"version": 2,
|
||||
"targets": {
|
||||
".NETFramework,Version=v4.5.1": {},
|
||||
".NETPortable,Version=v4.5,Profile=Profile111": {}
|
||||
".NETPortable,Version=v4.5,Profile=Profile111": {},
|
||||
".NETFramework,Version=v4.5.1/debian.8-x86": {},
|
||||
".NETFramework,Version=v4.5.1/debian.8-x64": {},
|
||||
".NETPortable,Version=v4.5,Profile=Profile111/debian.8-x86": {},
|
||||
".NETPortable,Version=v4.5,Profile=Profile111/debian.8-x64": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"": [],
|
||||
".NETFramework,Version=v4.5.1": [],
|
||||
".NETPortable,Version=v4.5,Profile=Profile111": []
|
||||
},
|
||||
"tools": {},
|
||||
"projectFileToolGroups": {}
|
||||
".NETPortable,Version=v4.5,Profile=Profile111": [
|
||||
"fx/System.Runtime >= 4.0.0",
|
||||
"fx/System.Globalization >= 4.0.0",
|
||||
"fx/System.Resources.ResourceManager >= 4.0.0",
|
||||
"fx/System.Resources.Reader >= 4.0.0"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue