max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
InkyTagHelpers/MenuItemTagHelper.cs | mburtscher/InkyTagHelpers | 4 | 7048327 | <reponame>mburtscher/InkyTagHelpers
namespace InkyTagHelpers
{
using Microsoft.AspNetCore.Razor.TagHelpers;
/// <summary>
/// Represents a Foundation for Email Menu Item.
/// <see cref="https://foundation.zurb.com/emails/docs/menu.html"/>
/// </summary>
[HtmlTargetElement(TagNames.MENUITEM, Pa... |
src/Dsp.Web/Areas/Sobers/Views/Schedule/Manager.cshtml | deltasig/sphinx | 0 | 7048328 | <reponame>deltasig/sphinx<gh_stars>0
@model Dsp.Web.Areas.Sobers.Models.SoberManagerModel
@{
Layout = "~/Views/Shared/_LayoutInternal.cshtml";
ViewBag.Title = "Sober Manager";
var returnUrl = Request.RawUrl.Split('?')[0];
}
@section styles {
@Styles.Render("~/content/datepicker")
}
<div class="contain... |
FibbonacciSeries.cs | hraverkar/Coding_Problem | 0 | 7048329 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace ConsoleApp57
{
class Test
{
public static void Main()
{
int n = 9;
var t = Fib(n);
Console.WriteLine(t);
}
private static int Fib(int n)
{
if (n <= 1)
return n;
... |
yafsrc/YAF.Types/Objects/Nntp/ArticleHeader.cs | AlbertoP57/YAFNET | 1 | 7048330 | <reponame>AlbertoP57/YAFNET
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 <NAME>
* Copyright (C) 2006-2013 <NAME>
* Copyright (C) 2014-2020 <NAME>
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTI... |
Assets/Scripts/Action/SampleAction2.cs | tokihiro000/BehaviorTree | 0 | 7048331 | <reponame>tokihiro000/BehaviorTree<filename>Assets/Scripts/Action/SampleAction2.cs<gh_stars>0
using System.Collections;
using UnityEngine;
public class SampleAction2 : Action
{
public override ActionType ActionType => this.actionType = ActionType.Sample1;
internal protected SampleAction2() : base()
{
... |
Views/Home/Index.cshtml | Slyvan25/Skill_heroes_gamesite | 1 | 7048332 |
@model IEnumerable<Spellenwinkel.Models.Games>
@{
ViewData["Title"] = "Home Page";
}
<div class="welcome">
<img src="~/img/sh_logo.svg">
<img id="scrolldown" src="~/img/scrolldown.svg">
</div>
<div class="container" id="site-container">
<div class="grid-container">
<div class="F... |
Sources/Web/Views/Shared/_Layout.cshtml | Bjornej/Bazooka | 4 | 7048333 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Bazooka</title>
<link href="~/Content/main.css" rel="stylesheet" />
</head>
<body>
<script type="text/javascript">
window.Profile = "@User.Identity.Name";
</script>
... |
NdisApiDotNet/Native/NdisApi/NdisApi.IP_SUBNET_V6.cs | ntkernelcom/ndisapi.net | 12 | 7048334 | <filename>NdisApiDotNet/Native/NdisApi/NdisApi.IP_SUBNET_V6.cs
// ----------------------------------------------
// <copyright file="NdisApi.IP_SUBNET_V6.cs" company="NT Kernel">
// Copyright (c) 2000-2018 NT Kernel Resources / Contributors
// All Rights Reserved.
// http://w... |
client/Lykke.Service.PayAuth.Client/Models/Employees/ValidateResultModel.cs | LykkeCity/Lykke.Service.SignIn | 0 | 7048335 | <gh_stars>0
namespace Lykke.Service.PayAuth.Client.Models.Employees
{
/// <summary>
/// Represent a result of employee credentials validation.
/// </summary>
public class ValidateResultModel
{
/// <summary>
/// Gets or sets a validation result.
/// </summary>
/// <re... |
QuartelBombeiros/NovaViatura.Designer.cs | ynotplay/QuartelBombeiros | 0 | 7048336 | <filename>QuartelBombeiros/NovaViatura.Designer.cs
namespace QuartelBombeiros
{
partial class NovaViatura
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any re... |
MPT/CSI/API/MPT.CSI.OOAPI.EndToEndTests/Core/Program/Model/Definitions/Materials/Masonry.cs | MarkPThomas/MPT.Net | 0 | 7048337 | <reponame>MarkPThomas/MPT.Net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MPT.CSI.API.Core.Program;
using MPT.CSI.API.Core.Program.ModelBehavior.Definition.Property;
using MPT.CSI.OOAPI.Core.Program.Model.ProjectSettings;
namespace MPT.CSI.... |
Assets/Scripts/Controllers/AsteroidNavigationController.cs | ShiroixD/WatchOutAsteroids | 0 | 7048338 | <reponame>ShiroixD/WatchOutAsteroids<gh_stars>0
using System.Collections.Generic;
using UnityEngine;
public class AsteroidNavigationController : MonoBehaviour
{
[SerializeField] GameObject arrow;
private float offsetX;
private Dictionary<Asteroid, GameObject> _asteroids = new Dictionary<Asteroid, Ga... |
Game/Assets/Game/Scripts/UI/InGame/AmmoUIController.cs | gerlogu/Shooter | 0 | 7048339 | <reponame>gerlogu/Shooter<filename>Game/Assets/Game/Scripts/UI/InGame/AmmoUIController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
/// <summary>
///
/// </summary>
public class AmmoUIController : MonoBehaviour
{
[Tooltip("")]
[SerializeField] TextMeshPro cha... |
src/PureClarity/Collections/DeletedProductCollection.cs | PureClarity/nuget-pureclarity | 0 | 7048340 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using PureClarity;
using PureClarity.Models;
namespace PureClarity.Collections
{
internal class DeletedProductCollection : PCCollection<DeletedProductSku>
{
public override CollectionValid... |
Orchestra/Networking/Rtmp/Messages/DataMessage.cs | CloudConstruct/Orchestra | 0 | 7048341 | using Orchestra.Networking.Rtmp.Data;
using Orchestra.Networking.Rtmp.Serialization;
using System.Collections.Generic;
using System.Net;
namespace Orchestra.Networking.Rtmp.Messages
{
[RtmpMessage(MessageType.Amf0Data, MessageType.Amf3Data)]
public class DataMessage : Message
{
public List<object>... |
tests/CodeGenHelpers.Tests/Tests/CodeBuilderTests.cs | MichaelHochriegl/CodeGenHelpers | 0 | 7048342 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace CodeGenHelpers.Tests
{
public class CodeBuilderTests : TestBase
{
public CodeBuilderTests(ITestOutputHelper testOutput)
: bas... |
projects/3-Heli-Rescue-Solution/Assets/Scripts/Common/Extensions.cs | brookman/mobile-ar-public | 0 | 7048343 | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;
public static class Extensions
{
public static Vector3 ProjectXZ(this Vector3 v)
{
return Vector3.ProjectOnPlane(v, Vector3.up);
}
public static Pose ToPose(this Transfor... |
NetORMLib/Tables/ITable.cs | dfgs/NetORMLib | 0 | 7048344 | <filename>NetORMLib/Tables/ITable.cs
using NetORMLib.Columns;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetORMLib.Tables
{
public interface ITable
{
IJoinedTables Join(IJoin Join);
}
}
|
A.FreshDesk.ApiClient/AAL/Contacts.cs | Anetre/A.FreshDesk.ApiClient | 0 | 7048345 | using A.FreshDesk.ApiClient.Models;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Net;
namespace A.FreshDesk.ApiClient.AAL
{
public class Contacts
{
public const string ApiUrl = "/api/v2/contacts";
internal ApiClient ApiClient { get; set;... |
KAMI/Games/RatchetOGBase.cs | AphelionWasTaken/KAMI | 0 | 7048346 | <filename>KAMI/Games/RatchetOGBase.cs
using KAMI.Cameras;
using System;
namespace KAMI.Games
{
public class RatchetOGBase : Game<HAVACamera>
{
protected uint m_addressHor;
protected uint m_addressVert;
public RatchetOGBase(IntPtr ipc) : base(ipc)
{
}
public ov... |
C#/CentroResidenziale/CentroResidenziale/Models/Studente.cs | edge33/Materiale-didattico | 0 | 7048347 | namespace CentroResidenziale.Models
{
public class Studente: Persona
{
public int Matricola { get; set; }
public Tesserino Tesserino { get; set; }
public Studente(string nome, string cognome, string codiceFiscale = "") : base(nome, cognome, codiceFiscale)
{
}
pu... |
Sociatis/Controllers/WalletController.cs | blendiahmetaj1/eSupremacy | 0 | 7048348 | using Entities;
using Entities.enums;
using Entities.Repository;
using Sociatis.Helpers;
using Sociatis.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebServices;
namespace Sociatis.Controllers
{
public class WalletController : ControllerB... |
source/Test/RedArmory.Test/Models/MySqlService.cs | takuya-takeuchi/RedArmory | 21 | 7048349 | <reponame>takuya-takeuchi/RedArmory
using System.IO;
using System.Linq;
using GalaSoft.MvvmLight.Ioc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ouranos.RedArmory.Models.Services;
namespace RedArmory.Test.Models
{
[TestClass]
public class MySqlService
{
[TestMethod]
publi... |
src/MyApp.Frontend/CustomLanguageManager.cs | Platformus/Platformus-Sample-Mobile-App-Admin-Panel | 0 | 7048350 | // Copyright © 2021 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using FluentValidation.Resources;
namespace MyApp.Frontend
{
public class CustomLanguageManager : LanguageManager
{
public CustomLanguageManager()
... |
src/AssemblyVersionInfo.cs | WixEdit/WixEdit | 137 | 7048351 | <reponame>WixEdit/WixEdit
using System.Reflection;
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.8794
//
// Changes to this file may cause incorrect behavior and will be lost if
// ... |
ActionTagHelperSample/ActionTagHelperSample/Views/Home/Index.cshtml | fjeller/BlogSamples | 0 | 7048352 | <reponame>fjeller/BlogSamples
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Das ist eine kleine Beispielapplikation, die die Verwendung des <code>ActionTagHelper</code> zeigt.</p>
<p>
Leider hat sich Microsoft entschieden, die häufig verwendete... |
CP77.CR2W/Types/cp77/SetDocumentStateEvent.cs | MasterScott/CP77Tools | 1 | 7048353 | <reponame>MasterScott/CP77Tools<filename>CP77.CR2W/Types/cp77/SetDocumentStateEvent.cs<gh_stars>1-10
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class SetDocumentStateEvent : redEvent
{
[Ordinal(0)] [RED... |
src/Exomia.Framework/Content/Resolver/E1FileStreamContentResolver.cs | exomia/framework | 24 | 7048354 | <reponame>exomia/framework
#region License
// Copyright (c) 2018-2020, exomia
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#endregion
using System.IO;
using Exomia.Framework.ContentSerialization.Compre... |
Web/Views/Reports/_CreditAndCollection.cshtml | mictlanix/mbe | 2 | 7048355 | <reponame>mictlanix/mbe
@using Mictlanix.BE
@using Mictlanix.BE.Web.Helpers
@using Mictlanix.BE.Web.Models
@using Mictlanix.BE.Model
@model CreditAndCollectionSummary
<table>
<tr>
<th class="nowrap" style="width:5em;">@Resources.Id</th>
<th class="nowrap" style="width:5em;">@Resources.Serial</th>
<th class="n... |
Source/Microsoft.Teams.Apps.SubmitIdea/Models/IdeaEntity.cs | v-kalc/submitidea | 0 | 7048356 | <filename>Source/Microsoft.Teams.Apps.SubmitIdea/Models/IdeaEntity.cs
// <copyright file="IdeaEntity.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.SubmitIdea.Models
{
using System;
using System.ComponentModel.DataAnnotations;
... |
src/ConfigTransformerCore/FilesystemAdapter.cs | stephenfuqua/ConfigTransformerCore | 0 | 7048357 | using System.IO;
namespace ConfigTransformerCore
{
public interface IFilesystemAdapter
{
bool FileExist(string path);
}
public class FilesystemAdapter : IFilesystemAdapter
{
public bool FileExist(string path) => File.Exists(path);
}
}
|
CodeWars/7kyu/MOD256WithoutMODOperator.cs | a-kozhanov/codewars_csharp | 11 | 7048358 | /*
https://www.codewars.com/kata/581e1d083a4820eb4f00004f/csharp
7 kyu
MOD 256 without the MOD operator
MOD 256 without the MOD operator
The MOD-operator % (aka mod/modulus/remainder):
Returns the remainder of a division operation.
The sign of the result is the same as the sign of the first operand.
(Different beha... |
Projet1/Utilities/RandomizedCard.cs | MorningStar3600/Memor-i | 0 | 7048359 | <reponame>MorningStar3600/Memor-i<filename>Projet1/Utilities/RandomizedCard.cs
using System;
using System.Collections;
using System.Collections.Generic;
namespace Projet1
{
public static class RandomizedCard
{
private static readonly ArrayList PossibleCards = new(){"2", "3", "4", "5", "6", "7", "8", "... |
server/ReactAdvantage.IdentityServer/Models/Account/ResetPasswordViewModel.cs | DecadentIpsum/ReactAdvantage | 19 | 7048360 | <reponame>DecadentIpsum/ReactAdvantage
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ReactAdvantage.IdentityServer.Models.Account
{
public class ResetPasswordViewModel
{
public string UserId { get; set; }
public string Code { get; se... |
src/ModixTranslator/Extensions/TranslationExtensions.cs | AdmiralSnyder/modix-translator | 2 | 7048361 | using System;
using System.Collections.Generic;
using Discord;
namespace ModixTranslator.Extensions
{
public static class TranslationExtensions
{
public static EmbedBuilder AddChunks(
this EmbedBuilder builder,
IEnumerable<string> chunks, string lang,
bool inline = ... |
sample/ApplicationPipeline.WebApi.Sample/Pipeline/SecurityStep.cs | ali-tayebi/http-pipeline | 2 | 7048362 | <filename>sample/ApplicationPipeline.WebApi.Sample/Pipeline/SecurityStep.cs<gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using ApplicationPipeline;
namespace ApplicationPipeline.WebApi.Sample
{
public class SecurityStep : ApplicationPipelineStepBase<SecurityStep>
{
public override IApplicationBuil... |
WebAPI.Dashboard/Areas/secure/Views/Profile/Index.cshtml | gregbunce/api.mapserv.utah.gov | 4 | 7048363 | @{
ViewBag.Title = "AGRC Web API Profile";
}
@model WebAPI.Dashboard.Models.ViewModels.MainViewModel
<div id="home">
<h2>
Keep your profile current!
</h2>
</div>
@using (Html.BeginForm("UpdateProfile", "Profile", FormMethod.Post, new
{
@class = "form-horizontal"
}))
{
<div class="col-sm-off... |
CTPWrapperForCSharp/CTPWrapperForCSharp_MD/CSharpWrapper/CThostFtdcOrderField.cs | ggwhsd/CTP-CSharp | 16 | 7048364 | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... |
Common/Mesh/MeshFaceList.cs | arakis/ProcEngine | 28 | 7048365 | <filename>Common/Mesh/MeshFaceList.cs
// This file is part of Aximo, a Game Engine written in C#. Web: https://github.com/AximoGames
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using Axi... |
Ship_Game/ExtensionMethods/Vectors.cs | UnGaucho/StarDrive | 0 | 7048366 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using static System.Math;
namespace Ship_Game
{
public static class Vectors
... |
Valle.TpvFinal/Valle.Utilidades/Valle.Utilidades/UtilidadErrores.cs | vallemrv/valletpv | 4 | 7048367 | <reponame>vallemrv/valletpv
using System;
namespace Valle.Utilidades
{
public class UtilidadErrores
{
public static void EscribirEnFicheroErr(string nomFichero, string err, string fecha, string funProduceErr){
System.IO.FileStream s = new System.IO.FileStream(nomFichero, System.IO.FileMode.Append);... |
src/Dragonfly/ActiveCampaign/Models/Account/AccountContactsList.cs | hfloyd/Dragonfly.ActiveCampaignV3Api | 2 | 7048370 | <gh_stars>1-10
namespace Dragonfly.ActiveCampaign.Models
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
//TODO: HOLD - Needs more JSON examples for AccountContactsList
public class AccountContactsList
... |
Examples/CSharp/Outlook/MergeMultiplePSTsInToSinglePST.cs | jawadaspose/Aspose_Email_For_.NET_Backup | 0 | 7048371 | using System.IO;
using System;
using Aspose.Email.Outlook.Pst;
namespace Aspose.Email.Examples.CSharp.Email.Outlook
{
class MergeMultiplePSTsInToSinglePST
{
static int totalAdded;
static string currentFolder;
static int messageCount;
public static void Run()
{
... |
AVR Debugger/AVR.Debugger.Interfaces/Models/DeviceInfo/Interrupt.cs | MRazvan/ASAVRSD | 0 | 7048372 | namespace AVR.Debugger.Interfaces
{
public class Interrupt
{
public long Index { get; set; }
public string Name { get; set; }
public string Caption { get; set; }
public override string ToString()
{
return Caption;
}
}
} |
source/VitNX3_netframework45/UI/OtherControls/Notification/NotificationForm.cs | Zalexanninev15/VitNX | 2 | 7048373 | <reponame>Zalexanninev15/VitNX<gh_stars>1-10
using System;
using System.Drawing;
using System.Windows.Forms;
using VitNX3.Functions.Information;
namespace VitNX3.UI.OtherControls
{
public partial class NotificationForm : Form
{
public NotificationForm()
{
DoubleBuffered = true;
... |
src/Faithlife.Testing.RabbitMq/MessageProcessedSettings.cs | benramey-faithlife/FaithlifeTesting | 1 | 7048375 | <filename>src/Faithlife.Testing.RabbitMq/MessageProcessedSettings.cs
namespace Faithlife.Testing.RabbitMq
{
/// <summary>
/// Settins for the MessageProcessedAwaiter.
/// </summary>
public sealed class MessageProcessedSettings
{
public int TimeoutMilliseconds { get; set; } = 5_000;
public int Priority { get; s... |
3. samples/modular-bot-extensions/source/solution/BotApp/bots/BotAppBot.cs | Bhaskers-Blu-Org2/app-innovation-team | 28 | 7048377 | <filename>3. samples/modular-bot-extensions/source/solution/BotApp/bots/BotAppBot.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using BotApp.Extensions.BotBuilder.ActiveDirectory.Services;
using BotApp.Extensions.BotBuilder.LuisRouter.Services;
using BotApp.Ex... |
MCSD 70 483/Chapter1/TaskFactoryEx.cs | rubenhortas/mcsd_70_483 | 0 | 7048378 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chapter1
{
public static class TaskFactoryEx
{
public static void Start()
{
Task<Int32 []> parent = Task.Run(() =>
{
var... |
Projects/Server/ServerForm.Designer.cs | arituan/private-chat-diffiehellman | 0 | 7048381 | <filename>Projects/Server/ServerForm.Designer.cs
namespace TCPServer
{
partial class ServerForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources be... |
src/RongCloud.Server.Sdk.Example/conversation/ConversationExample.cs | hemiaoio/RongCloud.Sdk | 0 | 7048382 | using System;
using System.Threading.Tasks;
using RongCloud.Server.methods.conversation;
using RongCloud.Server.models.conversation;
using RongCloud.Server.models.response;
using RongCloud.Server.util;
namespace RongCloud.Server.Sdk.Example.conversation
{
/**
*
* 会话示例
* @author RongCloud
*
... |
src/ValidationsCollection/ValidationsHelper.cs | Advitalitum/ValidationsCollection | 3 | 7048383 | <reponame>Advitalitum/ValidationsCollection
using System.Runtime.CompilerServices;
namespace ValidationsCollection
{
internal static class ValidationsHelper
{
internal const byte NonDigitByte = 255;
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte GetNumericValue(in char c) =>
c swit... |
module/ASC.Mail.Autoreply/ASC.Mail.Core/Net/SIP/Message/SIP_t_NameAddress.cs | aTiKhan/CommunityServer | 1,629 | 7048384 | /*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable la... |
src/NClient/NClient.Abstractions/Annotations/Http/Parameters/IHeaderParamAttribute.cs | nclient/nclient | 48 | 7048385 | <gh_stars>10-100
// ReSharper disable once CheckNamespace
namespace NClient.Annotations.Http
{
/// <summary>
/// Specifies that a parameter should be bound using the request headers.
/// </summary>
public interface IHeaderParamAttribute : IMetadataParamAttribute
{
}
}
|
src/LogBookReader/Filters/FilterMetadataCodes.cs | djserega/LogBookReaderWPF | 4 | 7048386 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogBookReader.Filters
{
public class FilterMetadataCodes : IModels.IMetadataCodes, IFilters.IFilterBase
{
public FilterMetadataCodes() { }
public FilterMetadataCodes(Mo... |
METAbolt/GUI/Dialogs/AboutLand.designer.cs | emperorstarfinder/METAbolt | 5 | 7048387 | <reponame>emperorstarfinder/METAbolt
namespace METAbolt
{
partial class frmAboutLand
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bei... |
SynapseGaming-SunBurn-Pro/Mesh/Enum7.cs | UnGaucho/StarDrive | 0 | 7048388 | <reponame>UnGaucho/StarDrive
// Decompiled with JetBrains decompiler
// Type: ns9.Enum7
// Assembly: SynapseGaming-SunBurn-Pro, Version=1.3.2.8, Culture=neutral, PublicKeyToken=<KEY>
// MVID: A5F03349-72AC-4BAA-AEEE-9AB9B77E0A39
// Assembly location: C:\Projects\BlackBox\StarDrive\SynapseGaming-SunBurn-Pro.dll
... |
Assets/_Scripts/AI/ChaseState.cs | szepeviktor/ggj2021 | 1 | 7048389 | <gh_stars>1-10
using UnityEngine;
[CreateAssetMenu(menuName = "AI/States/Chase")]
internal sealed class ChaseState : State
{
internal override void Action(StateController controller)
{
controller.hunter.ChasePrey();
}
} |
PdfFillerClient/DTO/Application/ApplicationDeleteResponse.cs | pdffiller/pdffiller-dotnet-api-client | 2 | 7048390 | <filename>PdfFillerClient/DTO/Application/ApplicationDeleteResponse.cs
namespace PdfFillerClient.DTO.Application
{
public class ApplicationDeleteResponse
{
public int total { get; set; }
public string message { get; set; }
public override string ToString()
{
... |
FakeSmtpWebService/Program.cs | twatson83/FakeSmtpWebService | 0 | 7048391 | <filename>FakeSmtpWebService/Program.cs
using System;
using System.ServiceProcess;
using Microsoft.Owin.Hosting;
namespace FakeSmtpWebService
{
class Program
{
public static IDisposable WebAppStart { get; set; }
public class Service : ServiceBase
{
public Service()
... |
LidarApplication/Lidar/GraphicLidarOutput.cs | yakir8/Lidar-Project | 0 | 7048392 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LidarApplication {
public class GraphicLidarOutput : GraphicLidar {
//Vehicle Width [mm]
private float vehicleWidth;
... |
Tests/Municorn.Notifications.Api.LocalTests/ApiTests/GlobalCache.cs | alexandersorokin/municorn-notifications-api | 0 | 7048393 | using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Municorn.Notifications.Api.Tests.ApiTests
{
[SetUpFixture]
internal class GlobalCache
{
private readonly ConcurrentDictionary<Type, Lazy<Task<object>>> cache = new();
... |
src/coreclr/nativeaot/Runtime.Base/src/System/Runtime/InteropServices/OutAttribute.cs | pyracanda/runtime | 9,402 | 7048394 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Runtime.InteropServices
{
// Not used in Redhawk. Only here as C# compiler requires it
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
in... |
VisioAutomation_2007/VisioAutomation.Scripting/Commands/CustomPropCommands.cs | saveenr/VisioAutomation2007 | 1 | 7048395 | <filename>VisioAutomation_2007/VisioAutomation.Scripting/Commands/CustomPropCommands.cs
using System.Collections.Generic;
using System.Linq;
using CP=VisioAutomation.Shapes.CustomProperties;
using IVisio = Microsoft.Office.Interop.Visio;
using VA = VisioAutomation;
namespace VisioAutomation.Scripting.Commands
{
pu... |
Assets/_scripts/GUI/AAR/AARPGSelfAssessmentPart1.cs | takemurakimio/missing-part-1 | 1 | 7048397 | <reponame>takemurakimio/missing-part-1
using UnityEngine;
using System.Collections;
public class AARPGSelfAssessmentPart1 : AARPanelGenerator {
public const string TITLE_CONF_BIAS = "[#FF0000]Confirmation Bias";
public const string TITLE_FAE = "[#FF0000]Fundamental Attribution Error";
public const string TITLE_SU... |
source/CroquetAustralia.Library/Content/GitContentRepository.cs | croquet-australia/croquet-australia.com.au | 0 | 7048398 | <filename>source/CroquetAustralia.Library/Content/GitContentRepository.cs
using System;
using System.IO;
using Anotar.LibLog;
using Casper.Data.Git.Git;
using Casper.Domain.Features.Authors;
using CroquetAustralia.Library.Settings;
using LibGit2Sharp;
using NullGuard;
using OpenMagic.Extensions;
namespace CroquetAust... |
01-Module1/01-C# Advanced/03-Methods/07-ReverseNumber/07-ReverseNumber.cs | alekhristov/TelerikAcademyAlpha | 0 | 7048399 | using System;
namespace _07_ReverseNumber
{
class Program
{
static void Main(string[] args)
{
var number = Console.ReadLine();
PrintReversedNumber(number);
}
private static void PrintReversedNumber(string number)
{
var result = stri... |
Demos/ObscureWare.Console.Operations.CoreDemo/Program.cs | ObscureWare/Console | 4 | 7048400 | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="Obscureware Solutions">
// MIT License
//
// Copyright(c) 2016 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaini... |
samples/CommunityToolkit.Maui.Sample/Pages/Views/DrawingViewPage.xaml.cs | ehtick/Maui | 0 | 7048401 | <reponame>ehtick/Maui
using CommunityToolkit.Maui.Core;
using CommunityToolkit.Maui.Core.Views;
using CommunityToolkit.Maui.Sample.ViewModels.Views;
using CommunityToolkit.Maui.Views;
namespace CommunityToolkit.Maui.Sample.Pages.Views;
public partial class DrawingViewPage : BasePage<DrawingViewViewModel>
{
public D... |
src/ContosoAirlinePOS/ContosoAirlinePOSCs/ContosoAirlinePOSCs/ContosoAirlinePOSCs/ViewModels/SearchResultViewModel.cs | ghost1372/WinUI-3-Demos | 223 | 7048402 | <gh_stars>100-1000
using ABI.System.Windows.Input;
using ContosoAirlinePOSCs.Models;
using ContosoAirlinePOSCs.Services.BookingSearch;
using ContosoAirlinePOSCs.Services.FlightBooking;
using ContosoAirlinePOSCs.Services.Navigation;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
u... |
TripCore.Tests/FundamentalForms/EvalFundamentalTests.cs | orfgen/Trip | 0 | 7048403 | <gh_stars>0
using TripCore;
using NUnit.Framework;
using System.Text;
namespace TripCoreTests.FundamentalForms
{
[TestFixture]
public class EvalFundamentalTests
{
[Test]
public void SimpleEvalTest()
{
StringBuilder sb = new StringBuilder();
sb.A... |
libs/Useful.Security.Cryptography/Security/Cryptography/EnigmaRotors.cs | aphawkins/Useful | 0 | 7048404 | // <copyright file="EnigmaRotors.cs" company="APH Software">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace Useful.Security.Cryptography
{
using System;
using System.Collections.Generic;
/// <summary>
/// Enigma rotor settings.
/// </summary>
public sealed class Enigm... |
src/Takenet.Textc/PreProcessors/TrimTextPreprocessor.cs | PiotrFerenc/textc-csharp | 172 | 7048405 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Takenet.Textc.PreProcessors
{
public class TrimTextPreprocessor : ITextPreprocessor
{
public int Priority => 0;
public Task<string> ProcessText... |
examples/AdWords/CSharp/v201809/BasicOperations/UpdateExpandedTextAd.cs | jesuissur/googleads-dotnet-lib | 115 | 7048407 | <filename>examples/AdWords/CSharp/v201809/BasicOperations/UpdateExpandedTextAd.cs
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.... |
Source/GunShoot.cs | coolymike/FWR-QoL-Mod | 1 | 7048408 | using System;
using UnityEngine;
// Token: 0x02000008 RID: 8
public class GunShoot : MonoBehaviour
{
// Token: 0x0600001E RID: 30 RVA: 0x0000220B File Offset: 0x0000040B
private void Start()
{
this.anim = base.GetComponent<Animator>();
this.gunAim = base.GetComponentInParent<GunAim>();
}
// Tok... |
tests/mono/BooleanTest.cs | Kersoph/WAT | 0 | 7048409 | using Godot;
using System;
[Title("Given A Boolean Assertion")]
public class BooleanTest : WAT.Test
{
[Test]
public void TrueIsTrue()
{
Assert.IsTrue(true, "True is True");
}
[Test]
public void FalseIsFalse()
{
Assert.IsFalse(false, "False is False");
}
}
|
OOPA/WebbshopProjekt/Emma/WebbShopInlamningsUppgift/WebbShopInlamningsUppgift/WebbShopAPI.cs | marcusjobb/NET20D | 1 | 7048410 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using WebbShopInlamningsUppgift.Database;
using WebbShopInlamningsUppgift.Models;
namespace WebbShopInlamningsUppgift
{
public class WebbShopAPI
{
/// <summary>
/// Logs in Users
///... |
LeptonicaSharp/Functions/encoding.cs | VLunev/LeptonicaSharp | 0 | 7048411 | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace LeptonicaSharp
{
public partial class _All
{
// encoding.c (100, 1)
// encodeBase64(inarray, insize, poutsize) as String
// encodeBase64(l_uint8 *, l_int32, l_int32 *) as char *
/// <summary>
... |
src/CoinBot.Core/IMarketInfo.cs | funfair-tech/CoinBot | 16 | 7048412 | <reponame>funfair-tech/CoinBot
using System;
namespace CoinBot.Core;
public interface IMarketInfo
{
/// <summary>
/// The market name.
/// </summary>
string Name { get; }
/// <summary>
/// The 24H volume.
/// </summary>
decimal? Volume { get; }
decimal? Bid { get; }
... |
FDK/ScreenMode.cs | DTXMania/DTXMania2 | 64 | 7048413 | <reponame>DTXMania/DTXMania2<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace FDK
{
/// <summary>
/// ウィンドウモードと全画面モード(ボーダーレス)を切り替える。
/// </summary>
public class ScreenMode
{
// プロパティ
... |
Assets/Scripts/Features/SceneControl/Config/SceneConfig.cs | Johnoss/weird-card-game | 3 | 7048414 | <reponame>Johnoss/weird-card-game
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Assets.Scripts.Features.SceneControl.Config
{
[CreateAssetMenu(fileName = "SceneConfig", menuName = "Config/SceneConfig")]
public class SceneConfig : ScriptableObject
{
... |
RazorSharp/Import/Enums/ImportFieldOptions.cs | Decimation/RazorSharp | 37 | 7048415 | <reponame>Decimation/RazorSharp<gh_stars>10-100
using RazorSharp.Import.Attributes;
namespace RazorSharp.Import.Enums
{
/// <summary>
/// Specifies how the field will be loaded.
/// </summary>
public enum ImportFieldOptions
{
/// <summary>
/// Copy the value directly into the field from a byte array. Use <see... |
test/Grpc.Net.Client.Tests/Retry/HedgingTests.cs | kiapanahi/grpc-dotnet | 1 | 7048416 | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... |
src/Services/Airline.Flight/src/Flight/Flights/Features/FlightMappings.cs | xpertdev/Airline-Microservices | 0 | 7048417 | using Flight.Flights.Dtos;
using Mapster;
namespace Flight.Flights.Features;
public class FlightMappings : IRegister
{
public void Register(TypeAdapterConfig config)
{
config.NewConfig<Models.Flight, FlightResponseDto>();
}
}
|
src/Contracts/Filtering/Filter.cs | Frederik91/RevitAsyncDemo | 2 | 7048418 | using Contracts.Enums;
using System;
namespace Contracts.Filtering
{
public class Filter : IEquatable<Filter>
{
public Guid Id { get; set; }
public OperatorType Operator { get; set; }
public CW_ParameterLevel FilterType { get; set; }
public string ParameterName { get; set; }
... |
Official Windows Platform Sample/ChatterBox VoIP sample app/[C#][C++]-ChatterBox VoIP sample app/C# and C++/UI/CallStatusViewModel.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7048419 | <reponame>zzgchina888/msdn-code-gallery-microsoft<filename>Official Windows Platform Sample/ChatterBox VoIP sample app/[C#][C++]-ChatterBox VoIP sample app/C# and C++/UI/CallStatusViewModel.cs
/*
Copyright (c) 2012 Microsoft Corporation. All rights reserved.
Use of this sample source code is subject to the te... |
rProxy/BabaluConfigurationFactory.cs | CalypsoSys/Babalu_rProxy | 6 | 7048420 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Configuration;
using System.IO.IsolatedStorage;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization;
using System.Threading;
using Babalu.rProxy;
namespace Babalu.rP... |
OQueue/Broker/RequestHandlers/Admin/GetTopicConsumeInfoRequestHandler.cs | OceanChip/OQueue | 0 | 7048421 | using OceanChip.Queue.Protocols.Brokers.Requests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OceanChip.Common.Remoting;
using OceanChip.Queue.Broker.Client;
namespace OceanChip.Queue.Broker.RequestHandlers.Admin
{
public class GetTopic... |
Views/Home/Index.cshtml | RecursiveGeek/IdentityServer4.AdminUI | 2 | 7048424 | <reponame>RecursiveGeek/IdentityServer4.AdminUI<gh_stars>1-10
@{
ViewData["Title"] = "Home Page";
}
<title>Home</title>
<!-- Icon Cards-->
<div class="row">
<div class="col-xl-3 col-sm-6 mb-3">
<div class="card text-white bg-primary o-hidden h-100">
<div class="card-body">
<... |
src/Events/World/EntityCreateEvent.cs | CadenZ-Assignments/Ecosystem-Simulation | 1 | 7048425 | <reponame>CadenZ-Assignments/Ecosystem-Simulation<gh_stars>1-10
using Simulation_CSharp.Entities;
using Simulation_CSharp.Tiles;
using Simulation_CSharp.World;
namespace Simulation_CSharp.Events.World;
public class EntityCreateEvent : WorldEvent
{
public readonly Entity Created;
public readonly TileCell Posi... |
tibiaapi/Packets/Incoming/VipStatePacket.cs | Bobbykose/tibiaapi | 13 | 7048426 | <filename>tibiaapi/Packets/Incoming/VipStatePacket.cs
using Tibia.Constants;
namespace Tibia.Packets.Incoming
{
public class VipStatePacket : IncomingPacket
{
public uint PlayerId { get; set; }
public string PlayerName { get; set; }
public byte PlayerState { get; set; }
... |
src/Comformation/Generated/WAFv2/RuleGroup/JsonBody.cs | stanb/Comformation | 17 | 7048427 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.WAFv2.RuleGroup
{
/// <summary>
/// AWS::WAFv2::RuleGroup JsonBody
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonbody.... |
Source/Settings.cs | abrenneke/Rimocracy | 0 | 7048428 | using RimWorld;
using Verse;
namespace Rimocracy
{
public enum TermDuration { Indefinite = 0, Quadrum, Halfyear, Year };
public class Settings : ModSettings
{
public static int MinPopulation = MinPopulation_Default;
public static int CitizenshipAge = CitizenshipAge_Default;
public... |
Views/Shared/Components/brPaginationButton/Separator.cshtml | badhitman/BootstrapViewComponentsRazorLibrary | 0 | 7048429 | <filename>Views/Shared/Components/brPaginationButton/Separator.cshtml
@*MIT License (https://github.com/badhitman)*@
@using BootstrapAspDynamicRender.models
@model bmPaginationButton
<li class="page-item disabled">
<span class="page-link">
@(string.IsNullOrEmpty(Model.Title) ? "⁞" : Model.Title)
</span... |
MyAdventure.Services/Guides/IGuideService.cs | martinsivanov/ASP.NET-Core-Project-My-Adventure | 2 | 7048430 | namespace MyAdventure.Services.Guides
{
using MyAdventure.Services.Guides.Models;
using MyAdventure.Services.Routes.Models;
using System.Collections.Generic;
public interface IGuideService
{
public bool IsGuide(string userId);
public bool CanGuideRemoveReservation(string userId, i... |
src/DotNetConf2019/ViewModels/RefreshViewDemoViewModel.cs | AlejandroRuiz/DotNetConf2019 | 0 | 7048431 | <reponame>AlejandroRuiz/DotNetConf2019
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using MvvmHelpers;
using Xamarin.Forms;
namespace DotNetConf2019.ViewModels
{
public class RefreshViewDemoViewMo... |
src/DevicePortalCoreSDK/Request.cs | minusoneteam/DevicePortalCoreSdk | 1 | 7048432 | <gh_stars>1-10
using DevicePortalCoreSDK.Models.Requests;
using Newtonsoft.Json;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace DevicePortalCoreSDK
{
/// <summary>
/// Class that handles request to the device portal.
/// </summary>
public class Request<TResponseBody... |
aspnet-core/src/MyFisrtProjectASPNETZERO.Application/Tasks/CreateTaskInput.cs | goseivietnam/ASPZERO | 0 | 7048433 | <gh_stars>0
using Abp.AutoMapper;
using MyFisrtProjectASPNETZERO.Tasks.Configuration;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace MyFisrtProjectASPNETZERO.Tasks
{
[AutoMapFrom(typeof(Task))]
public class CreateTaskInput
{
... |
Hidder/Behavior/TextBoxBehaviorExtensions.cs | YoshinoriN/Hidder | 0 | 7048434 | using System.Windows;
using System.Windows.Controls;
namespace Hidder.Behavior
{
/// <summary>
/// テキストボックスのビヘイビア拡張
/// </summary>
public class TextBoxBehaviorExtensions : TextBoxBehavior
{
protected override void OnAttached()
{
base.OnAttached();
this.Assoc... |
src/TTY.GMP.Utility/PrimaryKeyHelper.cs | chenjian8541/gmp | 5 | 7048435 | using System;
using System.Collections.Generic;
using System.Text;
namespace TTY.GMP.Utility
{
/// <summary>
/// 主键帮助类
/// </summary>
public class PrimaryKeyHelper
{
/// <summary>
/// 默认构造函数
/// 外部无法实例化,只能通过单例访问
/// </summary>
private PrimaryKeyHelper()
... |
DataGrid_CS/Assets/UI/DataGrid/DataGrid.cs | Liguangxin1989/ScrollRectItemDynamicLoading | 3 | 7048436 | <reponame>Liguangxin1989/ScrollRectItemDynamicLoading
///
/// version 1 兼容之前版本,去掉多余的layout 选中,toggle 等 ,可以抽出分装一个组件 2018.0810
///
///version 2 继续优化 ,每次变化 只更新变化的item ,对水平移动进行测试
///
///version 3 增加 item 的增 删 改
///
///version 4 增加瞬移 (移动到底部,顶部,指定位置)
///
///version 5 增加多个Tab页面共用一个DataGrid 时候,来回切换时候出现的bug
///
///
using Sy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.