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 |
|---|---|---|---|---|
JJ.TryThingsOut.MonoCross/MonoCross 1.2 Utilities/Serialization/BaseSerializer.cs | jjvanzon/JJ.TryOut | 0 | 7069062 | using MonoCross.Utilities;
using System.Collections.Generic;
using MonoCross.Utilities.Network;
namespace MonoCross.Utilities.Serialization
{
public abstract class BaseSerializer<T>
{
#region Base SerializeObject Methods
public virtual string SerializeObject( T obj )
{
retu... |
src/Amusoft.PCR.Blazor/Extensions/UIExtensions.cs | taori/PCRemote2 | 1 | 7069063 | using System.Threading.Tasks;
using Microsoft.JSInterop;
namespace Amusoft.PCR.Blazor.Extensions
{
public class UIExtensions
{
private readonly IJSRuntime _jsRuntime;
public UIExtensions(IJSRuntime jsRuntime)
{
_jsRuntime = jsRuntime;
}
public ValueTask<string> Prompt(string message, string watermark... |
AppDAC/EIS.DataModel.Access/_Catalog.cs | chen1993nian/CPMPlatform | 0 | 7069064 | using EIS.AppBase;
using EIS.DataAccess;
using EIS.DataModel.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
namespace EIS.DataModel.Access
{
public class _Catalog
{
public _Catalog()
{
}
public int Add(Catalog ... |
Src/CustomVisionEngine/Shared/Models/ModelType.cs | DotNetToscana/CustomVisionCompanion | 25 | 7069065 | <filename>Src/CustomVisionEngine/Shared/Models/ModelType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plugin.CustomVisionEngine.Models
{
public enum ModelType
{
General,
Landmarks,
Retail
}
}
|
com/netfx/src/framework/data/system/data/common/datatablemappingconverter.cs | npocmaka/Windows-Server-2003 | 17 | 7069066 | //------------------------------------------------------------------------------
// <copyright file="DataTableMappingConverter.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------... |
C# Advanced/LINQ - Lab/7. Bounded Numbers/BoundedNumbers.cs | Rusev12/Software-University-SoftUni | 91 | 7069067 | <reponame>Rusev12/Software-University-SoftUni
namespace _7.Bounded_Numbers
{
using System;
using System.Linq;
public class BoundedNumbers
{
public static void Main()
{
var boundaries = Console.ReadLine()
.Split()
.Select(int.Parse)
... |
RectangleFactory.cs | jsanjuan2016/DynamicDI-params | 0 | 7069068 | <filename>RectangleFactory.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace CompositionAndDI
{
public class RectangleFactory : IShapeFactory<Rectangle>
{
public RectangleFactory()
{
}
public IShape CreateShape(IShapeParameters parameters)
... |
Demo.Framework/Resources.cs | fealty/Frost | 3 | 7069069 | // Copyright (c) 2012, <NAME>
// All rights reserved.
//
// See LICENSE for more information.
using System;
using System.Diagnostics.Contracts;
using System.Drawing;
using Frost;
using Frost.Surfacing;
using Color = Frost.Color;
using Size = Frost.Size;
namespace Demo.Framework
{
public static class Resources
{... |
Project Dungeon/Assets/Scripts/Ability System/Practice/PracticeLog.cs | HaloSeventy7/CI-Project-GitHub | 0 | 7069070 | <reponame>HaloSeventy7/CI-Project-GitHub<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//The actual ability
public class PracticeLog : MonoBehaviour
{
[HideInInspector] public int pretendDamage = 1; //hidden in inspector because we don't want these values to be changed i... |
WindowsFormsApp1/WindowsFormsApp1/Interface/interfaceEx1.cs | victorvelepucha/OOExample | 0 | 7069071 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp1.Interface
{
// A simple interface
interface interface1
{
// method having only declaration
// not definition
void show();
}
//... |
src/MigrationEngine/Implementations/Sql/SqlDatabase.cs | pitermarx/MigrationEngine | 0 | 7069072 | <reponame>pitermarx/MigrationEngine<gh_stars>0
using System;
using System.Data.Common;
using Microsoft.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Logging;
using MigrationEngine.Core;
using MigrationEngine.Implementat... |
mcs/ilasm/codegen/EventDef.cs | lefb766/mono | 469 | 7069073 | <reponame>lefb766/mono<filename>mcs/ilasm/codegen/EventDef.cs
//
// Mono.ILASM.EventDef
//
// Author(s):
// <NAME> (<EMAIL>)
//
// (C) 2003 <NAME>, All right reserved
//
using System;
using System.Collections;
namespace Mono.ILASM {
public class EventDef : ICustomAttrTarget {
private Featu... |
Source/SLaB.Utilities.Xaml.Serializer/Tuple.cs | OpenSilver/OpenSilver.SLaB | 0 | 7069074 |
namespace System
{
/// <summary>
/// Represents a pair of items.
/// </summary>
/// <typeparam name="T1">The type of item1.</typeparam>
/// <typeparam name="T2">The type of item2.</typeparam>
public class Tuple<T1, T2>
{
/// <summary>
/// Initializes a new instance of the ... |
Projects/5x7dotFontSender/ComPortForm.cs | tarosay/5x7dotfont2microbit | 0 | 7069075 | <reponame>tarosay/5x7dotfont2microbit
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Management;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _5x7dotFontSender
{
public ... |
TraceViewer/FilterDlg.cs | xiaoxstz/qtrk | 1 | 7069076 | <filename>TraceViewer/FilterDlg.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TraceViewer
{
public partial class FilterDlg : Form
{
ViewTraceDlg.BeadInfo[] beadIn... |
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Input/InputScopeNameValue.cs | ashishpatelcs/uno | 2 | 7069077 | <filename>src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Input/InputScopeNameValue.cs
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Input
{
#if false || false || false || false || false
#if false || false || false || false || false
[global... |
_tests/core/bam.net.services.core.tests/DataReplicationTests.cs | BryanApellanes/Bam.Net.Core | 2 | 7069078 | <filename>_tests/core/bam.net.services.core.tests/DataReplicationTests.cs
using Bam.Net.CommandLine;
using Bam.Net.CoreServices;
using Bam.Net.Logging;
using Bam.Net.Services.DataReplication;
using Bam.Net.Testing;
using Bam.Net.Testing.Unit;
using System;
using System.Collections.Generic;
using System.IO;
using Syste... |
Craftsman/Models/ApiEnvironment.cs | aleksmudric/craftsman | 1 | 7069079 | <reponame>aleksmudric/craftsman<filename>Craftsman/Models/ApiEnvironment.cs
namespace Craftsman.Models
{
using System;
using System.Collections.Generic;
public class ApiEnvironment
{
private string _environmentName;
public string EnvironmentName {
get => _environmentName;
... |
LocalParks.Core/Domain/Supervisor.cs | OwenSteele/LocalParks | 2 | 7069080 | <filename>LocalParks.Core/Domain/Supervisor.cs
using System;
namespace LocalParks.Core.Domain
{
public class Supervisor
{
public int SupervisorId { get; set; }
public Park Park { get; set; }
public int ParkRef { get; set; }
public string FirstName { get; set; }
public s... |
PSnappy/Dataset/IDatasetWriter.cs | longpshorn/PSnappy | 0 | 7069081 | <gh_stars>0
using System.Threading.Tasks;
namespace PSnappy
{
public interface IDatasetWriter
{
void Reset(string server, string database);
Task SaveAsync(string server, string database);
}
}
|
CSharp/Fundamentals/IUnionFInd.cs | dvancuyk/algorithms | 0 | 7069082 | namespace Fundamentals
{
public interface IUnionFind
{
/// <summary>
/// Returns the number of connected components.
/// </summary>
int Count { get; }
/// <summary>
/// Joins the two points together.
/// </summary>
/// <param name="p"... |
EDEngineer.Tests/LogParsingTests.cs | Tigir/EDEngineer | 1 | 7069083 | using System;
using Moq;
using NFluent;
using NUnit.Framework;
namespace EDEngineer.Tests
{
[TestFixture]
public class LogParsingTests
{
[Test]
public void SampleTest()
{
var flag = false;
// mocking interfaces:
var disposable = new Mock<IDispos... |
src/Core/Rye.Web/Attribute/SecurityAttribute.cs | zzq424/Monica | 6 | 7069084 | <gh_stars>1-10
using System;
namespace Rye.Web
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class SecurityAttribute : Attribute
{
public SecurityAttribute(bool decryptRequestBody = true, bool encryptResponseBody = true)
... |
Assets/Resources/Scripts/ObjectManagement/Collisions/PlayerCollision.cs | EthanGrahn/Mousetrap | 0 | 7069085 | <gh_stars>0
using UnityEngine;
public class PlayerCollision : MonoBehaviour
{
private float distToGround;
private float distToSide;
void Start()
{
// Bounds of object
distToGround = GetComponent<Collider>().bounds.extents.y;
distToSide = GetComponent<Collider>().bounds.extents.... |
src/FaceRecognitionDotNet.Front/Services/FaceRegistrationService.cs | takuya-takeuchi/FaceRecognitionDotNet.Server | 5 | 7069086 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using FaceRecognitionDotNet.Client.Api;
using FaceRecognitionDotNet.Client.Model;
using FaceRecogni... |
Dependinator/Common/ProgressHandling/ProgressService.cs | michael-reichenauer/Dependinator | 6 | 7069087 | <reponame>michael-reichenauer/Dependinator
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using Dependinator.Utils;
using Dependinator.Utils.Threading;
namespace Dependinator.Common.ProgressHandling
{
internal class ProgressService : IProgressService
{
priva... |
cocos2d/tileMap_parallax_nodes/CCTMXLayer.cs | Karunp/cocos2d-xna | 13 | 7069088 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework.Graphics;
namespace Cocos2D
{
public class CCTMXLayer : CCSpriteBatchNode
{
/** size of the layer in tiles */
protected bool m_bUseAutomaticVertexZ;
protected byte m... |
IMClient/IMClient/DB/DBHelper.cs | Mr-sB/InstantMessenger | 0 | 7069089 | <reponame>Mr-sB/InstantMessenger<filename>IMClient/IMClient/DB/DBHelper.cs
using System;
using Android.Content;
using Android.Database;
using Android.Database.Sqlite;
using Android.Runtime;
namespace IMClient.DB
{
/// <summary>
/// SQLite数据库创建支持的数据类型: 整型数据、字符串类型、日期类型、二进制
/// </summary>
public class DBH... |
Telefonliste2/App.xaml.cs | FolkerKinzel/Telefonliste | 0 | 7069090 | using System;
using System.IO;
using System.Reflection;
using System.Windows;
using System.Xml.Linq;
using FK.Serialization;
using System.Xml.Serialization;
namespace FK.Telefonliste
{
/// <summary>
/// Interaktionslogik für "App.xaml"
/// </summary>
public partial class App : Application
{
... |
AccentBase/AccentBase/SocketClient/TableMassUpdater.cs | SvetozarLd/AcntServer | 0 | 7069091 | using System;
using System.Net;
using System.Net.Sockets;
using System.Timers;
using System.Security.Cryptography;
namespace AccentBase.SocketClient
{
internal static partial class TableClient
{
public static void StartMassUpdate()
{
MassUpdateTables(SqlLite.SqlEvent.TableName.Tab... |
Samples/MyPeopleNotifications/cs/Payload.xaml.cs | dujianxin/Windows-universal-samples | 2,504 | 7069092 | <filename>Samples/MyPeopleNotifications/cs/Payload.xaml.cs
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLI... |
Unity/VR_Bot/Assets/Scripts/Webcam.cs | Tdoe4321/VRBot | 3 | 7069093 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Webcam : MonoBehaviour {
// Use this for initialization
void Start () {
WebCamDevice[] devices = WebCamTexture.devices;
// for debugging purposes, prints available devices to the console
... |
isukces.code.Tests/EqualityGenerator/EqualityGeneratorTests.Classes.cs | isukces/isukces.code | 0 | 7069094 | <filename>isukces.code.Tests/EqualityGenerator/EqualityGeneratorTests.Classes.cs
using System.Reflection;
using iSukces.Code.Interfaces;
namespace iSukces.Code.Tests.EqualityGenerator
{
public partial class EqualityGeneratorTests
{
public enum EnumWithOffset
{
One = 5,
... |
Alkahest/Packager/GitHub.cs | Ghost6922112269/MWA-Zoro | 0 | 7069095 | using Octokit;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Alkahest.Packager
{
static class GitHub
{
public static GitHubClient Client { get; } =
new GitHubClient(new ProductHeaderValue(nameof(Alkahest), Assembly.GetExecutingAssembly()
... |
src/Ehealth.Models/User.cs | MrPIvanov/ASP.NET-Core-MVC-Exam | 0 | 7069097 | using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Ehealth.Models
{
public class User : IdentityUser
{
public User()
{
this.PurchaseHistory = new HashSet<Purchase>();
this.Messages... |
Exercice_11/Animal.cs | mathieumack/EPSI_B2_2018 | 0 | 7069098 | <filename>Exercice_11/Animal.cs
namespace Exercice_11
{
public class Animal
{
/// <summary>
/// Cri de l'animal
/// </summary>
public string Cri { get; set; }
/// <summary>
/// Nombre de pattes
/// </summary>
public int NbPattes { get; set; }
... |
src/Afonsoft.Ranking.Application/WebHooks/WebhookEventAppService.cs | afonsoft/Ranking | 1 | 7069099 | using System;
using System.Threading.Tasks;
using Abp.Authorization;
using Abp.Webhooks;
using Afonsoft.Ranking.Authorization;
namespace Afonsoft.Ranking.WebHooks
{
[AbpAuthorize(AppPermissions.Pages_Administration_WebhookSubscription)]
public class WebhookEventAppService : RankingAppServiceBase, IWebhookEven... |
InnerLibs/DictionarySelector.cs | Innercodetech/InnerLibs | 1 | 7069100 | <reponame>Innercodetech/InnerLibs<gh_stars>1-10
/// <summary>
/// Uma estrutura <see cref="IDictionary"/> que utiliza como Key uma propriedade de Value
/// </summary>
/// <typeparam name="KeyType">Tipo da Key</typeparam>
/// <typeparam name="ClassType">Tipo da</typeparam>
using System;
using System.Collections;
using ... |
backend/src/TtWork.ProjectName.Web.Host/Startup/Startup.cs | jerrytang67/szsj | 0 | 7069101 | <reponame>jerrytang67/szsj
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using Abp;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Exten... |
Starkit/Views/Booking/PartialViews/DetailsBookingModalWindowPartialView.cshtml | ESDP-Csharp-2-3-Team1/starkit | 0 | 7069102 | <filename>Starkit/Views/Booking/PartialViews/DetailsBookingModalWindowPartialView.cshtml<gh_stars>0
@model Booking
<div class="modal answer-modal" tabindex="-1" role="dialog" xmlns="http://www.w3.org/1999/html" id="modal-details">
<div class="modal-dialog" role="document">
<div class="modal-content">
... |
SystemDotMessaging/Projects/SystemDot.Messaging.Specifications/filtering_by_name_for_publishing/when_publishing_with_the_wrong_name_on_a_publish_subscribe_channel.cs | SystemDot/SystemDotServiceBus | 1 | 7069103 | <gh_stars>1-10
using SystemDot.Messaging.Specifications.filtering_by_name;
using SystemDot.Messaging.Specifications.publishing;
using Machine.Specifications;
namespace SystemDot.Messaging.Specifications.filtering_by_name_for_publishing
{
[Subject(SpecificationGroup.Description)]
public class when_publishing_wi... |
Backend/Data/IScheduleRepository.cs | DomTripodi93/process-management | 1 | 7069104 | <reponame>DomTripodi93/process-management<gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using Backend.Models;
namespace Backend.Data
{
public interface IScheduleRepository
{
void Add<T>(T entity) where T: class;
void Delete<T>(T entity) where T: class;
Ta... |
Assets/Core/Game/Abilities/Essential/Structure.cs | mrdav30/LockstepRTSEngine | 121 | 7069105 | using Assets.Integration.CustomComparison;
using Newtonsoft.Json;
using UnityEngine;
namespace RTSLockstep
{
/*
* Essential ability that attaches to any active structure
*/
public class Structure : Ability, IBuildable
{
public bool provisioner;
public int provisionAmount;
... |
Smash Forge/Filetypes/Animation/CMR0.cs | SutandoTsukai181/Smash-Forge | 135 | 7069106 | using System.Collections.Generic;
using OpenTK;
namespace SmashForge
{
public class CMR0
{
public CMR0()
{
}
public List<Matrix4> frames = new List<Matrix4>();
public void read(FileData d){
d.endian = System.IO.Endianness.Big;
d.Skip(8);
... |
ChiitransLite/src/forms/AboutForm.cs | wareya/chiitrans | 71 | 7069107 | <gh_stars>10-100
using ChiitransLite.misc;
using ChiitransLite.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.For... |
Assets/Scripts/Sanmas/SanmaLauncher.cs | one-night-game-jam/sun-ma | 0 | 7069108 | using System;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.Serialization;
using Zenject;
using Players;
namespace Sanmas
{
public class SanmaLauncher : MonoBehaviour
{
[SerializeField]
private float launchPowerMultiplier;
[SerializeField]
private San... |
Assets/NuitrackSDK/Tutorials/SegmentExample/Scripts/ObjectSpawner.cs | jorgegouv/Unity-Nuitrack-VR | 0 | 7069109 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class ObjectSpawner : MonoBehaviour
{
[SerializeField]
GameObject[] fallingObjectsPrefabs;
[Range(0.5f, 2f)]
[SerializeField]
float minTimeInterval = 1;
[Range(2f, 4f)]
[SerializeField]
float maxTimeInterval = 2;
fl... |
DataAccess/Queries/GetAddressesByPersonIdQuery.cs | tgrabus/feature-architecture | 0 | 7069110 | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using DataAccess.DbContexts;
using Models.Entities.AppContext;
namespace DataAccess.Queries
{
public class GetAddressesByPersonIdQuery : Query
{
public int PersonId { get; set; }
inter... |
ReportObjects/EntitySIM/Maps/SIMMachineVolumeReportMap.cs | afterthislevel/AppDynamics.DEXTER | 76 | 7069111 | <gh_stars>10-100
using AppDynamics.Dexter.ReportObjects;
using CsvHelper.Configuration;
namespace AppDynamics.Dexter.ReportObjectMaps
{
public class SIMMachineVolumeReportMap : ClassMap<SIMMachineVolume>
{
public SIMMachineVolumeReportMap()
{
int i = 0;
Map(m => m.Contr... |
Assets/Scripts/Framework/Resource/ArchiveManager.cs | iwiniwin/LastBattle | 1 | 7069112 | /*
* @Author: iwiniwin
* @Date: 2020-11-07 22:20:32
* @LastEditors: iwiniwin
* @LastEditTime: 2020-11-29 23:15:44
* @Description: 存档管理
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.IO;
using System.Xml;
namespace UDK.Resource
{
class ArchiveMana... |
iviz_msgs/rosapi/srv/DeleteParam.cs | KIT-ISAS/iviz | 79 | 7069113 | using System.Runtime.Serialization;
namespace Iviz.Msgs.Rosapi
{
[DataContract (Name = "rosapi/DeleteParam")]
public sealed class DeleteParam : IService
{
/// <summary> Request message. </summary>
[DataMember] public DeleteParamRequest Request { get; set; }
/// <summary> Re... |
sdk/dotnet/Ecr/Repository.cs | pulumi/pulumi-aws-infra | 10 | 7069114 | // *** WARNING: this file was generated by pulumi-gen-awsx. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Awsx.Ecr
{
... |
Camber/Civil/CivilObjects/ViewFrameGroup.cs | mzjensen/camber | 9 | 7069115 | #region references
using System;
using System.Collections.Generic;
using acDb = Autodesk.AutoCAD.DatabaseServices;
using acDynNodes = Autodesk.AutoCAD.DynamoNodes;
using acDynApp = Autodesk.AutoCAD.DynamoApp.Services;
using civDb = Autodesk.Civil.DatabaseServices;
using civApp = Autodesk.Civil.ApplicationServices;
usi... |
Visual Studio Product Team/Official Visual Studio 2008 C# Samples/[C#]-Official Visual Studio 2008 C# Samples/SimpleLinqToObjects/C#/SimpleLinqToObjects/Program.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7069116 | <reponame>zzgchina888/msdn-code-gallery-microsoft
using System;
using System.Collections.Generic;
using System.Linq;
namespace SimpleLinqToObjects
{
class SimpleLinqToObjects
{
/// <summary>
/// This example demonstrates a bare bones LINQ to Objects
/// program. Note that "using Syste... |
NoteKeeper/NoteKeeper/Note.cs | britcornwell23/JustForFun | 0 | 7069117 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NoteKeeper
{
public class Note
{
public string PageTitle { get; set; }
public string PageFileDescriptor { get; set; }
public string PageContent { ge... |
src/API/LeadershipProfileAPI/Data/Models/StaffAdmin.cs | ashToscano-hs/Leadership-Profile | 2 | 7069118 | <reponame>ashToscano-hs/Leadership-Profile<filename>src/API/LeadershipProfileAPI/Data/Models/StaffAdmin.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LeadershipProfileAPI.Data.Models
{
public class StaffAdmin
{
public Guid Id { get; set; ... |
Tests/Tests.Benchmarks/Benchmarks/TypeMapper/CreateAndWrapBenchmark.cs | X10sions/linq2db | 2,291 | 7069119 | <gh_stars>1000+
using System;
using BenchmarkDotNet.Attributes;
namespace LinqToDB.Benchmarks.TypeMapping
{
// shows small performance degradation due to indirect call
// benchmaerks with result wrapping also show additional allocation for wrapper instance
public class CreateAndWrapBenchmark
{
private ... |
Ris/Shreds/UsageTracking/UsageTrackingShred.cs | SNBnani/Xian | 1 | 7069120 | #region License
// Copyright (c) 2012, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Collections.Generic;... |
Assets/Harmonic/Subroutine HQ/Scripts/YScroller.cs | HarmonicOrder/WarpedDrive | 2 | 7069121 | <reponame>HarmonicOrder/WarpedDrive
using UnityEngine;
using System.Collections;
public class YScroller : MonoBehaviour {
public float startY = 0f;
public float finishY = 0f;
public float increment = 1f;
public short direction = -1;
// Use this for initialization
void Start () {
this.trans... |
Band.Samples/ViewModels/BarometerViewModel.cs | dachpayne/msftband-sensor-viewer | 2 | 7069122 | <filename>Band.Samples/ViewModels/BarometerViewModel.cs
using System;
using Band.Samples.Helpers;
namespace Band.Samples.ViewModels
{
public class BarometerViewModel : SensorViewModelBase<Microsoft.Band.Sensors.IBandBarometerReading>
{
public BarometerViewModel()
{
}
... |
src/Conference/Payments/Payments/Handlers/ThirdPartyProcessorPaymentCommandHandler.cs | huy-ngoduc/ConferenceManagement | 0 | 7069123 | <gh_stars>0
// ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// ©2012 Microsoft. ... |
Src/Graphics/Implementation/Generated/GL.10.Methods.cs | Mirsario/DissonanceFramework | 7 | 7069124 | using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
namespace Dissonance.Framework.Graphics
{
partial class GL
{
[MethodImpl(ImplOptions)]
public unsafe static void Accum(uint op, float value)
=> glAccum(op, value);
[MethodImpl(ImplOptions)]
public unsafe static voi... |
src/HodStudio.EntityFrameworkDiffLog.TestsDotNetCore/IdGeneratedByApp/UpdateOperationsTests.cs | HodStudio/EfDiffLog | 1 | 7069125 | using HodStudio.EntityFrameworkDiffLog.TestsDotNetCore.Model;
using NUnit.Framework;
using System.Threading;
using System.Threading.Tasks;
namespace HodStudio.EntityFrameworkDiffLog.TestsDotNetCore.IdGeneratedByApp
{
public class UpdateOperationsTests : IdGeneratedByAppBaseTests
{
protected override s... |
src/ScanLoginService/WebEndpoint/QrCodeHub.cs | appsonsf/FabricSSO | 15 | 7069126 | <gh_stars>10-100
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using Newtonsoft.Json;
using ScanLoginService.Model;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ScanLoginServi... |
src/Core/Rye/AspectFlare/DynamicProxy/Abstracts/IProxyCollection.cs | zzq424/Monica | 6 | 7069127 | using System;
namespace Rye.AspectFlare.DynamicProxy
{
public interface IProxyCollection
{
void Add(Type interfaceType, Type classType, Type proxyType);
Type GetProxyType(Type interfaceType, Type classType);
}
}
|
Assets/Scripts/Events/MyEvent.cs | Gamingdronzz/Vessel-Encounter | 0 | 7069128 | <filename>Assets/Scripts/Events/MyEvent.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VesselEncounter
{
public abstract class AbstractEvent
{
public int DispatchCount { get; private set; }
public abstract bool HasDuplicateParameterTypes();
... |
CCT.NUI.Tests/Core/VolumeTests.cs | ourochan/candescantNUI | 2 | 7069129 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CCT.NUI.Core;
namespace CCT.NUI.Tests.Core
{
[TestClass]
public class VolumeTests
{
[TestMethod]
public void Test_Volume_Contains()
{
... |
CP77.CR2W/Types/cp77/WindowBlindersReplicatedState.cs | MasterScott/CP77Tools | 1 | 7069130 | <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 WindowBlindersReplicatedState : gameDeviceReplicatedState
{
[Ordinal(0)] [RED("isOpen")] public CBool IsOpen { get; set; }
[Ordinal(1)]... |
src/JKang.EventSourcing/DependencyInjection/EventSourcingBuilder.cs | warrantor/EventSourcing | 165 | 7069131 | using Microsoft.Extensions.DependencyInjection;
namespace JKang.EventSourcing.DependencyInjection
{
public class EventSourcingBuilder : IEventSourcingBuilder
{
public EventSourcingBuilder(IServiceCollection services)
{
Services = services;
}
public IServiceCollecti... |
Amaoto/FPSCounter.cs | AioiLight/Amaoto | 6 | 7069132 | <reponame>AioiLight/Amaoto
namespace Amaoto
{
/// <summary>
/// FPSを計測するクラス。
/// </summary>
public class FPSCounter
{
/// <summary>
/// FPSを計測するクラス。
/// </summary>
public FPSCounter()
{
NowFPS = 0;
FPS = 0;
Counter = new Co... |
Assets/Scripts/Player/PlayerModel.cs | CouriersRyan/BazaarBananas | 0 | 7069133 | <reponame>CouriersRyan/BazaarBananas<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Model portion of the Player MVC
// Holds resources the player has and values for lerping.
[Serializable] public class PlayerModel
{
// For trading.
[SerializeField] p... |
Minesweeper/Properties/Resources.Designer.cs | Carsten0001/Minesweeper | 1 | 7069134 | <reponame>Carsten0001/Minesweeper
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is rege... |
src/Orchard.Web/Modules/Time.Epicor/Controllers/V8WhereUsedBomController.cs | pmillsaps/zone.timemfg.com | 0 | 7069135 | <gh_stars>0
using Orchard;
using Orchard.Localization;
using Orchard.Themes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Time.Data.EntityModels.Epicor;
using Time.Epicor.ViewModels;
namespace Time.Epicor.Controllers
{
[Authorize]
... |
WelderSanity/BatteryCharger.cs | bbc2/space-ai | 2 | 7069136 | using Sandbox.Game.EntityComponents;
using Sandbox.ModAPI.Ingame;
using Sandbox.ModAPI.Interfaces;
using SpaceEngineers.Game.ModAPI.Ingame;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using Sandbox.Common.ObjectBuil... |
PredictionMarketBot/Migrations/201606150414262_AddServerId.cs | AlexanderLindsay/PredictionMarketBot | 2 | 7069137 | <gh_stars>1-10
namespace PredictionMarketBot.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddServerId : DbMigration
{
public override void Up()
{
AddColumn("dbo.Markets", "ServerId", c => c.String());
}
pub... |
tools/CodeGenerator/Lexer/TokenFactory.cs | sped-tx-org/repository-services | 0 | 7069138 | <filename>tools/CodeGenerator/Lexer/TokenFactory.cs
using System;
using System.Text;
namespace CodeGenerator.Lexer
{
internal static class TokenFactory
{
private static SolutionToken Token(NodeType type) => SolutionToken.Token(type);
public static SolutionToken EndOfFile => Token(NodeType.End... |
SifflForums.Service/AutoMapperProfiles/ForumSectionsProfile.cs | sifflforums/sifflforums | 0 | 7069139 | <filename>SifflForums.Service/AutoMapperProfiles/ForumSectionsProfile.cs
using AutoMapper;
using SifflForums.Data.Entities;
using SifflForums.Service.Models.Dto;
namespace SifflForums.Service.AutoMapperProfiles
{
public class ForumSectionsProfile : Profile
{
public ForumSectionsProfile()
{
... |
src/Ofl.Google.Maps/Places/PlacesClient.cs | OneFrameLink/Ofl.Google.Maps | 0 | 7069140 | <reponame>OneFrameLink/Ofl.Google.Maps<filename>src/Ofl.Google.Maps/Places/PlacesClient.cs
using System;
using System.Net.Http;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.WebUtilities;
using Ofl.Net.Http.ApiClient.Json;
using Ofl.Threading.Tasks;
namespace... |
ASPNETMVC/Ninject.FilterInjector/NinjectFilterInjectorTest/NinjectFilterInjectorTest/ActionFilters/InjectionHandleErrorAttribute.cs | aragorn55/codeclimber | 0 | 7069141 | <filename>ASPNETMVC/Ninject.FilterInjector/NinjectFilterInjectorTest/NinjectFilterInjectorTest/ActionFilters/InjectionHandleErrorAttribute.cs
using System;
using System.Web.Mvc;
using Ninject.Core;
using NinjectFilterInjectorTest.Models;
namespace NinjectFilterInjectorTest.ActionFilters
{
public class Inje... |
AspNetCore-MVC/AspNetCore-MVC/Views/Pessoa/Save.cshtml.cs | andreguterres/Curso-AspNetCore-MVC | 0 | 7069142 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace AspNetCore_MVC.Views.Pessoa
{
public class SaveModel : PageModel
{
public void OnGet()
{
}
}
} |
src/viewmodel/ShellViewModelBase.cs | dreanor/StreamCompanion | 2 | 7069143 | <reponame>dreanor/StreamCompanion<filename>src/viewmodel/ShellViewModelBase.cs<gh_stars>1-10
using helper.mvvm.baseclasses;
using helper.mvvm.commands;
using StreamCompanion.Contract;
using StreamCompanion.Contract.ShellBase.Shell;
using StreamCompanion.Contract.ShellBase.Uic.Step;
using StreamCompanion.StreamTemplate... |
JCFruit.WeebChat.Server/Services/MediatedConnectionHandler.cs | JCFruit/weeb-chat | 0 | 7069144 | using JCFruit.WeebChat.Server.ChatEvents;
using JCFruit.WeebChat.Server.Models;
using JCFruit.WeebChat.Server.ServerEvents;
using JCFruit.WeebChat.Server.Tcp;
using MediatR;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
namespace JCFruit.WeebChat.Server.Services
{
public class Me... |
GoogleCloud/Mcma.Client.Google/GoogleAuthenticator.cs | ebu/mcma-libraries-dotnet | 1 | 7069145 | <filename>GoogleCloud/Mcma.Client.Google/GoogleAuthenticator.cs<gh_stars>1-10
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using Google.Apis.Auth.OAuth2;
using Mcma.Client;
using Mcma.Client.Auth;
namespace Mcma.Client.Google
{
public class GoogleAuth... |
Metal.Emailing/Providers/SmtpProvider.cs | DeonduPreez/Metal.Emailing | 0 | 7069146 | <filename>Metal.Emailing/Providers/SmtpProvider.cs
using System;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using Metal.Emailing.Interfaces;
using Metal.Emailing.Models;
namespace Metal.Emailing.Providers
{
public class SmtpProvider : IEmailProvider
{
private readonly SmtpC... |
OtherComponents/MDWSvistalayer/MDWS Source/mdo/mdo/src/mdo/api/ClinicalApi.cs | frankfont/RAPTOR_FORK | 7 | 7069147 | using System;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Specialized;
using System.Xml;
using System.IO;
using gov.va.medora.mdo.dao;
namespace gov.va.medora.mdo.api
{
public class ClinicalApi
{
const string DAO_NAME = "IClinicalDao";
public Clinical... |
ExpressiveExtensions.Core/StringExtensions/StringAdd.cs | chescalante/ExpressiveExtensions | 0 | 7069148 | namespace ExpressiveExtensions.Core
{
public static class StringAdd
{
/// <summary>
/// Prepends a prefix to a <see cref="string">string</see> if it doesn't already exist.
/// </summary>
/// <param name="s">The <see cref="string">string</see> to alter.</param>
/// <param... |
ComputeClient/Compute.Client/Reports/ReportAccessor.cs | DimensionDataCBUSydney/Compute.Api.Client | 0 | 7069149 | <filename>ComputeClient/Compute.Client/Reports/ReportAccessor.cs<gh_stars>0
namespace DD.CBU.Compute.Api.Client.Reports
{
using System;
using System.Threading.Tasks;
using Interfaces;
using Interfaces.Reports;
/// <summary>
/// The Report type.
/// </summary>
public class ReportAccesso... |
System/Security/Cryptography/RijndaelManaged.cs | SinsofSloth/RF5-global-metadata | 1 | 7069150 | [ComVisibleAttribute] // RVA: 0xB0130 Offset: 0xB0231 VA: 0xB0130
public sealed class RijndaelManaged : Rijndael // TypeDefIndex: 950
{
// Methods
// RVA: 0x262DFA0 Offset: 0x262E0A1 VA: 0x262DFA0
public void .ctor() { }
// RVA: 0x262E060 Offset: 0x262E161 VA: 0x262E060 Slot: 21
public override ICryptoTransform ... |
Nn/NeuralNetwork.cs | Somnid/Nn | 0 | 7069151 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Nn
{
public class NeuralNetwork
{
public List<List<Neuron>> Neurons { get; set; } = new List<List<Neuron>>();
public static NeuralNetwork Create()
{
return new NeuralNetwork();
... |
src/TreeCl/MartinCl2/Collections/Generic/Nodes/AVLTreeNode.cs | Martin1994/TreeCl | 0 | 7069152 | using MartinCl2.Collections.Generic.Nodes.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MartinCl2.Collections.Generic.Nodes
{
/// <summary>
/// Node of an AVL tree.
/// </summary>
/// <typeparam name="TKey"></typeparam>
/// <ty... |
src/OsuSharp.Domain/Interfaces/IUserMonthlyPlayCount.cs | minhducsun2002/OsuSharp | 31 | 7069153 | <filename>src/OsuSharp.Domain/Interfaces/IUserMonthlyPlayCount.cs<gh_stars>10-100
using System;
namespace OsuSharp.Interfaces
{
public interface IUserMonthlyPlayCount
{
DateTimeOffset StartDate { get; }
long Count { get; }
}
} |
Source/ArcLogistics/Routing/BuildRoutesReqBuilder.cs | ValueCreation/RoutePlanner | 17 | 7069154 | /*
| Version 10.1.84
| Copyright 2013 Esri
|
| 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 law or... |
Samples/3.0/TransportLayerSecurity/src/OrleansClient/Program.cs | JohnDebono/orleans | 13 | 7069155 | using HelloWorld.Interfaces;
using Orleans;
using Orleans.Hosting;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Orleans.Configuration;
using System.Security.Cryptography.X509Certificates;
namespace OrleansClient
{
/// <summary>
/// Orleans test silo client
/// </sum... |
Buildlease/Domain/Models/Order.cs | mrojaczy/buildlease | 0 | 7069156 | <reponame>mrojaczy/buildlease
using System;
using System.Collections.Generic;
namespace Domain.Models
{
public class Order
{
public int Id { get; set; }
public string CustomerId { get; set; }
public OrderStatus Status { get; set; }
public string SerializedCustomerInfo... |
ServerComponent/WebApi/Models/UserViewModel.cs | paulpatarinski/WebClientGenerator | 2 | 7069157 | using System;
using System.Collections.Generic;
namespace WebApi.Models
{
public class UserViewModel
{
public string FirstName { get; set; }
public string LastName { get; set; }
public double Salary { get; set; }
public DateTime HireDate{ get; set; }
public int TotalDaysEmployeed { get; set; }... |
Octokit.GraphQL/Model/PinnableItemType.cs | tedvanderveen/octokit.graphql.net | 113 | 7069158 | <filename>Octokit.GraphQL/Model/PinnableItemType.cs<gh_stars>100-1000
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Octokit.GraphQL.Model
{
/// <summary>
/// Represents items that can be pinned to a profile page or dashboard.
/// </summ... |
V308CMS/Views/Layout/View1.cshtml | giaiphapictcom/mamoo.vn | 0 | 7069159 | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head id="Head1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Kênh tin tức giải trí - Xã hội - Kenh14.vn</title>
<meta id="pageMetaDesc" name="description" content="Trang tin tức giải trí - xã hội Việt Nam - Quốc Tế. Đưa tin nh... |
KilyCore.EntityFrameWork/ModelEnum/RoleEnum.cs | EmilyEdna/KilyCore | 4 | 7069160 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
/// <summary>
/// 作者:刘泽华
/// 时间:2018年5月29日11点29分
/// </summary>
namespace KilyCore.EntityFrameWork.ModelEnum
{
/// <summary>
/// 权限等级
/// </summary>
public enum RoleEnum
{
/// <summary>
/... |
src/GZipTest/CommandLineArguments/ValidationResult.cs | asizikov/archiver-tool | 0 | 7069161 | <gh_stars>0
using System.Collections.Generic;
namespace GZipTest.CommandLineArguments
{
public class ValidationResult
{
public bool IsValid { get; set; }
public List<string> Errors { get; } = new List<string>();
}
} |
MTN2/MapData/Spawn/Forage.cs | mus-candidus/MTN2 | 5 | 7069162 | <filename>MTN2/MapData/Spawn/Forage.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using SObject = StardewValley.Object;
namespace MTN2.MapData {
public class Forage : Resource {
private int Width = 1;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.