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 |
|---|---|---|---|---|
src/Fhir/R4B/ValueSets/CharacteristicCombination.cs | GinoCanessa/Subscription-CS-Endpoint | 0 | 7065796 | // <auto-generated />
// Built from: hl7.fhir.r4b.core version: 4.1.0
// Option: "NAMESPACE" = "fhirCsR4"
using fhirCsR4.Models;
namespace fhirCsR4.ValueSets
{
/// <summary>
/// Logical grouping of characteristics.
/// </summary>
public static class CharacteristicCombinationCodes
{
/// <summary>
/... |
Code/Foundation/BaseException.cs | DavidMoore/Foundation | 1 | 7065797 | using System;
using System.Globalization;
using System.Runtime.Serialization;
namespace Foundation
{
/// <summary>
/// Provides a base implementation over <see cref="Exception"/> with
/// more helpful constructors for creating formatted messages instead
/// of having to call <see cref="string.... |
Assets/Scripts/GameManager.cs | Brianlatt/YellowBirb_Project_github | 1 | 7065798 | <filename>Assets/Scripts/GameManager.cs
using UnityEngine;
using TMPro;
public class GameManager : MonoBehaviour
{
public TMP_Text scoreTextInGame;
public TMP_Text scoreTextDeathUI;
[SerializeField] AudioSource PointSound;
public int score;
public void IncreaseScore()
{
score++;
... |
AMS/Controllers/DoctorController.cs | x3r/AMS | 0 | 7065799 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using AMS.Models;
using AMS.Service;
using AMS.ViewModel;
namespace AMS.Controllers
{
[Authorize]
public class DoctorController : Controller
{
private DoctorService... |
MixAuth/Controllers/HomeController.cs | woodsun2018/MixAuth | 3 | 7065800 | <reponame>woodsun2018/MixAuth<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authenticatio... |
Tida.Canvas.Shell.Contracts/InteractionHandlers/ExportCanvasInteractionHandlerProviderAttribute.cs | JanusTida/Tida.CAD | 38 | 7065801 | <filename>Tida.Canvas.Shell.Contracts/InteractionHandlers/ExportCanvasInteractionHandlerProviderAttribute.cs
using System;
using System.ComponentModel.Composition;
using Tida.Canvas.Infrastructure.InteractionHandlers;
namespace Tida.Canvas.Shell.Contracts.InteractionHandlers {
[MetadataAttribute, AttributeUsage(A... |
INZFS.MVC/Models/DynamicForm/BaseModel.cs | BEIS-Digital-Services/INZFS | 2 | 7065802 | using INZFS.MVC.Validators;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.ContentManagement;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace INZFS.MVC.Models.DynamicForm
{
... |
src/Journalist.WindowsAzure.Storage/Tables/TableEntityConverters/TableEntityConverter.cs | forki/Journalist | 15 | 7065803 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Journalist.Extensions;
using Microsoft.WindowsAzure.Storage.Table;
namespace Journalist.WindowsAzure.Storage.Tables.TableEntityConverters
{
public class TableEntityConverter : ITableEntityConverter
{
public Dictio... |
src/Tiantianquan.Common/Tiantianquan.Privilege/Application/ApplicationService.cs | DORAdreamless/Dapper.AutoMigrate | 2 | 7065804 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tiantianquan.Common.Application;
using Tiantianquan.Common.Enums;
using Tiantianquan.Common.UI;
using Tiantianquan.Privilege.Domain;
namespace Tiantianquan.Privilege.Application
{
... |
Podcasts/Controls/ReadOnlyEpisodeControl.xaml.cs | deltakosh/Podcasts | 61 | 7065805 | using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Imaging;
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
namespace Podcasts
{
public sealed partial class ReadOnlyEpisodeControl
{
public ReadOnlyEpisodeControl()
{
In... |
PACE/WebApi/src/PACEWebApiCore.Entities/Contracts/Document.cs | firstcrazydeveloper/Temprory | 0 | 7065806 | <filename>PACE/WebApi/src/PACEWebApiCore.Entities/Contracts/Document.cs<gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using SqlCodeGenerator.Attributes;
namespace PACEWebApiCore.Entities.Contracts
{
public class Document : BaseEntity
{
[KeyProperty(Identity = true)] public int ... |
AspMvc5WebApp471/Models/AboutViewModel.cs | copernicus365/AspMvc5NetstandardCompatibility | 0 | 7065807 | using FooProj_NetStandard20;
namespace AspMvc5WebApp471.Models
{
public class AboutViewModel
{
public string Title { get; set; }
public AnimalType AnimalTyp { get; set; }
}
} |
aspnet-core/src/ScoringAppReact.Web.Core/Controllers/ScoringAppReactControllerBase.cs | farazahmed879/ScoringAppReact | 0 | 7065808 | <gh_stars>0
using Abp.AspNetCore.Mvc.Controllers;
using Abp.IdentityFramework;
using Microsoft.AspNetCore.Identity;
namespace ScoringAppReact.Controllers
{
public abstract class ScoringAppReactControllerBase: AbpController
{
protected ScoringAppReactControllerBase()
{
LocalizationSo... |
Queries/Common/Structure/RequestItemModel.cs | ifdog/Queries | 0 | 7065809 | using Common.Structure.Base;
namespace Common.Structure
{
public class RequestItemModel:BaseRequest
{
public override string Action { get; set; }
public override string Parameter { get; set; }
public ItemModel Item { get; set; }
}
}
|
src/IdentityServer4.SecurityTokenService/Views/Account/SentEmailConfirmation.cshtml | jeraytang/Cerberus | 0 | 7065810 | <filename>src/IdentityServer4.SecurityTokenService/Views/Account/SentEmailConfirmation.cshtml
@{
ViewData["Title"] = "Sent email confirmation";
}
<h4>Sent email confirmation.</h4>
<hr/>
<div class="row">
<div class="col-md-12">
<div class="alert alert-danger">
Sent email confirmation succes... |
src/MemoryStorage/Stores/ScopeStore.cs | pablopioli/Auth | 0 | 7065812 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using OpenIddict.Abstractions;
using OpenIddict.... |
src/Infrastructure/VoipProjectEntities.Persistence/Repositories/TrailBalanceCustomerRepository.cs | Lucky786/VoIPCustomerWebPortal | 0 | 7065813 | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using VoipProjectEntities.Application.Contracts.Persistence;
using VoipProjectEntities.Domain.Entities;
namespace VoipProjectEntities.Persistence.Re... |
API/Models/attWebApiContext.cs | kapantzak/AttendanceWebAPI | 0 | 7065814 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace AttendanceWebApi.Models
{
public partial class attWebApiContext : DbContext
{
public virtual DbSet<AcademicTerms> AcademicTerms { get; set; }
public virtual DbSet<AcademicTermTyp... |
src/OpenGost.Security.Cryptography/Asn1/SpecifiedECDomain.cs | sergezhigunov/gost | 1 | 7065815 | <reponame>sergezhigunov/gost
using System;
using System.Formats.Asn1;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Cryptography;
using OpenGost.Security.Cryptography.Properties;
namespace OpenGost.Security.Cryptography.Asn1;
[SecuritySafeCritical]
[StructLayout(LayoutKind.Sequen... |
simple/01_Admin/Demo.Admin.Domain/Organize/IRepository/IOrganizeRepository.cs | doordie1991/EasyModular | 12 | 7065816 |
using EasyModular.SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Admin.Domain
{
public interface IOrganizeRepository : IRepository<OrganizeEntity>
{
Task<IList<OrganizeEntity>> Query(OrganizeQueryModel model);
}
}
|
ClubPenguin/MixLoginController.cs | smdx24/CPI-Source-Code | 8 | 7065817 | // MixLoginController
using ClubPenguin;
using ClubPenguin.Mix;
using ClubPenguin.Net;
using Disney.Kelowna.Common.SEDFSM;
using Disney.LaunchPadFramework;
using Disney.Mix.SDK;
using Disney.MobileNetwork;
public class MixLoginController : AbstractLoginController
{
public string MissingInfoEvent;
public string Lega... |
object method/ticket price/ticket price/Ticket.cs | SannaNaTu/object-orientated-programming | 0 | 7065818 | <filename>object method/ticket price/ticket price/Ticket.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace TicketPrice
{
class Ticket
{
public string Name;
public int Age;
public void AskInfo()
{
Console.Write("Anna nimesi:... |
Assets/Scripts/implementation/test.cs | BillMaZengou/UnityML | 0 | 7065819 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Text;
public class test : MonoBehaviour
{
public Text text;
// Start is called before the first frame update
void Start()
{
var m = Function.Matrix.RandomMatrix(2, 3);
Disp... |
src/C#/ChickenSharp.Tests/ParserTests.cs | Someone-42/EsotericInterpreters | 0 | 7065820 | <gh_stars>0
using Esoterics.InstructionSets;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
namespace Esoterics.Tests
{
[TestClass]
public class ParserTests
{
}
}
|
XMLDiff/Code/Apps/XmlPatch/Class1.cs | shadolight/XmlDiffPatch | 9 | 7065821 | using System;
using System.IO;
using System.Xml;
using System.Text;
using Microsoft.XmlDiffPatch;
namespace XmlPatchApp {
class Class1 {
static void Main(string[] args) {
if ( args.Length < 3 ) {
Console.WriteLine( "Invalid arguments." );
WriteUsage();... |
src/DofusRE/GameData/classes/bonus/Bonus.cs | Hydrofluoric0/DofusRE | 11 | 7065822 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using DofusRE.IO;
using DofusRE.GameData.classes;
namespace DofusRE.GameData.classes
{
public class Bonus : GameDataClass
{
public const String MODULE = "Bonuses";
public int id;
public uint type;
public int amou... |
src/Abp/Extensions/ObjectExtensions.cs | Steffe1971/aspnetboilerplate | 1 | 7065823 | using System.Linq;
namespace Abp.Extensions
{
/// <summary>
/// Extension methods for all objects.
/// </summary>
public static class ObjectExtensions
{
/// <summary>
/// Used to simplify and beautify casting an object to a type.
/// </summary>
/// <typeparam name=... |
src/BlueBoard.Application/Common/BaseGetQuery.cs | stenvix/blueboard-api-old | 0 | 7065824 | <gh_stars>0
using System;
namespace BlueBoard.Application.Common
{
public class BaseGetQuery
{
public Guid Id { get; }
public BaseGetQuery(Guid id)
{
Id = id;
}
}
}
|
Rage/Pages/RepoPage.xaml.cs | radaiko/Rage | 0 | 7065825 | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using System;
namespace Rage.Pages
{
public class RepoPage : UserControl
{
public RepoPage()
{
InitializeComponent();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.L... |
PizzaWorld.Storing/Migrations/20210104171056_UsersSeed.cs | JTLaMarre/project-p0 | 0 | 7065826 | using Microsoft.EntityFrameworkCore.Migrations;
namespace PizzaWorld.Storing.Migrations
{
public partial class UsersSeed : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Name",
t... |
Associative-Arrays-Exercise/07. StudentAcademy/Program.cs | georgivv7/C-Sharp-Fundamentals-SoftUni | 0 | 7065828 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _07._StudentAcademy
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Dictionary<string, double> students = new Dictionary<string, double>();
... |
Source/Wmf2SvgNet/Gdi/IGdiPalette.cs | leojth/Wmf2SvgNet | 0 | 7065829 | <reponame>leojth/Wmf2SvgNet
namespace Wmf2SvgNet.Gdi
{
public interface IGdiPalette : IGdiObject
{
ushort Version { get; }
int[] Entries { get; }
}
} |
leaderboard/api/web/Controllers/SentinelController.cs | joalmeid/openhack-devops-proctor | 0 | 7065830 | using System;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Collections.Generic;
using Sentinel.Data;
using Sentinel.Models;
using Microsoft.Extensions.Logging;
namespace Sentinel.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
public class SentinelController : Co... |
Frontend/Assets/3DGamekit/Scripts/Network/Incoming/OnRecvChat.cs | eveJiang/MMORPG | 0 | 7065831 | <filename>Frontend/Assets/3DGamekit/Scripts/Network/Incoming/OnRecvChat.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common;
using Assets._3DGamekit.Scripts.Game;
using UnityEngine;
namespace Gamekit3D.Network
{
public partial class Incoming
{
private ... |
Engines/FlatRedBallXNA/FlatRedBall/Network/NetSprite.cs | patridge/FlatRedBall | 110 | 7065832 | using System;
namespace FlatRedBall.Network
{
/// <summary>
/// Summary description for NetSprite.
/// </summary>
public class NetSprite
{
internal Sprite sprite;
internal int spriteID;
internal ushort computerID;
public NetSprite(Sprite sprite, int spriteID, ushort computerID)
{
this.spriteID = ... |
src/ERP.Domain/Core/Repositories/IUnitOfWork.cs | NilavPatel/ERP-Sample | 2 | 7065833 | <filename>src/ERP.Domain/Core/Repositories/IUnitOfWork.cs
using System.Linq.Expressions;
using ERP.Domain.Core.Models;
namespace ERP.Domain.Core.Repositories
{
public interface IUnitOfWork : IAsyncDisposable
{
Task<int> SaveChangesAsync();
Task RollBackChangesAsync();
IBaseRepositoryAsy... |
EK.CommonUtils/Code/FileUtils.cs | ekisielinski/CommonUtils | 0 | 7065834 | <reponame>ekisielinski/CommonUtils
namespace EK.CommonUtils;
public static class FileUtils
{
public static void DeleteIfExists(string path)
{
Guard.NotNullOrEmpty(path);
if (File.Exists(path))
{
File.Delete(path);
}
}
public static DataSize GetSize(str... |
src/bitvectors/src/types/BitVector128T.cs | 0xCM/z0 | 0 | 7065835 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.In... |
Program.cs | GreedNeSS/AnonymousTypes | 0 | 7065836 | <filename>Program.cs
using System;
namespace AnonymousTypes
{
class Program
{
static void Main(string[] args)
{
var myCar = new { Color = "Pink", Make = "Saab", CurrentSpeed = 55 };
ReflectOverAnonyousType(myCar);
Console.WriteLine($"My car is a {myCar.Col... |
KojtoCAD.2012/Macros.cs | kojtoLtd/KojtoCAD | 2 | 7065837 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using Castle.Core.Logging;
#if !bcad
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using ... |
src/Crystal3/CrystalApplicationBackgroundActivationEventArgs.cs | Amrykid/Crystal | 12 | 7065838 | <reponame>Amrykid/Crystal
using System;
using Windows.ApplicationModel.Activation;
namespace Crystal3
{
public class CrystalApplicationBackgroundActivationEventArgs : EventArgs
{
public BackgroundActivatedEventArgs ActivationEventArgs { get; internal set; }
}
} |
Assets/Scripts/Content/Resource/LoadableResource.cs | YuriSukhorukov/job | 1 | 7065839 | <gh_stars>1-10
namespace Content.Resource
{
public class LoadableResource<T> where T:UnityEngine.Object
{
private readonly ResourceLocation resource;
public LoadableResource(ResourceLocation resource)
{
this.resource = resource;
}
public T Load()
... |
src/business/Core/Models/DataHistory.cs | yasharvc/FLower | 0 | 7065840 | using Core.Enums;
using Microsoft.VisualBasic;
namespace Core.Models
{
public class DataHistory
{
public string UserID { get; set; }
public DataStructure Data { get; set; }
public DateAndTime ArchivedDateTime { get; set; }
public DataManipulationEnum ActionTake { get; set; }
}
} |
src/Blog.cs | spboyer/dotnet-cowsay | 8 | 7065841 | using System;
using System.Collections.Generic;
using System.Text;
namespace dotnetcowsay
{
public class Blog
{
public string key { get; set; }
public string title { get; set; }
public string link { get; set; }
public string description { get; set; }
public string web... |
Blazor.Mvvm/src/Blazor.Mvvm.Core/Attributes/IgnoreModelInjectionAttribute.cs | enisn/Blazor.Mvvm | 0 | 7065842 | <reponame>enisn/Blazor.Mvvm
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blazor.Mvvm.Core.Attributes
{
/// <summary>
/// Use this attribute if you need to ignore injection as model by <see cref="BaseComponent"/>
/// </summary... |
C# OOP/DomDefiningClassesPart1/01.MobilePhoneDevice/Call.cs | Producenta/TelerikAcademy | 0 | 7065843 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
public class Call
{
private DateTime dateAndTimeNow;
private int duration;
private string dialedPhoneNumber;
public Call(DateTime dateAndTimeNow, int duration, string dialedPhoneNumber)
{
this.dateAndTimeNow = ... |
src/PietDotNet/ColourBlock.cs | Corniel/piet.net | 0 | 7065844 | <gh_stars>0
using PietDotNet.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace PietDotNet
{
[DebuggerTypeProxy(typeof(CollectionDebugView))]
public class ColourBlock : IEnumerable<Pointer>
{
public static readonly Colour... |
SharpRemote/LogInterceptor.cs | StefanSturm87/SharpRemote | 11 | 7065845 | using System;
using System.Reflection;
using log4net;
using log4net.Appender;
using log4net.Core;
using log4net.Repository.Hierarchy;
namespace SharpRemote
{
/// <summary>
/// Log4net appender that delegates all log events to a user specified action.
/// </summary>
internal sealed class LogInterceptor
: Appende... |
IteratorsAndComparatorsExercises/Stack/Program.cs | BorislavDimitrov/C-Sharp-Advanced | 1 | 7065846 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace CustomStack
{
class Program
{
static void Main(string[] args)
{
Stack<string> stack = new Stack<string>();
while (true)
{
string input = Console.Read... |
DasContract.Abstraction/UserInterface/FormFields/EnumField.cs | SeldeOn/DasContract | 0 | 7065847 | <reponame>SeldeOn/DasContract<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace DasContract.Abstraction.UserInterface.FormFields
{
public class EnumField : Field
{
[XmlAttribute("Vertical")]
public bool Vertical { get; set; ... |
modules/platforms/dotnet/Apache.Ignite.Linq/Impl/Dml/RemoveAllResultOperator.cs | FedorUporov/gridgain | 218 | 7065848 | <reponame>FedorUporov/gridgain
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/pro... |
Tests/Tests.Jeebs.Result.Chain/Link_WithState/UnwrapSingle/UnwrapSingle_Tests1.cs | bencgreen/jeebs.result | 0 | 7065849 | // Jeebs Unit Tests
// Copyright (c) bcg|design - licensed under https://mit.bcgdesign.com/2013
using Xunit;
namespace Jeebs.Link_Tests.WithState
{
public partial class UnwrapSingle_Tests
{
[Fact]
public void IEnumberable_Input_Multiple_Items_Returns_IError()
{
// Arrange
var list = new[] { 1, 2 };
... |
AntData/AntData.ORM/DbEngine/Dao/Common/Util/ShardingUtil.cs | yuzd/AntData.ORM | 696 | 7065850 | //-----------------------------------------------------------------------
// <copyright file="ShardingUtil.cs" company="Company">
// Copyright (C) Company. All Rights Reserved.
// </copyright>
// <author>nainaigu</author>
// <summary></summary>
//-----------------------------------------------------------------------
... |
src/DangEasy.BlobStorage.Azure.Test/Integration/When_Deleting.cs | anthonydotnet/dangeasy-azure-blobstorage | 0 | 7065851 | using System.IO;
using System.Text;
using System.Threading;
using Xunit;
namespace DangEasy.BlobStorage.Azure.Test.Integration
{
public class When_Deleting : BaseIntegration
{
[Fact]
public async void Blob_Is_Deleted()
{
// upload file
var filePath = $"/{Containe... |
Sharpotify7/Sparpotify7/View/PlaylistView.xaml.cs | fernandoescolar/sharpotify7 | 0 | 7065852 | <filename>Sharpotify7/Sparpotify7/View/PlaylistView.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Med... |
src/Mix.Cms.Api.RestFul/Controllers/v1/MixDatabaseDatas/ApiMixDatabaseDataController.cs | asilmertkan/mix.core | 0 | 7065853 | <filename>src/Mix.Cms.Api.RestFul/Controllers/v1/MixDatabaseDatas/ApiMixDatabaseDataController.cs
// Licensed to the Mixcore Foundation under one or more agreements.
// The Mixcore Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Micro... |
Assets/Scripts/Level/Traps/DamagePlayerTrigger.cs | jelte/Creeper | 0 | 7065854 | using ProjectFTP.Player;
using UnityEngine;
namespace ProjectFTP.Level.Traps
{
public class DamagePlayerTrigger : MonoBehaviour
{
public int amount = 1;
void OnTriggerEnter2D(Collider2D collision)
{
if (collision.CompareTag("Player"))
{
collision.GetCompone... |
Criminal/addfir.aspx.cs | Abdul4142/Criminal-data-base-management | 0 | 7065855 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data;
using MySql.Data.MySqlClient;
using System.Configuration;
using System.Data;
public partial class addfir : System.Web.UI.Page
{
string constrn = C... |
FocusWarden.DataAccess/Domain/TodoItems/CommandHandler/RemoveTodoItemCommandHandler.cs | adamStawarek/FocusWarden | 2 | 7065856 | <reponame>adamStawarek/FocusWarden
namespace FocusWarden.DataAccess.Domain.TodoItems.CommandHandler
{
using Command;
using Interfaces;
using MediatR;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
public class RemoveTodoItemCommandHandler : IRequestHandler<RemoveT... |
Chapter 07/Chapter_07_API_EFCore_Examples/EFCore_CodeFirst/Db/Models/PlayerInstrument.cs | attortuony/ASP.NET-Core-5-for-Beginners | 49 | 7065857 | namespace EFCore_CodeFirst.Db.Models
{
public class PlayerInstrument
{
public int PlayerInstrumentId { get; set; }
public int PlayerId { get; set; }
public int InstrumentTypeId { get; set; }
public string ModelName { get; set; }
public string Level { get; set; }
}
}
... |
Ella-the-game/Assets/JMO Assets/Shape FX/Scripts/ShFX_EffectHandler.cs | TECH-SAVVY-GUY/EllaTheGame | 0 | 7065858 | //========================================
//
// SHAPE FX
// (c) 2016 - <NAME>
// http://www.jeanmoreno.com/unity
//
//========================================
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace ShapeFX
{
[RequireComponent(typeof(ParticleSystem))]
public class ... |
EnCor.Wcf/Routing/ConfigurationUtility.cs | kevenli/EnCor | 0 | 7065859 | using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel.Channels;
using System.ServiceModel.Configuration;
using System.ServiceModel;
namespace EnCor.Wcf.Routing
{
public class ConfigurationUtility
{
public static Binding GetRouterBinding(string scheme)
{
... |
PressurePlate/DoorPatches.cs | Florian-S-Dev/Valheim-Pressure-Plate | 0 | 7065861 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using HarmonyLib;
using UnityEngine;
namespace PressurePlate {
[HarmonyPatch]
public static class DoorPatches {
[HarmonyPatch(typeof(Door), "Awake"), HarmonyPostfix]
public... |
Super/Runtime/Activation/New.cs | SuperDotNet/Super.NET | 13 | 7065862 | <gh_stars>10-100
using Super.Compose;
using Super.Model.Selection;
using Super.Reflection.Members;
using Super.Reflection.Types;
using Super.Runtime.Invocation.Expressions;
namespace Super.Runtime.Activation
{
public sealed class New<TIn, TOut> : Select<TIn, TOut>
{
public static ISelect<TIn, TOut> Default { get;... |
LinqCheck/DefaultArbitrary.cs | johtela/LinqCheck | 3 | 7065863 | /*
# Built-In Arbitrary Types
LinqCheck provides the most important arbitrary types out-of-the-box. We
define the built-in implementations for the IArbitrary interface in the
DefaultArbitrary static class.
*/
namespace LinqCheck
{
using System;
using System.Collections.Generic;
using System.Linq;
using Extensi... |
ScientificReport/Views/TeacherReport/_PrintPublication.cshtml.cs | lnupmi11/ScientificReport | 3 | 7065864 | <filename>ScientificReport/Views/TeacherReport/_PrintPublication.cshtml.cs
using ScientificReport.DAL.Entities.Publications;
using ScientificReport.DAL.Entities.UserProfile;
namespace ScientificReport.Views.TeacherReport
{
public class PrintPublication
{
public int Index { get; set; }
public UserProfile User { g... |
KaldaygeduWalaineejaw/KaldaygeduWalaineejaw/EncryptionInfo.cs | catcat0921/lindexi_gd | 92 | 7065865 | <reponame>catcat0921/lindexi_gd
using OpenMcdf;
namespace KaldaygeduWalaineejaw
{
public class EncryptionInfo
{
public CFStream EncryptionInfoStream { get; }
private EncryptionInfo(CFStream stream)
{
}
protected EncryptionInfo(VersionData encryptionVersionInfo)
... |
src/CodeCube.Core.Extensions.Drawing/StreamExtensions.cs | roblohmann/CodeCube.Core.Extensions.Drawing | 0 | 7065866 | <gh_stars>0
using System;
using System.Drawing;
using System.IO;
namespace CodeCube.Core.Extensions.Drawing
{
public static class StreamExtensions
{
/// <summary>
/// Get the image dimensions from the provided stream.
/// </summary>
/// <param name="stream"></param>
///... |
src/AquaExplorer/Model/AzureObjectRoot.cs | ikriv/AquaExplorer | 1 | 7065867 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AquaExplorer.Model
{
class AzureObjectRoot : IAzureObject
{
public IAzureObject Parent
{
get { return null; }
}
public AzureObjectKind Kind
{
get { r... |
Cofim.Common/Model/DataEntity/DatosFiscales.cs | cofimfintech/Cofim | 0 | 7065868 | <gh_stars>0
using System.ComponentModel.DataAnnotations;
using Cofim.Common;
namespace Cofim.Common.Model.DataEntity
{
public class DatosFiscales
{
[Key]
[Display(Name = "Registro Federal de Contribuyente")]
[Required(ErrorMessage = MessageCenter.webAppTextFieldRequired)]
... |
src/AdventureWorks.Business/GeneratedCode/CountryRegion.cs | Drizin/Harbin.Old | 2 | 7065869 | // <auto-generated>
// ReSharper disable ConvertPropertyToExpressionBody
// ReSharper disable DoNotCallOverridableMethodsInConstructor
// ReSharper disable EmptyNamespace
// ReSharper disable InconsistentNaming
// ReSharper disable PartialMethodWithSinglePart
// ReSharper disable PartialTypeWithSinglePart
// ReSharper ... |
src/Pomelo.Vue/PueMiddleware.cs | yukozh/pomelo-vue | 1 | 7065870 | namespace Pomelo.Vue
{
public class PueMiddleware
{
private readonly RequestDelegate _next;
private readonly string _main;
internal static string PuePath = "";
public PueMiddleware(RequestDelegate next)
{
_next = next;
_main = $"<html><head><sc... |
WatchsterSolution/Watchster.Application.UnitTests/Features/Commands/GenerateAndSaveResetPasswordCodeCommandTests.cs | iulianPeiu6/WatchsterApp | 0 | 7065871 | using FakeItEasy;
using Faker;
using FluentAssertions;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
using Watchster.Application.Features.Commands;
using Watchster.Application.Interfaces;
using Watchster.Application.Models;
using Watchster.Application.UnitTests.Fakes;
namespace Watchster.Applicat... |
Backend/Entities/TagGroup.cs | BenediktAlkin/SpotifySongTagger | 9 | 7065872 | <reponame>BenediktAlkin/SpotifySongTagger<gh_stars>1-10
using Backend.Entities.GraphNodes;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations.Schema;
using Util;
namespace Backend.Entities
{
public class TagGroup : NotifyPropertyChange... |
ChineseDictionary/ChineseDictionary/Models/Word.cs | Ivan-Nebogatikov/ChineseDictionary | 3 | 7065873 | <filename>ChineseDictionary/ChineseDictionary/Models/Word.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChineseDictionary.Models
{
public class Word
{
public long? Id { get; set; }
public string Chinese { get; set; }
publ... |
test/CLITest/Functional/Table/TableStoredAccessPolicy.cs | EmmaZhu/pshtest | 0 | 7065874 | <reponame>EmmaZhu/pshtest
namespace Management.Storage.ScenarioTest.Functional.Table
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
using Management.Storage.ScenarioTest.Common;
using Management.Storage.ScenarioTest.Util;
usin... |
KelpNet/Common/Tools/NdArrayConverter.cs | mattcolefla/KelpNet-master | 3 | 7065875 | using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
namespace KelpNet.Common.Tools
{
using JetBrains.Annotations;
using Nerdle.Ensure;
/// <summary> A nd array converter. </summary>
public class NdArrayConverter
{
////////////////... |
src/AElf.CLI/Commands/CrossChain/CertificateGenerationCommand.cs | quangdo3112/AElf | 1 | 7065876 | using System;
using AElf.CLI.Utils;
using CommandLine;
namespace AElf.CLI.Commands.CrossChain
{
[Verb("gen-cert", HelpText = "Generate certificate for cross chain communication.")]
public class CertificateGenerationOption : BaseOption
{
[Value(0, HelpText = "Name.", Required = true)]
public... |
Interfaz/frmListaOutsourcing.Designer.cs | cjporras/SADDEX_App | 0 | 7065877 | namespace Interfaz
{
partial class frmListaOutsourcing
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
src/App/Models/InputModels/Docenti/DocenteEditInputModel.cs | AngeloDotNet/AspNetCore-CentroFormazione | 0 | 7065878 | using System.ComponentModel.DataAnnotations;
using App.Models.ValueTypes;
namespace App.Models.InputModels.Docenti
{
public class DocenteEditInputModel
{
public int Id { get; set; }
public string IdDocente { get; set; }
[Display(Name = "Nominativo Docente")]
public string Nomi... |
SQL Schema Tool GUI/Forms/Main.Designer.cs | lslewis901/SqlSchemaTool | 1 | 7065879 | <reponame>lslewis901/SqlSchemaTool<filename>SQL Schema Tool GUI/Forms/Main.Designer.cs
namespace Lewis.SST.Gui
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <su... |
Project.API/Constants/JwtConfigKeysConstants.cs | henrygustavo/cqrs-api | 1 | 7065880 | namespace Project.API.Constants
{
public static class JwtConfigKeysConstants
{
public const string Issuer = "Jwt:Issuer";
public const string Audience = "Jwt:Audience";
}
}
|
Fusion/Graphics/Resources/VertexAttribute.cs | demiurghg/FusionFramework | 12 | 7065881 | <reponame>demiurghg/FusionFramework
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharpDX;
namespace Fusion.Graphics {
/// <summary>
/// A description of a single element for the input-assembler stage.
/// </summary>
[AttributeUsage(Attr... |
DependencyInjection/BastardInjection/_4_BastardInjection/ApplicationRoot.cs | grzesiek-galezowski/vanilla-dependency-injection | 0 | 7065882 | <reponame>grzesiek-galezowski/vanilla-dependency-injection<filename>DependencyInjection/BastardInjection/_4_BastardInjection/ApplicationRoot.cs
using BastardInjection._4_BastardInjection.Core;
namespace BastardInjection._4_BastardInjection
{
public class ApplicationRoot
{
public static void Main(string[... |
Chamber/Chamber.Web/Areas/Admin/Views/AdminRole/RoleIndex.cshtml | rajuchapagain/Chamber | 10 | 7065883 | <reponame>rajuchapagain/Chamber<gh_stars>1-10
@using Chamber.Domain.Constants
@using Chamber.Web.Application
@model Chamber.Web.Areas.Admin.ViewModels.MemberRoleListViewModel
@{
ViewBag.Title = "Roles";
Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}
<section id="inner-headline">
<div class="... |
src/Serialize.OpenXml.CodeGen/Extensions/TypeExtensions.cs | vtgrady2k/Serialize.OpenXml.CodeGen | 25 | 7065884 | /* MIT License
Copyright (c) 2020 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distrib... |
MultiSelectComboBox/MultiSelectComboBox/API/ISuggestionProvider.cs | safi-07/Multiselect-ComboBox | 0 | 7065885 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Sdl.MultiSelectComboBox.API
{
public interface ISuggestionProvider
{
Task<IList<object>> GetSuggestionsAsync(string criteria, CancellationToken cancella... |
src/AzureMapsControl.Components/Popups/PopupTemplate.cs | arnaudleclerc/blazor-azure-maps-controls | 15 | 7065886 | <reponame>arnaudleclerc/blazor-azure-maps-controls
namespace AzureMapsControl.Components.Popups
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json;
using System.Text.Json.Serialization;
using AzureMapsControl.Components.Atlas;
us... |
core/WebExpress.UI/WebControl/TypeLayoutFormular.cs | ReneSchwarzer/WebExpress | 0 | 7065887 | namespace WebExpress.UI.WebControl
{
/// <summary>
/// Die Layoutmöglichkeiten der Formulare
/// </summary>
public enum TypeLayoutFormular
{
Vertical,
Horizontal,
Mix
}
}
|
TD2/WebDynamic/ExternalExeCall/Program.cs | anagonousourou/eiin839 | 0 | 7065888 | using System;
using System.Diagnostics;
using System.IO;
using ExternalExeCall;
using Webserver.Generic;
class Program
{
static void Main()
{
IAnswerMaker maker = new ExeAnswerMaker();//implémentation de IAnswerMaker qui utilise un executable pour generer la réponse
WebServer server = new Web... |
WmcSoft.Data.SqlClient/SqlPartition.cs | vjacquet/WmcSoft | 3 | 7065889 | #region Licence
/****************************************************************************
Copyright 1999-2018 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it, subject
to the follow... |
src/Wellcome.Dds/Utils.Aws/S3/S3Storage.cs | wellcomecollection/iiif-builder | 1 | 7065890 | <filename>src/Wellcome.Dds/Utils.Aws/S3/S3Storage.cs<gh_stars>1-10
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Amazon.S3;
using Amazon.S3.Model;
using Microsoft.Extensions.Logging;
using Utils.Storage;
namespace Utils.Aws.S3
{
public class S3Storage : IStorage
{
... |
WorkDay/Features/TimeManagement/RemoveTimeOffCommand.cs | QuinntyneBrown/work-day | 2 | 7065891 | using MediatR;
using WorkDay.Data;
using WorkDay.Data.Models;
using WorkDay.Utilities;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System.Data.Entity;
namespace WorkDay.Features.TimeManagement
{
public class RemoveTimeOffCommand
{
public class RemoveTimeOffR... |
Checkmate/Assets/chess/Global/Controller/EffectController.cs | qaqgame/Checkmate | 0 | 7065892 | using Checkmate.Game.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Checkmate.Game.Controller
{
public abstract class EffectController:BaseController
{
public DataMap Temp=new DataMap(), Current=new DataMap();
... |
Asteroids/Assets/Scripts/Screenshot.cs | Pandinosaurus/unity-examples | 52 | 7065894 | using UnityEngine;
using System.Collections;
public class Screenshot : MonoBehaviour {
void Update() {
if (Input.GetKey (KeyCode.E)){
string filename = "screenshots/" + (Time.frameCount / 10) + ".png";
ScreenCapture.CaptureScreenshot(filename, 4);
}
}
}
|
src/Classes/DeliveryGroup.cs | rdefulio/PublishURLContent | 4 | 7065895 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PublishContent.Classes
{
class DeliveryGroup
{
public string Name { get; set; }
public string Description { get; set; }
public string... |
ParentedEntityRenderFix.cs | WheteThunger/ParentedEntityRenderFix | 0 | 7065896 | using Network;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using Oxide.Core;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Oxide.Plugins
{
[Info("Parented Entity Render Fix", "WhiteThunder", "0.1.0")]
[Description("Fixes bug where s... |
ZEngine/Engine/Events/RegisterActorParams.cs | FrostByteGER/ZEngine | 1 | 7065897 | using System;
using ZEngine.Engine.Game;
using ZEngine.Engine.Game.Level;
namespace ZEngine.Engine.Events
{
public class RegisterActorParams : EngineEventParams
{
public Actor RegisterableActor { get; set; }
public Level LevelRef { get; set; }
public RegisterActorParams(object instigator, Actor registerableA... |
CRM.OData/CRMManager.cs | kocyigitkim/CRM.OData | 1 | 7065898 | <reponame>kocyigitkim/CRM.OData<filename>CRM.OData/CRMManager.cs<gh_stars>1-10
using CRM.OData.DataTypes;
using CRM.OData.Layout;
using CRM.OData;
using CRM.OData;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Thr... |
WpfApp1/WpfApp1/VM/MainFrameViewModel.cs | github129/wpfCalender | 0 | 7065899 | <filename>WpfApp1/WpfApp1/VM/MainFrameViewModel.cs
// <copyright file="MainFrameViewModel.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace WpfApp1
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.