TestController Class

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll
public class TestController : WeavyController
Inheritance:
System.Object → WeavyControllerTestController

Constructors

TestController()

Methods

ConversationEmail(bool, int?)
DailyDigestEmail(bool, int?)
Developers() Test role based auth.
Email() Display generic email template.
Get(string) Generic test action that serves corresponding view on disk.
GetRedirect(string) Test redirect from GET request.
Index() Display test page with ui components.
InviteEmail(bool)
InviteExternalEmail(bool)
Linus() Test user auth.
NotificationEmail(bool)
PasswordResetEmail(bool)
Post(TestViewModel) Test form post.
PostRedirect() Test redirect from POST.
SignupApprovalEmail(bool)
SignupConfirmationEmail(bool)
Status(int) Test of different status codes.
Throw() Test for unhandled exceptions.
WelcomeEmail(bool)

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.