Remove this keyword
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
|
||||
public void SetModuleMessage(string message, MessageType type)
|
||||
{
|
||||
this.message = message;
|
||||
message = message;
|
||||
classname = GetMessageType(type);
|
||||
StateHasChanged();
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ else
|
||||
{
|
||||
if (RichTextEditorMode)
|
||||
{
|
||||
content = await this.RichTextEditorHtml.GetHTML();
|
||||
content = await RichTextEditorHtml.GetHTML();
|
||||
}
|
||||
|
||||
content = content.Replace(((PageState.Alias.Path == "") ? "/~" : PageState.Alias.Path) + Constants.ContentUrl, Constants.ContentUrl);
|
||||
|
@ -16,9 +16,9 @@ namespace Oqtane.Modules.HtmlText.Services
|
||||
|
||||
public HtmlTextService(HttpClient http, SiteState sitestate, NavigationManager NavigationManager)
|
||||
{
|
||||
this.http = http;
|
||||
this.sitestate = sitestate;
|
||||
this.NavigationManager = NavigationManager;
|
||||
http = http;
|
||||
sitestate = sitestate;
|
||||
NavigationManager = NavigationManager;
|
||||
}
|
||||
|
||||
private string apiurl
|
||||
|
@ -14,7 +14,7 @@ namespace Oqtane.Modules
|
||||
|
||||
public ModuleBase()
|
||||
{
|
||||
this.logger = new Logger(this);
|
||||
logger = new Logger(this);
|
||||
}
|
||||
|
||||
[Inject]
|
||||
@ -43,7 +43,7 @@ namespace Oqtane.Modules
|
||||
|
||||
public string ModulePath()
|
||||
{
|
||||
return "Modules/" + this.GetType().Namespace + "/";
|
||||
return "Modules/" + GetType().Namespace + "/";
|
||||
}
|
||||
|
||||
// url methods
|
||||
@ -135,7 +135,7 @@ namespace Oqtane.Modules
|
||||
{
|
||||
UserId = PageState.User.UserId;
|
||||
}
|
||||
string category = this.GetType().AssemblyQualifiedName;
|
||||
string category = GetType().AssemblyQualifiedName;
|
||||
string feature = Utilities.GetTypeNameLastSegment(category, 1);
|
||||
LogFunction logfunction;
|
||||
if (string.IsNullOrEmpty(function))
|
||||
@ -170,7 +170,7 @@ namespace Oqtane.Modules
|
||||
|
||||
public Logger(ModuleBase modulebase)
|
||||
{
|
||||
this.modulebase = modulebase;
|
||||
modulebase = modulebase;
|
||||
}
|
||||
|
||||
public async Task LogTrace(string message, params object[] args)
|
||||
|
Reference in New Issue
Block a user