Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License header added. #48

Merged
merged 2 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/AGGrid/AGGrid.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@using Microsoft.JSInterop;
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@using Microsoft.JSInterop;
@inherits IXBaseComponent
@inject IJSRuntime JSRuntime

Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/AGGrid/AGGrid.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using Newtonsoft.Json;

Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/AGGrid/ColumnDefs.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Newtonsoft.Json;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Newtonsoft.Json;

namespace SiemensIXBlazor.Components.AGGrid
{
Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/AGGrid/GridOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Newtonsoft.Json;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Newtonsoft.Json;

namespace SiemensIXBlazor.Components.AGGrid
{
Expand Down
13 changes: 12 additions & 1 deletion SiemensIXBlazor/Components/About/AboutMenu.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
@using Microsoft.JSInterop;
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@


@using Microsoft.JSInterop;
@inject IJSRuntime JSRuntime
@inherits IXBaseComponent

Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/About/AboutMenu.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.JSInterop;
using Newtonsoft.Json;
Expand Down Expand Up @@ -57,7 +66,7 @@

public async Task ToggleAbout(bool status)
{
var module = await moduleTask.Value;

Check warning on line 69 in SiemensIXBlazor/Components/About/AboutMenu.razor.cs

View workflow job for this annotation

GitHub Actions / build

Dereference of a possibly null reference.
if (module != null)
{
await module.InvokeVoidAsync("toggleAbout", Id, status);
Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/About/AboutMenuItem.razor
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<ix-menu-about-item label="@Label">
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

<ix-menu-about-item label="@Label">
@ChildContent
</ix-menu-about-item>
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/About/AboutMenuItem.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;

namespace SiemensIXBlazor.Components.About
{
Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/About/AboutMenuNews.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@using Microsoft.JSInterop;
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@using Microsoft.JSInterop;
@inherits IXBaseComponent
@inject IJSRuntime JSRuntime

Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/About/AboutMenuNews.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.JSInterop;
using SiemensIXBlazor.Interops;
Expand Down Expand Up @@ -46,7 +55,7 @@
[Parameter]
public EventCallback<MouseEventArgs> ShowMoreEvent { get; set; }

private BaseInterop _interop;

Check warning on line 58 in SiemensIXBlazor/Components/About/AboutMenuNews.razor.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable field '_interop' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

protected async override Task OnAfterRenderAsync(bool firstRender)
{
Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/ActionCard/ActionCard.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@namespace SiemensIXBlazor.Components
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@namespace SiemensIXBlazor.Components
@using SiemensIXBlazor.Helpers
@using SiemensIXBlazor.Enums.PushCard
@inherits IXBaseComponent
Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/ActionCard/ActionCard.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using System;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using System;
using Microsoft.AspNetCore.Components;
using SiemensIXBlazor.Enums.PushCard;

Expand Down
10 changes: 10 additions & 0 deletions SiemensIXBlazor/Components/Application/Application.razor
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@namespace SiemensIXBlazor.Components
@inherits IXBaseComponent
@using Microsoft.JSInterop
Expand Down
9 changes: 9 additions & 0 deletions SiemensIXBlazor/Components/Application/Application.razor.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

namespace SiemensIXBlazor.Components;

using Microsoft.AspNetCore.Components;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@namespace SiemensIXBlazor.Components
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@namespace SiemensIXBlazor.Components
@inherits IXBaseComponent

<ix-application-header class="@Class" style="@Style" @attributes="UserAttributes" name="@Name">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;

namespace SiemensIXBlazor.Components
{
Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/Avatar/Avatar.razor
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
@inherits IXBaseComponent
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@inherits IXBaseComponent
<ix-avatar @attributes="UserAttributes" class="@Class" style="@Style" image="@Image" initials="@Initials"></ix-avatar>
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/Avatar/Avatar.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;

namespace SiemensIXBlazor.Components.Avatar
{
Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/BasicNavigation/BasicNavigation.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@using SiemensIXBlazor.Enums.BasicNavigation
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@using SiemensIXBlazor.Enums.BasicNavigation
@using SiemensIXBlazor.Helpers
@inherits IXBaseComponent

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;
using SiemensIXBlazor.Enums.BasicNavigation;

namespace SiemensIXBlazor.Components.BasicNavigation
Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/Blind/Blind.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@using Microsoft.JSInterop;
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@using Microsoft.JSInterop;
@using SiemensIXBlazor.Enums.Blind;
@using SiemensIXBlazor.Helpers;
@inject IJSRuntime JSRuntime
Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/Blind/Blind.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using SiemensIXBlazor.Enums.Blind;
using SiemensIXBlazor.Interops;
Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/Breadcrumb/Breadcrumb.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@using Microsoft.JSInterop;
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@using Microsoft.JSInterop;
@inject IJSRuntime JSRuntime
@inherits IXBaseComponent

Expand Down
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/Breadcrumb/Breadcrumb.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using SiemensIXBlazor.Interops;

Expand Down
12 changes: 11 additions & 1 deletion SiemensIXBlazor/Components/Breadcrumb/BreadcrumbItem.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
@namespace SiemensIXBlazor.Components
@* -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------
*@

@namespace SiemensIXBlazor.Components
@inherits IXBaseComponent

<ix-breadcrumb-item @attributes="UserAttributes" class="@Class" style="@Style" label="@Label" icon="@Icon"></ix-breadcrumb-item>
11 changes: 10 additions & 1 deletion SiemensIXBlazor/Components/Breadcrumb/BreadcrumbItem.razor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using Microsoft.AspNetCore.Components;
// -----------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Siemens AG
//
// SPDX-License-Identifier: MIT
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Components;

namespace SiemensIXBlazor.Components
{
Expand Down
Loading
Loading