-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
78618e2
commit a3d96c3
Showing
7 changed files
with
19 additions
and
39 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
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,21 +1,16 @@ | ||
using ArtworkSourceSpecification; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace CrosspostSharp3 { | ||
public class TextPost : IPostBase { | ||
public string Title { get; set; } | ||
public string HTMLDescription { get; set; } | ||
public bool Mature { get; set; } | ||
public bool Adult { get; set; } | ||
public IEnumerable<string> Tags { get; set; } | ||
public record TextPost : IPostBase { | ||
public string Title { get; init; } | ||
public string HTMLDescription { get; init; } | ||
public bool Mature { get; init; } | ||
public bool Adult { get; init; } | ||
public IEnumerable<string> Tags { get; init; } | ||
|
||
DateTime IPostBase.Timestamp => DateTime.UtcNow; | ||
string IPostBase.ViewURL => null; | ||
|
||
public TextPost() { } | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.