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
ValidnatorXSD/BL/DataFile.cs
andresnator/ValidnatorXSD
0
7062538
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml.Linq; using ValidnatorXSD.Const; using ValidnatorXSD.IC; using ValidnatorXSD.Models; namespace ValidnatorXSD.BL { public class DataFile { private readonly IConfig fileFeature; ...
demo/Ixq.Demo.Domain/ApplicationRoleManager.cs
zhk0603/ixq
5
7062539
using ixq.Demo.DbContext; using Ixq.Demo.Entities; using Ixq.Security.Identity; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; namespace Ixq.Demo.Domain { public class ApplicationRoleManager : AppRoleManager<Application...
Scripts/CameraControl.cs
oxters168/ProjectCastles
0
7062540
using UnityEngine; using System.Collections; public class CameraControl : MonoBehaviour { public Transform target; //public Vector3 defaultPosition = new Vector3(0, 5000, 0); //public Quaternion defaultRotation = Quaternion.Euler(90, 0, 0); public float distance = 300f; public float rotationStren...
src/MassTransit/Clients/ClientFactoryContext.cs
morganphilo/MassTransit
1
7062541
// Copyright 2007-2018 <NAME>, <NAME>, <NAME>, et. al. // // 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 appli...
Clase 04/Proyectos/XamarinFormsClase04/XamarinFormsClase04/Views/DetalleLugar.cs
starl1n/Xamarin.Forms-Samples-of-Clases
0
7062542
<filename>Clase 04/Proyectos/XamarinFormsClase04/XamarinFormsClase04/Views/DetalleLugar.cs using System; using Xamarin.Forms; using System.Diagnostics; namespace XamarinFormsClase04 { public class DetalleLugar : ContentPage { Place Data; PlaceViewModel viewModel; Entry Name = new Entry(), Latitude= new En...
Assets/Scripts/Logic/StateActions/DeclareAggressiveWarAction.cs
seahore/Sangjiagou
1
7062543
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace SangjiagouCore { /// <summary> /// 发动不义战行动 /// </summary> public class DeclareAggressiveWarAction : DeclareWarAction, IReportable<DeclareAggressiveWarAction.Report> { public new struct R...
NBean/Models/BeanRule.cs
miseeger/NBean
1
7062544
using System; namespace NBean.Models { public class BeanRule { public Func<Bean, bool> Test { get; set; } public string Message { get; set; } } }
Assets/Scripts/ScarGun.cs
AhmadAlrifa1/Shooter-Game
0
7062545
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScarGun : MonoBehaviour { public Transform spawnPoint; public GameObject bullet; public float speed = 5f; private void Update() { if(Input.GetMouseButton(0)) { ShootBullet(); ...
aspnet-core/src/Azmoon.Core/Localization/AzmoonLocalizationConfigurer.cs
mahdighorbanpour/Azmoon
0
7062546
<filename>aspnet-core/src/Azmoon.Core/Localization/AzmoonLocalizationConfigurer.cs using Abp.Configuration.Startup; using Abp.Localization.Dictionaries; using Abp.Localization.Dictionaries.Xml; using Abp.Reflection.Extensions; namespace Azmoon.Localization { public static class AzmoonLocalizationConfigurer { ...
Assets/Scripts/MyPCF.cs
M8s-Inc/M8s-Magic-Leap-Playground
0
7062547
<gh_stars>0 // %BANNER_BEGIN% // --------------------------------------------------------------------- // %COPYRIGHT_BEGIN% // // Copyright (c) 2019-present, Magic Leap, Inc. All Rights Reserved. // Use of this file is governed by the Developer Agreement, located // here: https://auth.magicleap.com/terms/developer // ...
WZcalculator/ZoneDimensions.Designer.cs
zaalj03a/WZcalculator
0
7062548
namespace WZcalculator { partial class ZoneDimensions { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
Painter/ShapeList.cs
lohas1107/painter
0
7062549
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace Painter { public class ShapeList { private List<Shape> _shapeList = new List<Shape>(); // 加入圖形 public void AddShape(Shape shape) { _shapeList.Add(s...
Assets/Baracuda/Monitoring.Example/Scripts/Projectile.cs
JohnBaracuda/Member-State-Monitoring
2
7062550
<gh_stars>1-10 // Copyright (c) 2022 <NAME> using System.Collections; using UnityEngine; using Random = UnityEngine.Random; namespace Baracuda.Monitoring.Example.Scripts { [RequireComponent(typeof(Rigidbody))] public class Projectile : MonoBehaviour { private Rigidbody _rigidbody; private f...
Assets/Scripts/ToggleTexture.cs
uicmcl/genuslab-vr
3
7062551
<reponame>uicmcl/genuslab-vr using System.Collections; using System.Collections.Generic; using UnityEngine; public class ToggleTexture : MonoBehaviour { public Material rt; private Material current; private Renderer r; // Use this for initialization void Start () { r = gameObject.GetComponent<Renderer>();...
Skill_Tulun_01.cs
moto2002/mobahero_src
4
7062552
<filename>Skill_Tulun_01.cs using System; public class Skill_Tulun_01 : Skill { public Skill_Tulun_01() { } public Skill_Tulun_01(string skill_id, Units self) : base(skill_id, self) { } }
Gherkin.Net/Gherkin/Test/Tools/Gherkin/StringExtensions.cs
erraticmotion/gherkin-net
0
7062553
<reponame>erraticmotion/gherkin-net<gh_stars>0 // <copyright file="StringExtensions.cs" company="Erratic Motion Ltd"> // Copyright (c) Erratic Motion Ltd. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> namespace ErraticMotion....
test/test7/UnitTest7.cs
yuzd/Autofac.Annotation
203
7062554
<reponame>yuzd/Autofac.Annotation using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Autofac.Annotation; using Autofac.Annotation.Test; using Autofac.Annotation.Test.test6; using Xunit; namespace Autofac.Configuration.Test.test7 { public class UnitTest7 { ...
MetadataExtractor/Util/DateUtil.cs
XelaNimed/metadata-extractor-dotnet
0
7062555
#region License // // Copyright 2002-2019 <NAME> // // 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...
src/NovaPoshta.Client/Models/Data/Address/UpdateContragentAddressData.cs
aknyr/nova-poshta-client
1
7062556
<reponame>aknyr/nova-poshta-client using System; using System.Collections.Generic; using System.Text; namespace NovaPoshta.Client.Models.Data.Address { public sealed class UpdateContragentAddressData { /// <summary> /// Contragent address id. /// </summary> public Guid Ref { ge...
2020/RemoveEmptyElevationTags/VS_RemoveEmptyElevationTags/Entry/CmdMain.cs
angelrps/ARP_Toolkit
3
7062557
<filename>2020/RemoveEmptyElevationTags/VS_RemoveEmptyElevationTags/Entry/CmdMain.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; using Autodesk.Revit.DB; using Autodesk.Revit.UI; using System.Windows.Media.Im...
src/Dataline.SocialInsurance.Germany.Messages.Pocos/UV/Beitragsmassstab.cs
dataline/SocialInsurance.Germany.Messages
2
7062558
// <copyright file="Beitragsmassstab.cs" company="DATALINE GmbH &amp; Co. KG"> // Copyright (c) DATALINE GmbH &amp; Co. KG. All rights reserved. // </copyright> namespace SocialInsurance.Germany.Messages.Pocos.UV { /// <summary> /// Der Massstab der Beiträge /// </summary> public enum Beitragsmassstab...
Business/Mappers/RecipeMapper.cs
mattiasnorell/elzar
0
7062559
<reponame>mattiasnorell/elzar using System; using System.Collections.Generic; using Elzar.DataAccess.Entites; using Elzar.Models; namespace Elzar.Business.Mappers{ public class RecipeMapper : IRecipeMapper { public Recipe ToDao(UpdateRecipeDto recipe) { if(recipe == null){ ...
BattleForSpaceResources/BattleForSpaceResources/Collision/Body.cs
Krogenit/bfsr-sharp
0
7062560
<reponame>Krogenit/bfsr-sharp using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BattleForSpaceResources.Collision { public class Body { public Vector2 position; public Vector2 velocity; public float angle; ...
NewLife.MQ/MQClient.cs
theseventhman/X
21
7062561
<filename>NewLife.MQ/MQClient.cs using System; using System.Threading.Tasks; using NewLife.Log; using NewLife.Net; using NewLife.Remoting; namespace NewLife.MessageQueue { /// <summary>MQ客户端</summary> public class MQClient : DisposeBase { #region 属性 /// <summary>名称</summary> ...
CSharpRaft/ConfigHelper.cs
godlet-cn/CSharpRaft
5
7062562
using Newtonsoft.Json; using System.Collections.Generic; using System.IO; using System.Text; namespace CSharpRaft { public static class ConfigHelper { /// <summary> /// Write server's configuration to file. /// </summary> /// <param name="server"></param> public static ...
src/LagoVista.UserAdmin/Interfaces/Managers/ITeamManager.cs
LagoVista/UserAdmin
0
7062563
<reponame>LagoVista/UserAdmin using LagoVista.Core.Models; using LagoVista.Core.Validation; using LagoVista.UserAdmin.Models.Orgs; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace LagoVista.UserAdmin.Interfaces.Managers { public interface ITeamManager ...
Chapter07/End/Assets/Scripts/Mover.cs
PacktPublishing/Unity-2020-By-Example
44
7062564
<reponame>PacktPublishing/Unity-2020-By-Example using UnityEngine; public class Mover : MonoBehaviour { public float Speed = 10f; void Update () { //Update object position transform.position += transform.forward * Speed * Time.deltaTime; } }
Changa/Changa/Services/IMapService.cs
Civeloo/Changa
1
7062566
using Xamarin.Forms.GoogleMaps; using Reactive.Bindings; using System.Threading.Tasks; namespace Changa.Services { public interface IMapService { ReadOnlyReactivePropertySlim<Map> MyMap { get; } Map MapToLocation(string loc); } }
ContactService.Test/ContactData.cs
Myerden/ContactApp
0
7062567
<filename>ContactService.Test/ContactData.cs using ContactService.Application.Dto; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ContactService.Test { public class ContactData { public ContactDto VALID = new ContactDto() ...
2048/Program.cs
helloworld89/2048Console
0
7062568
using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace _2048 { internal class Program { private static GameManager _gameManager = new GameManager(); private static Dictionary<ConsoleKey, DirectionEnum> _consoleKeyDic = new Dictionary<ConsoleKey, D...
Refugiados/Refugiados/obj/Debug/net5.0/Razor/Views/odonto/odonto.cshtml.g.cs
Ari-jr/recode-proj_refugiados
0
7062569
#pragma checksum "/home/mamona/Desktop/recode/recode-proj_refugiados/Refugiados/Refugiados/Views/odonto/odonto.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0b78c8ea18299a124aa2912cdf9784e0bae743b4" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiled...
RingCentral/Definitions/ShippingResource.cs
ringcentral/ringcentral-csharp-client
25
7062570
<reponame>ringcentral/ringcentral-csharp-client namespace RingCentral { public partial class ShippingResource { // public EmergencyServiceAddressResource @address { get; set; } // public MethodResource @method { get; set; } // public string @status { get; set; } ...
.Helpers/.PathService.cs
KamilSzymborski/MailSenders
0
7062571
using Net = System.IO; namespace KamilSzymborski.MailSenders { internal static class PathService { #region Methods internal static string GetFileName(string Path) { return Net.Path.GetFileName(Path); } internal static string GetFileExtension(string Path) ...
source/Features/AccuracyEffects/AccuracyEffectsFeature.cs
17783/MechEngineer
0
7062572
using BattleTech; using MechEngineer.Features.DynamicSlots; using MechEngineer.Features.LocationalEffects; namespace MechEngineer.Features.AccuracyEffects { internal class AccuracyEffectsFeature : Feature<AccuracyEffectsSettings> { internal static AccuracyEffectsFeature Shared = new AccuracyEffectsFeat...
src/old/test/PatternPA.Test.Utils/GZipHelperTest.cs
o-mdr/pa-pattern-complexity
0
7062573
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; using PatternPA.Test.Utils._7zip; namespace PatternPA.Test.Utils { [TestFixture] public class GZipHelperTest : AbstractUtilsTest { private int sequenceLenght = 100; private string tmpFilePath; p...
TransportsNantais/Models/LastStop.cs
mpapillon/NantesTramBus
0
7062574
<reponame>mpapillon/NantesTramBus using SQLite; using System.Xml.Serialization; namespace TransportsNantais.Models { public class LastStop : ObservableModel { private int _id; private string _name; [XmlAttribute("Id")] [PrimaryKey] public int LastStopId { ...
VendorTracker/Views/Shared/_Layout.cshtml
romankolivashko/OrderTrackingApp
0
7062575
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Sales Tracking!</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <link rel="stylesheet" href="https://unpkg.com/98.css@0.1.4/build/98.css" /> <link rel="stylesheet" href="~/css/s...
SitecoreBlazor/SitecoreBlazorHosted.Shared/Models/IBlazorField.cs
OsvaldoMartini/Blazor_Projects
0
7062577
using System; using System.Collections.Generic; using System.Text; namespace SitecoreBlazorHosted.Shared.Models { public interface IBlazorField { string FieldName { get; set; } } }
Src/Clide/Solution/IProjectConfiguration.cs
Acidburn0zzz/clide
0
7062578
#region BSD License /* Copyright (c) 2012, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
SunnyFarm/Controllers/ShopsController.cs
StelaKaneva/SunnyFarm
3
7062579
<reponame>StelaKaneva/SunnyFarm namespace SunnyFarm.Controllers { using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using SunnyFarm.Models.Shops; using SunnyFarm.Services.Shops; using static Areas.Admin.AdminConstants; public class ShopsController : Controller { ...
FoundationDB.Storage.Memory.Test/Program.cs
BedeGaming/foundationdb-dotnet-client
1
7062580
<filename>FoundationDB.Storage.Memory.Test/Program.cs #region Copyright (c) 2013-2014, Doxense SAS. All rights reserved. // See License.MD for license information #endregion namespace FoundationDB.Storage.Memory { using System; using FoundationDB.Storage.Memory.API.Tests; using FoundationDB.Storage.Memory.Core.Tes...
indexmyphotos/indexmyphotos/Windows/ViewModel/MainWindowVM.cs
henkwh/indexmyphotos-v2
0
7062581
<filename>indexmyphotos/indexmyphotos/Windows/ViewModel/MainWindowVM.cs using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using indexmyphotos.Base; using indexmyphotos.Controls.ViewMod...
SushiBotCSharp/Models/TalkSkill.cs
pierre3/sushi-bot-csharp
0
7062582
using Line.Messaging; using System.Collections.Generic; namespace SushiBotCSharp { public abstract class TalkSkill { public string Name { get; set; } public IList<ISendMessage> ReplyMessages { get; } public IReadOnlyDictionary<string, TalkParameter> RequierdParameters { get; protected s...
Meridian/ViewModel/Common/PlaylistsListViewModel.cs
killdns/meridian-uwp
19
7062583
using Jupiter.Mvvm; using Meridian.Interfaces; using Meridian.View.Compact.Vk; using System.Collections.Generic; using Windows.UI.Xaml.Navigation; namespace Meridian.ViewModel.Common { public class PlaylistsListViewModel : ViewModelBase { private List<IPlaylist> _playlists; #region Commands ...
Assets/Scripts/AnimalsMoving.cs
autoshgame/Create-With-Code-Unit2
1
7062584
<filename>Assets/Scripts/AnimalsMoving.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class AnimalsMoving : MonoBehaviour { [SerializeField] protected GameObject animals; [SerializeField] protected float speed = 10f; protected float topBound = 23f; protected f...
Features/IntegrationPlatform-svn/Test/MigrationTest/MigrationTestLibrary/Interfaces/IVCTestCaseAdapter.cs
adamdriscoll/TfsIntegrationPlatform
6
7062585
<filename>Features/IntegrationPlatform-svn/Test/MigrationTest/MigrationTestLibrary/Interfaces/IVCTestCaseAdapter.cs<gh_stars>1-10 // Copyright © Microsoft Corporation. All Rights Reserved. // This code released under the terms of the // Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) us...
src/Core/Conventional/Extensions/EnumerableExtensions.cs
clintonturner/Conventional
92
7062586
using System; using System.Collections.Generic; using System.Linq; namespace Conventional.Extensions { public static class EnumerableExtensions { public static bool None<T>(this IEnumerable<T> collection, Func<T, bool> predicate) { return collection.Any(predicate) == false; ...
BlueCloud.Extensions/Data/IDbConnectionExtensions.cs
zenkimoto/bluecloud.extensions
0
7062587
<reponame>zenkimoto/bluecloud.extensions<filename>BlueCloud.Extensions/Data/IDbConnectionExtensions.cs using System; using System.Data; using System.Collections.Generic; using System.Linq; using BlueCloud.Extensions.Assembly; namespace BlueCloud.Extensions.Data { /// <summary> /// Extension Methods for System...
project/Scripts/Grid/Repositories/MapRepository.cs
Zanice/2D-Game-Framework
0
7062588
using UnityEngine; using System; using System.Collections; public class MapRepository : Singleton<MapRepository> { private string currentFile; private string data; private string line; private int[,] mapData; public MapRepository() { mapData = new int[,] {}; } /// <summary> /...
Fx.Tests/EitherTests.cs
PaulWild/FX
0
7062589
using System; using Xunit; namespace Fx.Tests { public class EitherTests { [Fact] public void EitherStringOrInt_WithString_CanBeCreated() { var sut = Either<int, string>.Right("hello"); var result = sut.Match(x => throw new Exception(), x => x); ...
PipeVision.Web/Models/TestViewModel.cs
MHanafy/PipeVision
0
7062590
<reponame>MHanafy/PipeVision<filename>PipeVision.Web/Models/TestViewModel.cs using System; using System.Collections.Generic; namespace PipeVision.Web.Models { public class TestViewModel { /// <summary> /// Returns the test name only without the name space. /// </summary> public...
ProtoType/CM/CM/Server/Migrations/CurrentStateDatabase/20211025202616_CompleteTheCurrentStateModels.cs
omarwasfi/CM
0
7062591
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace CM.Server.Migrations.CurrentStateDatabase { public partial class CompleteTheCurrentStateModels : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( ...
Source/WbTstr.Testbed/Views/Login/Index.cshtml
wbtstr/wbtstr-testbed
0
7062592
<div class="container"> <nav class="navbar" role="navigation" aria-label="dropdown navigation"> <div class="navbar-start"> <div class="navbar-item has-dropdown is-hoverable"> <span class="navbar-link"> Menu </span> <div class="...
source/Assets/Scripts/PlayerMovement.cs
zerotwooneone/FantasyFootball
0
7062593
<filename>source/Assets/Scripts/PlayerMovement.cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : HubParticipantBehavior { public Rigidbody2D body; public float speedFactor = 100f; private const float speedSanityFactor = ...
YourDictionaries.EntityFramework/DataServices/Interfaces/IDictionaryDataService.cs
cmd-E/Your-Dictionaries
0
7062594
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using YourDictionaries.Domain.Models; namespace YourDictionaries.EntityFramework.DataServices.Interfaces { public interface IDictionaryDataService : IDataService<Dictionary> { Task<IEnumerable<Dictionary>>...
DigitalLearningSolutions.Data.Tests/Services/CryptoServiceTests.cs
TechnologyEnhancedLearning/DLSV2
2
7062596
<filename>DigitalLearningSolutions.Data.Tests/Services/CryptoServiceTests.cs namespace DigitalLearningSolutions.Data.Tests.Services { using DigitalLearningSolutions.Data.Services; using NUnit.Framework; public class CryptoServiceTests { private ICryptoService cryptoService; [...
netCoreAPITest/netCoreAPI.Tests/Controllers/PersonalCustomControllerTests.cs
msx752/sample-netcore-api
1
7062597
<filename>netCoreAPITest/netCoreAPI.Tests/Controllers/PersonalCustomControllerTests.cs using CustomImageProvider.Tests; using netCoreAPI.Model.Dtos; using netCoreAPI.Model.ResponseModels; using System.Linq; using System.Net; using System.Threading.Tasks; using Xunit; namespace netCoreAPI.Tests.Controllers { publi...
ValidationHelper/ValidationHelper/ValidationInfo.cs
jasdefer/ValidationHelper
0
7062598
<reponame>jasdefer/ValidationHelper namespace ValidationHelper; /// <summary> /// The ValidationInfo contains collection of errors. If no errors are provided the reponse is valid. /// </summary> public class ValidationInfo { private readonly List<string> errors = new(); private readonly List<string> warnings ...
test/IbanNet.Extensions.Bban.Tests/CheckDigits/Calculators/NibCheckDigitsCalculatorTests.cs
skwasjer/IbanNet.Extensions.Bban
1
7062599
using System; using System.Collections.Generic; using FluentAssertions; using IbanNet.CheckDigits.Calculators; using Xunit; namespace IbanNet.Extensions.Bban.CheckDigits.Calculators { public class NibCheckDigitsCalculatorTests { private readonly NibCheckDigitsCalculator _sut; public NibCheckD...
src/Models/HtmlAttributes/Specific/HtmlCheckedAttribute.cs
atanasgalchov/AgileDotNetHtml
0
7062600
<reponame>atanasgalchov/AgileDotNetHtml using AgileDotNetHtml.Attributes; namespace AgileDotNetHtml.Models.HtmlAttributes { [HtmlAttributeClass("checked", new string[] { "input" })] public class HtmlCheckedAttribute : HtmlAttribute { /// <summary> /// Initialize a new instance of AgileDotNetHtml.Models.HtmlAtt...
data/FPSGameplay/tropical/art/skies/KapSkyOvercast02/materials.cs
Torque3D-Games-Demos/T3D_Ron_Demos
0
7062601
singleton Material(KapSkyOvercast) { mapTo = "unmapped_mat"; materialTag0 = "KapSkys"; cubemap = "KapSkyOvercast02"; }; new CubemapData(KapSkyOvercast02) { cubeFace[0] = "./OcastRight.jpg"; cubeFace[1] = "./OcastLeft.jpg"; cubeFace[2] = "./OcastBack.jpg"; cubeFace[3] = "./OcastFront.jpg"; cubeF...
Client/Assets/Plugins/GF.Unity.Common/Node/NodeMgr.cs
gaoshangguo/Fishing
3
7062602
<reponame>gaoshangguo/Fishing<filename>Client/Assets/Plugins/GF.Unity.Common/Node/NodeMgr.cs using System; using System.Collections.Generic; using System.Collections; using System.Text; using EventDataXML; using GF.Unity.Common; public class CNodeMgr : IDisposable { //---------------------------------------------...
Game/Game/Bonuses.cs
evilferb/xnagamesample
0
7062603
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Content; using System; namespace Game { public class Bonuses { SpriteBatch spriteBatch; GameObject[,] bonus; Random rand = new Random(); int[,] bonusBoard; int h, w; ...
TycoonCoasterRoller/Assets/Scripts/Model/People/Employee.cs
beszteribalazs/TycoonCoaster-Roller
2
7062604
using System.Collections; using System.Collections.Generic; using System.Diagnostics; using UnityEngine; public class Employee : Person { protected float price; protected float salary; protected const float SALARYMULTIPLIER = 0.1f; protected Employee() { } protected override void Awake()...
WBBModules/School/WBBvNext.School.Test/MajorApiTest.cs
guanhh/wbbvnext
0
7062605
using Microsoft.AspNetCore.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalkingTec.Mvvm.Core; using WBBvNext.School.Controllers; using WBBvNext.ViewModel._Major.MajorVMs; using WBBvNext.School.Model; using WBBvNext....
OniExtract/BColor.cs
simonlourson/OniExtract2020
1
7062606
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace OniExtract2 { public class BColor { public float r; public float g; public float b; public float a; public BColor(Color c) { ...
src/IL2C.Core.Test.ILConverters/Call/Call.cs
kekyo/IL2C.InlineIL-Migration
325
7062607
<reponame>kekyo/IL2C.InlineIL-Migration ///////////////////////////////////////////////////////////////////////////////////////////////// // // IL2C - A translator for ECMA-335 CIL/MSIL to C language. // Copyright (c) 2016-2019 <NAME> (@kozy_kekyo, @kekyo2) // // Licensed under the Apache License, Version 2.0 (the "Lic...
TrainSchdule/ViewModels/Apply/ApplyAuditStream/StreamSolutionRuleViewModel.cs
serfend/Project.Web.SfMVC.TrainSchdule.1903
3
7062608
<filename>TrainSchdule/ViewModels/Apply/ApplyAuditStream/StreamSolutionRuleViewModel.cs<gh_stars>1-10 using BLL.Helpers; using DAL.DTO.Apply.ApplyAuditStreamDTO; namespace TrainSchdule.ViewModels.Apply.ApplyAuditStream { /// <summary> /// /// </summary> public class StreamSolutionRuleViewModel : ApiRe...
portfolio/2008/BugsBugs/BugsBgus/MainForm.cs
und3rs/resume
0
7062609
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace BugsBugs { public partial class mainForm : Form { public mainForm() { InitializeC...
POClubs/Models/Contract.cs
larshittu/Club
0
7062610
<filename>POClubs/Models/Contract.cs using System; using System.Collections.Generic; // Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled. // If you have enabled NRTs for your project, then un-comment the following line: // #nullable disable namespace POClubs.Models { pu...
TerraMesh/TerraMesh.Generator.cs
phildo77/ioTerraMapGen
1
7062611
using System; using System.Collections.Generic; using System.Linq; using ioSS.Delaunay; using ioSS.Util; using ioSS.Util.Maths; using ioSS.Util.Maths.Geometry; namespace ioSS.TerraMapLib { public partial class TerraMap { public partial class TerraMesh { ...
src/VaultSharp/V1/SecretsEngines/GoogleCloudKMS/VerificationOptions.cs
konidev20/VaultSharp
361
7062613
using Newtonsoft.Json; namespace VaultSharp.V1.SecretsEngines.GoogleCloudKMS { /// <summary> /// Verification input. /// </summary> public class VerificationOptions { /// <summary> /// Integer version of the crypto key version to use for verifying. /// </summary> [...
Acrux1Tools.Web/Models/AcruxPayloads/DecodeViewModel.cs
MelbourneSpaceProgram/Acrux1Tools
0
7062614
<filename>Acrux1Tools.Web/Models/AcruxPayloads/DecodeViewModel.cs<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Acrux1Payloads; using Acrux1Tools.Web.Helpers; using Acrux1Tools.Web.Models.Telemetry; namesp...
PerformanceExample/Assets/MeshBaker/scripts/Editor/MB3_MeshBakerGrouperEditor.cs
lmj921/PerformanceExample
0
7062615
<reponame>lmj921/PerformanceExample<filename>PerformanceExample/Assets/MeshBaker/scripts/Editor/MB3_MeshBakerGrouperEditor.cs<gh_stars>0 //---------------------------------------------- // MeshBaker // Copyright © 2011-2012 <NAME> //---------------------------------------------- using UnityEngine; using...
MangaViewer-Zip/App.xaml.cs
Leayal/MangaViewer
0
7062616
<reponame>Leayal/MangaViewer using ControlzEx.Theming; using Microsoft.Win32; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace MangaViewer_Zip { /// <summary> /// Interaction logic fo...
CSharp MVC Frameworks - ASP.NET Core/ChameleonStore/ChameleonStore.Common/SeedDtoModels/BrandDto.cs
ilyogri/SoftUni
4
7062617
<filename>CSharp MVC Frameworks - ASP.NET Core/ChameleonStore/ChameleonStore.Common/SeedDtoModels/BrandDto.cs namespace ChameleonStore.Common.SeedDtoModels { public class BrandDto { public string Name { get; set; } } }
OldSamples/Tutorial/Tutorial.UI.Droid/Controls/PullToRefresh/RefreshingState.cs
tuke307/MvvmCross-Samples
347
7062618
using Android.Views; namespace Tutorial.UI.Droid.Controls.PullToRefresh { public class RefreshingState : IScrollingState { #region IScrollingState Members public bool TouchStopped(MotionEvent motionEvent, PullToRefreshComponent pullToRefreshComponent) {...
App/NSGA-II-Algorithm/NSGA_Tests/NonDominatingSortTests.cs
TUIASI-AC-enaky/NSGA-2
1
7062619
<gh_stars>1-10 using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSGA_II_Algorithm.implementations; using NSGA_II_Algorithm.models; namespace NSGA_Tests { [TestClass] public class NonDominatingSortTests { [TestMethod] public void NonD...
SwmSuite.Framework.BusinessObjects/MessageFolder.cs
Djohnnie/SwmSuite-Original
0
7062620
<reponame>Djohnnie/SwmSuite-Original using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; using SwmSuite.Data.Common; namespace SwmSuite.Data.BusinessObjects { /// <summary> /// Class defining a folder that contains messages and subfolders. /// </summary> [Serializa...
NPSteam/NPSteam/MainWindow.xaml.cs
neropsys/NPSteam
0
7062621
using System.Diagnostics; using System.Management; using System; using System.Text.RegularExpressions; using System.Windows.Media.Imaging; using System.Windows; using System.Windows.Media; using System.Windows.Interop; using System.Windows.Threading; using System.Drawing; //(?!-pid)(\d+)\w //regex for parsing pid nam...
src/Orbital7.Extensions/SerializableTuple.cs
jvaneikeren/orbital7.extensions
3
7062622
<reponame>jvaneikeren/orbital7.extensions using System; using System.Collections.Generic; using System.Text; namespace System { public class SerializableTuple<T1, T2> { public T1 Item1 { get; set; } public T2 Item2 { get; set; } public string Tag { get; set; } public Seriali...
CodecoolQuest/Models/MapLoader.cs
JoannaTruszczynska/CodecoolQuest
0
7062623
using System; using System.Collections.Generic; using System.Diagnostics; using Codecool.Quest.Models.Actors; using System.IO; using System.Runtime.InteropServices; using Codecool.Quest.Models.Things; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace...
NewsSystem/NewsSystem.Data.ViewModels/Search/SearchViewModel.cs
yasenm/NewsSystem
1
7062624
namespace NewsSystem.Data.ViewModels.Search { public abstract class SearchViewModel { public string Tags { get; set; } public string Text { get; set; } } }
WayVid/Infrastructure/Interfaces/Service/IUserService.cs
Meleron/WayVid
0
7062625
<filename>WayVid/Infrastructure/Interfaces/Service/IUserService.cs using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using WayVid.Database; using WayVid.Database.Entity; using WayVid.Infrastructure.Extras; using WayVid.Infr...
Source/Fluxor/DependencyInjection/EffectClassInfo.cs
Teknikaali/Fluxor
0
7062626
using System; namespace Fluxor.DependencyInjection { internal class EffectClassInfo { public readonly Type ImplementingType; public EffectClassInfo(Type implementingType) { ImplementingType = implementingType; } } }
C#/C# Advanced/C# Advanced/02. Multidimensional Arrays/EXERCISE/10. Radioactive Mutant Vampire Bunnies/StartUp.cs
AntoniyaIvanova/SoftUni
0
7062627
<reponame>AntoniyaIvanova/SoftUni namespace _10._Radioactive_Mutant_Vampire_Bunnies { using System; using System.Collections.Generic; using System.Linq; public class StartUp { public static void Main() { int[] size = Console.ReadLine() .S...
eFormApi.BasePn/Infrastructure/Models/Application/PluginGroupPermissionsListModel.cs
microting/eFormApi.BasePn
0
7062628
namespace Microting.eFormApi.BasePn.Infrastructure.Models.Application { using System.Collections.Generic; public class PluginGroupPermissionsListModel { public int GroupId { get; set; } public ICollection<PluginGroupPermissionModel> Permissions = new List<PluginGroupPermissionModel>(); ...
Sample.Android/MainActivity.cs
MisterJimson/XamarinSwipeActionAdapter
0
7062629
using System; using Android.App; using Android.OS; using Com.Wdullaer.Swipeactionadapter; using Android.Widget; using System.Collections.Generic; using Android.Views; namespace Sample.Android { [Activity(Label = "Sample.Android", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : ListA...
SoftwareC#/Technolife/SQLConnectionClass.cs
KaganCanSit/TECHNOLIFE
0
7062630
<filename>SoftwareC#/Technolife/SQLConnectionClass.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; namespace Technolife { class SqlConnect { public SqlConnection Connect() { SqlConn...
Source/JR.FinancialManager.Core/Data/Helpers/PagedExtension.cs
bgaprogrammer/zemogacodetest
0
7062631
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AutoMapper.QueryableExtensions; namespace JR.FinancialManager.Core.Data.Helpers { public static class PagedExtension { public static PagedResult<U> GetPaged<T, U>(this IQueryable<T> query, int page, int pageSiz...
BankOnlineTransfer.API/Controllers/BookTransferController.cs
Abdelrahman912/Functional.CSharp
0
7062632
<reponame>Abdelrahman912/Functional.CSharp using Functional.Core; using Functional.Core.DTOS; using Functional.Core.Errors; using Functional.Core.Extensions; using Microsoft.AspNetCore.Mvc; using OnlineBank.Core.Domain.Entities; using OnlineBank.Core.Domain.Errors; using System; using System.Text.RegularExpressions; u...
deploy/Views/ParamUsuarios/Edit.cshtml
pedroren/gastosappvue
0
7062633
@model GastosAppCore.Domain.ParamUsuario @{ ViewBag.Title = "Edit"; } <script type="text/javascript"> $(document).ready(function () { function calculaSalHoraReal() { var salrecibido, horastrabajadas, gastostrabajo, horasgastadas, salhorareal; salrecibido = Number($('[name=SalarioRecibido]').v...
Rules.Tests.Integration/ReleaseBranchesProtectedByPoliciesTests.cs
azure-devops-compliance/rules
3
7062634
using System; using System.Linq; using System.Threading.Tasks; using NSubstitute; using Polly; using SecurePipelineScan.VstsService; using SecurePipelineScan.VstsService.Requests; using Shouldly; using Xunit; namespace AzureDevOps.Compliance.Rules.Tests.Integration { public class ReleaseBranchesProtectedByPolicies...
Engine.WindowsForms/Objects/VectorGraphic.cs
Shkyrockett/engine
4
7062635
<gh_stars>1-10 // <copyright file="VectorGraphic.cs" company="Shkyrockett" > // Copyright © 2005 - 2020 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license inform...
AJANAgent.cs
aantakli/AJAN-MOSIM-unity
1
7062636
<filename>AJANAgent.cs /* * Created on Tue Nov 10 2020 * * The MIT License (MIT) * Copyright (c) 2020 <NAME> (German Research Center for Artificial Intelligence, DFKI). * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "So...
src/Delta.CertXplorer.Core/UI/Actions/UIActionTargetDescriptor.cs
odalet/CertXplorer
6
7062637
<reponame>odalet/CertXplorer /* * Grabbed from <NAME>' Actions * see http://blogs.ugidotnet.org/crad/articles/38329.aspx * Original namespace: Crad.Windows.Forms.Actions * License: Common Public License Version 1.0 * */ using System; using System.Reflection; using System.Collections.Generic; namespace Delta....
acme/DataAccessLayer/Interface/MasterSetup/ICurrency.cs
ajaykucse/LaraApp
0
7062638
<filename>acme/DataAccessLayer/Interface/MasterSetup/ICurrency.cs using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataAccessLayer.Interface.MasterSetup { public interface ICurrency { DataAccessLayer.Master...
MOE.Common/Models/Repositories/MeasuresDefaultsRepository.cs
avenueconsultants/ATSPM
0
7062639
using System; using System.Collections.Generic; using System.Linq; namespace MOE.Common.Models.Repositories { public class MeasuresDefaultsRepository : IMeasuresDefaultsRepository { private readonly SPM _db; public MeasuresDefaultsRepository() { _db = new SPM(); } ...
src/NHSD.GPIT.BuyingCatalogue.WebApp/Areas/Admin/Views/HostingTypes/DeleteHostingType.cshtml
nhs-digital-gp-it-futures/GPITBuyingCatalogue
0
7062640
@using EnumsNET; @model NHSD.GPIT.BuyingCatalogue.WebApp.Areas.Admin.Models.HostingTypeModels.DeleteHostingTypeConfirmationModel @{ ViewBag.Title = $"Delete {Model.HostingType.AsString(EnumFormat.DisplayName)!.ToLowerInvariant()}?"; } <partial name="Partials/_BackLink" model="Model" /> <div class="nhsuk-grid-row"...
Hippo/Models/Collaboration.cs
nitishm/hippo
1
7062641
<filename>Hippo/Models/Collaboration.cs using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; namespace Hippo.Models { [SuppressMessage("", "CA1724", Justification = "Come on, the P2P namespace? Really?")] public class Collaboration : BaseEntity { [Required] pu...