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 |
|---|---|---|---|---|
SourceCode/Source/Core.Development/EventEditor/UserControlEvent.cs | ckalvin-hub/Sheng.Winform.IDE | 227 | 7051935 | <filename>SourceCode/Source/Core.Development/EventEditor/UserControlEvent.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Windows.Forms;
using Sheng.SailingEase.ComponentModel;
using Sheng.SailingEase.ComponentModel.Design.UndoEngine;
us... |
src/ReactiveMarbles.CacheData.SystemTextJson/SystemJsonSerializer.cs | bondarenkod/CacheDatabase | 0 | 7051936 | <gh_stars>0
// Copyright (c) 2019-2021 ReactiveUI Association Incorporated. All rights reserved.
// ReactiveUI Association Incorporated licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System;
using System.Text.Json;
using System.Text.Jso... |
11.ArrayLongSequence/ArrayLongSequence.cs | krisdimova/kasskata-Lessons | 0 | 7051937 | <reponame>krisdimova/kasskata-Lessons
namespace _11.ArrayLongSequence
{
// Напишете програма, която намира максимална редица от последователни еднакви елементи в масив.
// Пример: {2, 1, 1, 2, 3, 3, 2, 2, 2, 1} => {2, 2, 2}.
class ArrayLongSequence
{
static void Main()
{
i... |
src/csharp/Microsoft.Spark/Sql/RowCollector.cs | bridgewell/spark | 0 | 7051938 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Microsoft.Spark.Inte... |
src/AngleSharp/Services/ISvgElementFactory.cs | forprog/AngleSharp | 0 | 7051939 | namespace AngleSharp.Services
{
using AngleSharp.Dom;
using AngleSharp.Dom.Svg;
using System;
interface ISvgElementFactory
{
SvgElement Create(Document document, String localName, String prefix = null);
}
}
|
XamarinApp/App1/App1/ViewModel/LoginViewModel.cs | pxlit-projects/entmob2016_10 | 0 | 7051940 | using Plugin.BLE.Abstractions.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using System.Net.Http;
using Newtonsoft.Json;
using System.Net.Http.Headers;
using System.Diagnostics;
using System.ComponentModel;
using PCLCrypto;
... |
Connect4/Connect4/Minimax/MinimaxAlgorithm.cs | LucasBousselet/SmartConnect4 | 0 | 7051941 | <filename>Connect4/Connect4/Minimax/MinimaxAlgorithm.cs
using System;
using System.Diagnostics;
namespace Connect4
{
/// <summary>
/// The class Which contains the Minimax algorithm.
/// </summary>
static class MinimaxAlgorithm
{
/// <summary>
/// The number of iteration for the mi... |
src/Jimu.Modules/Jimu.Server.Bus.MassTransit.RabbitMq/Pattern/CommandPattern.cs | xman086/jimu | 348 | 7051942 | <filename>src/Jimu.Modules/Jimu.Server.Bus.MassTransit.RabbitMq/Pattern/CommandPattern.cs<gh_stars>100-1000
using Autofac;
using Jimu.Bus;
using Jimu.Logger;
using Jimu.Server.ServiceContainer.Implement.Parser;
using MassTransit;
using MassTransit.RabbitMqTransport;
using System;
using System.Collections.Generic;
usin... |
src/Microsoft.DotNet.Wpf/src/ReachFramework/Serialization/FontTypeConverter.cs | KodamaSakuno/wpf | 5,937 | 7051943 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*++
Abstract:
This file implements the FontTypeConverter used by
the Xps Serialization APIs fo... |
Assets/Scripts/Spawner/Enemy/Enemy.cs | Monokilho/GameJam16 | 0 | 7051944 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
public class Enemy : MonoBehaviour, ISpawny
{
System.Random rng = new System.Random();
// movement and collision
public Spawner parent { get; set; }
public int movementspeed { get; set; }
int curspeed =... |
CodeWars/7kyu/OperationsWithSequence.cs | a-kozhanov/codewars_csharp | 11 | 7051945 | <gh_stars>10-100
/*
https://www.codewars.com/kata/596ddaccdd42c1cf0e00005c/csharp
7 kyu
Operations with sequence
Steps
Square the numbers that are greater than zero.
Multiply by 3 every third number.
Multiply by -1 every fifth number.
Return the sum of the sequence.
Example
{ -2, -1, 0, 1, 2 } returns -6
1. { -2, ... |
RevStack.Commerce/Task/DiscountTask.cs | RevStack/Commerce | 1 | 7051946 | using System;
using System.Collections.Generic;
using System.Linq;
using RevStack.Configuration;
namespace RevStack.Commerce
{
#region "Discount Task Base Class"
public class DiscountTask : IDiscountTask<string>
{
public virtual RuleType RuleType
{
get
... |
JudoPayDotNet/Models/CardAddressModel.cs | Judopay/DotNetSDK | 3 | 7051947 | <filename>JudoPayDotNet/Models/CardAddressModel.cs
using System;
using System.Runtime.Serialization;
namespace JudoPayDotNet.Models
{
/// <summary>
/// A card address information
/// </summary>
// ReSharper disable UnusedAutoPropertyAccessor.Global
[DataContract]
public class CardAddressModel
... |
src/Web/MartiniqueWeb/Martinique.ResourceAccess/Contracts/IDeviceRepository.cs | rumdood/martinique | 0 | 7051948 | using Martinique.Common.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Martinique.ResourceAccess.Contracts
{
public interface IDeviceRepository
{
void StartColorSequence(string deviceId, ColorSequence sequence);
... |
Assets/Scripts/GameManager/Player/Player.cs | gogcom/galaxy-csharp-demo-game | 32 | 7051949 | using UnityEngine;
public class Player : MonoBehaviour
{
#region variables
// Variable storing current player state
public GameManager.PlayerState playerState;
private string playerName;
private int score;
private GameObject model;
protected GameObject cue;
public PlayerController Co... |
Core/Collections/EnumerableExtensions.cs | Douglas-Williams/DogmaMix.Core | 0 | 7051950 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DogmaMix.Core.Extensions
{
/// <summary>
/// Provides extension methods for the <see cref="IEnumerable{T}"/> interface.
/// </summary>
pub... |
StoreUI/MenuFactory.cs | 210503-Reston-NET/Doug-Austin-P0 | 0 | 7051951 | using System;
using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using BL;
using DL;
using DL.Entities;
namespace StoreUI
{
public class MenuFactory
{
public static IMenu GetMenu(string menuType)
{
//getting configurations from a config fi... |
src/Hashgraph/Implementation/Proto/FreezeTransactionBody.cs | si618/Hashgraph | 0 | 7051952 | <filename>src/Hashgraph/Implementation/Proto/FreezeTransactionBody.cs
using Google.Protobuf;
using Grpc.Core;
using Hashgraph;
using Hashgraph.Implementation;
using System;
using System.Threading;
namespace Proto
{
public sealed partial class FreezeTransactionBody : INetworkTransaction
{
st... |
SharpFFTPACK/RealDoubleFFT.cs | dcprojects/SharpFFTPACK | 3 | 7051953 | <reponame>dcprojects/SharpFFTPACK
/*
* SharpFFTPACK is a C# version of FFTPACK (http://www.netlib.org/fftpack/).
* SharpFFTPACK is based on jfftpack, the Java translation of fftpack (made by <NAME>).
* It is developed as part of the SMath Studio plugin FFTPACK (made by <NAME>).
* The original FFTPACK was public do... |
Faroosom/Faroosom.API/Startup.cs | Yuras-KARAS-2019/socialNetwork | 0 | 7051954 | using Faroosom.BLL.Interfaces;
using Faroosom.BLL.Services;
using Faroosom.DAL;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using... |
Tests/ClassSorting/Program.cs | Mauzerov/Sekretariat | 0 | 7051955 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
namespace ClassSorting
{
internal static class Where
{
public static int CompareTo(this int value, Where where)
{
}
}
internal class FQL<T> : IEnumerable<T> where T : IFieldCompar... |
Sources/Sandbox.Game/Game/Weapons/Guns/MyDeviceBase.cs | Wrennsun/SpaceEngineers | 3 | 7051956 | #region Using
using System.Text;
using VRageMath;
using System;
using Sandbox.Game.Entities;
using Sandbox.Game.Utils;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Engine.Utils;
using Sandbox.Definitions;
using Sandbox.Common.ObjectBuilders.Definitions;
using Sandbox.Game.World;
using System.Collections.Gener... |
SatelliteHelperTool/Displays/ManageSatelliteConnections.xaml.cs | jufman/SatelliteTelescope | 1 | 7051957 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windo... |
RIS_Publico/RIS_Publico/generated/PnSmiafiliadoController.cs | saludnqn/prosane | 0 | 7051958 | using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... |
GoogleCloudExtension/GoogleCloudExtension/VsVersion/ToolsPathProviderBase.cs | iantalarico/google-cloud-visualstudio | 0 | 7051959 | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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 applicabl... |
ApiService/CorrelationRequestNumeric.cs | ciwik/CorrelationService | 1 | 7051960 | <reponame>ciwik/CorrelationService
using Core;
using Core.Correlation;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace ApiService
{
public class CorrelationRequestNumeric
{
[JsonConverter(typeof(StringEnumConverter)), JsonProperty("type")]
public CorrelationType Type { get; ... |
Mozu.Api/Resources/Platform/Adminuser/AdminUserResource.cs | thomsumit/mozu-dotnet | 0 | 7051961 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------... |
SolastaModHelpers/Patches/GameLocationCharacterPatcher.cs | PhilPJL/SolastaModHelpers | 0 | 7051963 | <filename>SolastaModHelpers/Patches/GameLocationCharacterPatcher.cs
using HarmonyLib;
using SolastaModHelpers.NewFeatureDefinitions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SolastaModHelpers.Patches
{
class GameLocationCharacter... |
CodeWarsTests/7kyu/CompletePattern3HorizontalImageOf2Tests.cs | a-kozhanov/codewars_csharp | 11 | 7051964 | <gh_stars>10-100
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class CompletePattern3HorizontalImageOf2Tests
{
[Test]
public void BasicTests()
{
Assert.AreEqual("1", CompletePattern3HorizontalImageOf2.Pattern(1));
Asse... |
Source/String/SetStringVariableValue.cs | AKOM-Studio/unity-atoms | 1 | 7051965 | <gh_stars>1-10
using UnityEngine;
namespace UnityAtoms
{
[CreateAssetMenu(menuName = "Unity Atoms/String/Set Variable", fileName = "SetStringVariableValueAction", order = CreateAssetMenuUtils.Order.SET_VARIABLE)]
public class SetStringVariableValue : SetVariableValue<string, StringVariable, StringReferen... |
OdontoTech/OdontoTech/Criar Usuario.designer.cs | theylkszaszin/OdontoTech | 0 | 7051966 | <gh_stars>0
namespace OdontoTech
{
partial class Criar_Usuario
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... |
Assets/_Developers/Sabrinne/Assets/UITabs/scripts/TabsUIVertical.cs | VitorSoaresSilva/forest-return | 0 | 7051967 | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
using EasyUI.Tabs;
public class TabsUIVertical : TabsUI
{
#if UNITY_EDITOR
private void OnValidate() {
base.Validate(TabsType.Vertical);
}
#endif
}
|
eRestoran/eRestoran.WebAPI/SetupService.cs | azra-imamovic/RS2-eRestoran | 0 | 7051968 | <reponame>azra-imamovic/RS2-eRestoran<filename>eRestoran/eRestoran.WebAPI/SetupService.cs
using eRestoran.WebAPI.Database;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace eRestoran.WebAPI
{
public class SetupService
... |
source/Oliviann.Common/ServiceProcess/ServiceControllerProxy.cs | hype8912/Oliviann | 0 | 7051969 | <reponame>hype8912/Oliviann
#if !NETSTANDARD1_3
namespace Oliviann.ServiceProcess
{
#region Usings
using System;
using System.ServiceProcess;
#endregion
/// <summary>
/// Represents a proxy class for a service controller.
/// </summary>
public class ServiceControllerProxy : IService... |
src/Gildemeister.Cliente360.Application/AutoMapper/DomainToDTOMapper.cs | pSharpX/customer360-api | 0 | 7051970 | <filename>src/Gildemeister.Cliente360.Application/AutoMapper/DomainToDTOMapper.cs
using AutoMapper;
using Gildemeister.Cliente360.Domain;
using Gildemeister.Cliente360.Domain.SGAPROD;
//using Gildemeister.Cliente360.Domain.Model;
using Gildemeister.Cliente360.Transport;
using Gildemeister.Cliente360.Transport.SGAPROD;... |
Fundamental task solutions/01.DataTypesAndVariablesExercises/DigitsWithWords/writingDigits.cs | spzvtbg/02-Tech-modul | 0 | 7051971 | using System;
namespace DigitsWithWords
{
public class writingDigits
{
public static void Main()
{
string input = Console.ReadLine().ToLower();
switch (input)
{
case "zero": Console.WriteLine(0); ; break;
case "one... |
Chilicki.Ptsa/Chilicki.Ptsa.Domain.Gtfs/Extensions/StringExtensions.cs | mchilicki/public-transport-searching-algorithms | 0 | 7051972 | namespace Chilicki.Ptsa.Domain.Gtfs.Extensions
{
public static class StringExtensions
{
public static string Clean(this string str)
{
return str.Replace("\"", string.Empty);
}
}
}
|
Octokit/Clients/IStarredClient.cs | LaudateCorpus1/octokit.net | 1 | 7051973 | <filename>Octokit/Clients/IStarredClient.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
/// <summary>
/// A client for GitHub's Activity Starring API.
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/activity/starring/">Activi... |
src/ESFA.DC.Data.LARS.Model/LARS_SupersedingFrameworks.cs | SkillsFundingAgency/DC-Data-LARS | 0 | 7051974 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
Imagin.Common/Numerics/NumeralOperation.cs | OkumaScott/Imagin.NET | 0 | 7051975 | namespace Imagin.Common
{
/// <summary>
///
/// </summary>
public enum NumeralOperation
{
/// <summary>
///
/// </summary>
Add,
/// <summary>
///
/// </summary>
Divide,
/// <summary>
///
/// </summary>
... |
Bisner.Mobile.Core/Communication/Models/EventCategoryAndTypeModel.cs | phoenix214/BisnerXamarin | 1 | 7051976 | <gh_stars>1-10
using Bisner.ApiModels.Central;
namespace Bisner.Mobile.Core.Communication.Models
{
public class EventCategoryAndTypeModel
{
public ApiCentralEventCategoryModel Category { get; set; }
public ApiCentralEventCategoryModel Type { get; set; }
}
} |
Assets/Plugins/Ludiq/Ludiq.Peek/Editor/Tools/Editor/IEditorTool.cs | DuLovell/Rhythm-Game | 3 | 7051979 | using System;
using UnityObject = UnityEngine.Object;
namespace Ludiq.Peek
{
// ReSharper disable once RedundantUsingDirective
using PeekCore;
public interface IEditorTool : ITool
{
Type targetType { get; }
}
} |
trab_psi11_mod9_Gabriel7/Pojeto Gabriel Modulo 9/SettingsForm.cs | bakill3/C-Browser | 1 | 7051980 | <reponame>bakill3/C-Browser
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 WindowsFormsApplication1
{
public partial class SettingsForm : Form
{
public Set... |
Tests/Unit Tests/Glass.Mapper.Tests/Pipelines/ObjectConstruction/Tasks/CreateConcrete/LazyObjectInterceptorFixture.cs | FlorisBriolas/Glass.Mapper | 96 | 7051981 | using Castle.DynamicProxy;
using Glass.Mapper.Configuration;
using Glass.Mapper.Diagnostics;
using Glass.Mapper.Pipelines.ObjectConstruction;
using Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete;
using NSubstitute;
using NUnit.Framework;
namespace Glass.Mapper.Tests.Pipelines.ObjectConstruction... |
MBAco.Common/Cipher.cs | matinmlk/MBAco.ir | 0 | 7051982 | using System.Security.Cryptography;
using System.Text;
namespace Shahmat.Common
{
public class Cipher
{
public static string CreateMD5Hash(string input)
{
// Use input string to calculate MD5 hash
MD5 md5 = System.Security.Cryptography.MD5.Create();
... |
Laboratory/Tests/L3-Prelude/PreludeValidation.cs | ultraleap/Element | 12 | 7051983 | <gh_stars>10-100
using NUnit.Framework;
namespace Laboratory.Tests.L3.Prelude
{
internal class Validation : PreludeFixture
{
[Test]
// Only parses, does not validate
public void Parse()
{
var result = Host.Parse(NonValidatedCompilerInput);
ExpectingSucces... |
ZR.Model/System/SysMenu.cs | izhaorui/ZrAdmin.NET | 19 | 7051984 | using SqlSugar;
using System.Collections.Generic;
namespace ZR.Model.System
{
/// <summary>
/// Sys_menu表
/// </summary>
[SugarTable("sys_menu")]
[Tenant("0")]
public class SysMenu : SysBase
{
/// <summary>
/// 菜单ID
/// </summary>
//[Key]//非自动增长主键时使用Explicit... |
src/Steam.Net/Server.cs | ObsidianMinor/SteamStandardProject | 2 | 7051985 | <filename>src/Steam.Net/Server.cs<gh_stars>1-10
using System;
using System.Net;
namespace Steam.Net
{
/// <summary>
/// Represents a Steam server that is either a URI or an IP endpoint
/// </summary>
public class Server : IEquatable<Server>
{
private readonly string _hostName;
priv... |
Assets/Editor/Generated/SQEX/Ebony/AIGraph/Node/FSM/AIGraphNodeFSMRoot.generated.cs | Gurrimo/Luminaire | 0 | 7051986 | <reponame>Gurrimo/Luminaire<gh_stars>0
//----------------------
// <auto-generated>
// This file was automatically generated. Any changes to it will be lost if and when the file is regenerated.
// </auto-generated>
//----------------------
#pragma warning disable
using System;
using SQEX.Luminous.Core.Object;
using Sy... |
C-Sharp/frmStockValSelect.cs | nodoid/PointOfSale | 10 | 7051987 | using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Windows.Forms;
using DpSdkEngLib;
using DPSDKOPSLib;
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using Sy... |
Assets/WebBehaviour/VKStrategyImpl.cs | rraallvv/colorus | 90 | 7051989 | <filename>Assets/WebBehaviour/VKStrategyImpl.cs
#if !UNITY_IPHONE
using UnityEngine;
using System.Collections;
using System;
using System.Collections.Generic;
using localisation;
public class VKStrategyImpl : WebStrategyInt {
bool ready = false;
VKController vkc;
string albumName="Мои раскраски в Colorus";
string... |
Source/InTheHand/Devices/Sensors/GyrometerReading.cs | inthehand/Pontoon | 32 | 7051990 | <reponame>inthehand/Pontoon
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GyrometerReading.cs" company="In The Hand Ltd">
// Copyright (c) 2016 In The Hand Ltd, All rights reserved.
// </copyright>
// ----------------------... |
SfCellGrid/Helpers/rowheight.xaml.cs | syncfusion/uwp-demos | 20 | 7051991 | <filename>SfCellGrid/Helpers/rowheight.xaml.cs
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will... |
src/WizardDemo/ViewModels/Advanced/BasicWizardSettingsViewModel.cs | worker-it/mvvm-wizard | 15 | 7051992 | <reponame>worker-it/mvvm-wizard
namespace WizardDemo.ViewModels.Advanced
{
/// <summary>
/// The basic wizard settings view model.
/// </summary>
public class BasicWizardSettingsViewModel
{
}
} |
src/Asv.Mavlink/Tools/Streams/JsonStreamBase.cs | hdefleurian/mavlink.net | 3 | 7051993 | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Nito.AsyncEx;
namespace Asv.Mavlink.Streams
{
public class JsonStreamBase : IJsonStream, IDisposable, IObservable<JObject>
{
... |
sources/ClangSharp.Interop/CXTypeLayoutError.cs | ihnorton/ClangSharp | 286 | 7051994 | // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c
// Original source is Copyright (c) the LLVM Project an... |
Labo.WebCrawler.Core/Modules/ActionWebContentProcessorModule.cs | LaboFoundation/Labo.WebCrawler | 3 | 7051995 | namespace Labo.WebCrawler.Core.Modules
{
using System;
using Labo.WebCrawler.Core.Content;
public sealed class ActionWebContentProcessorModule : IWebContentProcessorModule
{
private readonly Action<IWebContent> m_Action;
public ActionWebContentProcessorModule(Action<IWebContent> actio... |
Org.BouncyCastle.Asn1.Cmp/PkiMessage.cs | smdx24/CPI-Source-Code | 8 | 7051996 | <filename>Org.BouncyCastle.Asn1.Cmp/PkiMessage.cs
// PkiMessage
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.Cmp;
public class PkiMessage : Asn1Encodable
{
private readonly PkiHeader header;
private readonly PkiBody body;
private readonly DerBitString protection;
private readonly Asn1Sequence extraC... |
CefSharp/DevTools/LayerTree/ReplaySnapshotResponse.cs | campersau/CefSharp | 0 | 7051997 | <filename>CefSharp/DevTools/LayerTree/ReplaySnapshotResponse.cs
// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.DevTools.LayerTree
{
/// <summary>
/// ReplaySnapshotResponse
... |
Helpers/IFrameNavigationService.cs | IulianCoDu/MultiplexTrack | 0 | 7051998 | using GalaSoft.MvvmLight.Views;
namespace MultiplexTrack.Helpers
{
public interface IFrameNavigationService : INavigationService
{
/// <summary>
/// The Parameter is used to pass objects between ViewModels
/// and the INavigationService is part of GalaSoft.MvvmLight.Views namespace
... |
System/IO/StreamReader.cs | SinsofSloth/RF5-global-metadata | 1 | 7052000 | [ComVisibleAttribute] // RVA: 0xAEA20 Offset: 0xAEB21 VA: 0xAEA20
[Serializable]
public class StreamReader : TextReader // TypeDefIndex: 663
{
// Fields
public static readonly StreamReader Null; // 0x0
private Stream stream; // 0x18
private Encoding encoding; // 0x20
private Decoder decoder; // 0x28
private byte[... |
Assets/CALObjects/DraftingTable/BlockDetectLogic.cs | RyanStonebraker/Calamine | 0 | 7052001 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class BlockDetectLogic : MonoBehaviour {
// __ __
//| | / /___ ______(_)___ _/ /_ / /__ _____
//| | / / __ `/ ___/ / __ `/ __ \/ / _ \/ ___/
//| |/ / /_/ / / / / /_/ / /_/ /... |
src/core/BrightstarDB.Tests/SparqlQueryHelperTests.cs | dgerding/BrightstarDB | 323 | 7052002 | <reponame>dgerding/BrightstarDB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightstarDB.Utils;
using NUnit.Framework;
using VDS.RDF.Parsing;
namespace BrightstarDB.Tests
{
[TestFixture]
public class SparqlQueryHelperTests
{
[Test]
public voi... |
ToDo-API/Livraria.ToDo/src/ToDo.Infra.EF/Mapping/LivroMapping.cs | henriquehrf/Ewave-Livraria-Senior | 0 | 7052003 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ToDo.Domain.Entities;
namespace ToDo.Infra.Data.EF.Mapping
{
public class LivroMapping : IEntityTypeConfiguration<Livro>
{
public void Configure(EntityTypeBuilder<Livro> builder)
{
builder.ToTable(nameof(Livro))... |
Persistence/Filters/FilterRepository.cs | dataexplorer/dataexplorer | 29 | 7052004 | <filename>Persistence/Filters/FilterRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Application;
using DataExplorer.Application.Filters;
using DataExplorer.Domain.Filters;
namespace DataExplorer.Persistence.Filters
{
... |
exec/csnex/lib/sys.cs | ghewgill/neon-lang | 74 | 7052005 | using System;
using System.Collections.Generic;
namespace csnex.rtl
{
public class sys
{
private Executor exec;
public Cell args { get; private set; }
public sys(Executor exe)
{
exec = exe;
List<Cell> arr = new List<Cell>();
// Note that Env... |
JLCSUtils/JLUtils/Services/!NamespaceDoc.cs | JohnLambe/JLCSUtils | 0 | 7052006 | <gh_stars>0
namespace JohnLambe.Util.Services
{
/// <summary>
/// Common services for use with Dependency Injection.
/// </summary>
static class NamespaceDoc { }
}
|
PaperMarioBattleSystem/PaperMarioBattleSystem/Classes/Actions/IActionCommandHandler.cs | tdeeb/PaperMarioBattleSystem | 40 | 7052007 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PaperMarioBattleSystem
{
/// <summary>
/// An interface for BattleActions that handle ActionCommands.
/// </summary>
public interface IActionCommandHandler : INameab... |
source/Data/Math.Data/Question/ESQuestion.cs | LigangSun/AppCenter | 0 | 7052008 | <reponame>LigangSun/AppCenter
using System;
using System.Collections.Generic;
using System.Text;
namespace SoonLearning.Assessment.Data
{
/// <summary>
/// ESQuestion类代表简答题。
/// </summary>
public class ESQuestion : Question
{
private QuestionContent referenceAnswer = new QuestionContent();... |
Source/sd_bridges/PlaceWorker_drawbridge.cs | emipa606/SDBridges | 0 | 7052009 | using Verse;
namespace sd_bridges
{
// Token: 0x02000009 RID: 9
public class PlaceWorker_drawbridge : PlaceWorker
{
// Token: 0x06000014 RID: 20 RVA: 0x000027AC File Offset: 0x000017AC
public override AcceptanceReport AllowsPlacing(BuildableDef checkingDef, IntVec3 loc, Rot4 rot, Map map,
... |
BuildingThemes/BuildingVariationManager.cs | DaEgi01/BuildingThemes | 10 | 7052010 | using ColossalFramework;
using System.Collections.Generic;
using UnityEngine;
namespace BuildingThemes
{
public class BuildingVariationManager : Singleton<BuildingVariationManager>
{
private readonly Dictionary<string, BuildingInfo> variationToBase = new Dictionary<string, BuildingInfo>();
pu... |
Viewer/src/common/TriMesh.cs | pimmelpansen/Frische-Haut | 48 | 7052011 | <reponame>pimmelpansen/Frische-Haut
using SharpDX;
using System.Collections.Generic;
using System.Linq;
public class TriMesh {
private readonly List<Tri> faces;
private readonly int vertexCount;
private readonly List<Vector3> vertexPositions;
private readonly List<Vector3> vertexNormals;
public TriMesh(List<Tri>... |
Syncio.Common/LogProviders/PayloadFileLog.cs | unruledboy/Syncio | 0 | 7052012 | using Syncio.Common.Interfaces;
using Syncio.Common.Models;
using System;
namespace Syncio.Common.LogProviders
{
public class PayloadFileLog : ILogger
{
private readonly FileLogger fileLogger = new FileLogger();
public LogLevel LogLevel { get; set; }
public void Log(string message, L... |
Engines/RowdzEngine/ViewModel.cs | jorticus/hexlight-gui | 2 | 7052013 | <reponame>jorticus/hexlight-gui
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HexLight.Engine.Rowdz
{
public struct Range<T>
{
public T Min;
public T Max;
}
public class ViewModel
{
public cons... |
osu.Game.Rulesets.Karaoke/Mods/KaraokeModDoubleTime.cs | osu-Karaoke/osu-Karaoke-legacy | 0 | 7052014 | // Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Timing;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Karaoke.Mods
{
/// <summary>
/... |
Tech Module/Programming Fundamentals/LabsAndExercises/07.DataTypesAndVariablesExercises/p18.04.DifferentIntegersSize/Program.cs | vesy53/SoftUni | 0 | 7052015 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace p18DifferentIntegersSize3
{
class Program
{
static void Main(string[] args)
{
string number = Console.ReadLine();
try
{
long num = long.Parse(number);
Lis... |
MobaHeros/DumpBase.cs | moto2002/mobahero_src | 4 | 7052016 | using System;
namespace MobaHeros
{
public abstract class DumpBase : IDisposable, IDumpable
{
protected DumpBase()
{
DumpableMgr.Register(this);
}
public void Dispose()
{
DumpableMgr.Unregister(this);
}
public abstract void Dump();
}
}
|
Acme.Content/Services/IContentValidationService.cs | Achilles-Software/Acme.Content | 0 | 7052017 | #region Copyright Notice
// Copyright (c) by Achilles Software, All rights reserved.
//
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Send questions regarding this copyright notice to: mailto:<EMAIL>
#endregion
#region Namespaces
using Achilles.Acme.Data.Serv... |
SubModule.cs | LesserScholar/UsefulUiDebug | 0 | 7052018 | <filename>SubModule.cs
using HarmonyLib;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using TaleWorlds.Core;
using TaleWorlds.Engine;
using TaleWorlds.Engine.GauntletUI;
using TaleWorlds.Engine.Screens;
using TaleWorlds.GauntletUI;
using TaleWorlds.InputSystem;
using TaleWorlds.Mo... |
Examples/Gorgon.Graphics/SobelComputeEngine/Sobel.cs | Tape-Worm/Gorgon | 55 | 7052019 | #region MIT
//
// Gorgon.
// Copyright (C) 2017 <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, m... |
EthosClient/Menu/Quick Access Buttons/QuickMenuButton.cs | Mou-Ikkai/EthosClient | 1 | 7052020 | <gh_stars>1-10
using EthosClient.Settings;
using EthosClient.Utils;
using EthosClient.Wrappers;
using Il2CppSystem.Threading;
using RubyButtonAPI;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using UnityE... |
AoC_2019/Problem19.cs | eduherminio/AoC2019 | 1 | 7052021 | using System;
using AoC_2019.IntCode;
using SheepTools.Model;
using AoCHelper;
using FileParser;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Channels;
using System.Threading.Tasks;
namespace AoC_2019
{
public class Problem19 : BaseProblem
{
public ove... |
06 Laser Defender/Assets/Prefabs/Player/Projectile.cs | drikusroor/unitycourse | 0 | 7052022 | <filename>06 Laser Defender/Assets/Prefabs/Player/Projectile.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour {
public float damage = 100f;
private float timeBeforeDestroy = 3f;
public GameObject laserSmoke;
private void Star... |
RedStar.Amounts.StandardUnits/ElectricUnits.cs | petermorlion/RedStar.Amounts | 5 | 7052023 | <filename>RedStar.Amounts.StandardUnits/ElectricUnits.cs
namespace RedStar.Amounts.StandardUnits
{
[UnitDefinitionClass]
public static class ElectricUnits
{
public static readonly Unit Ampere = new Unit("ampere", "A", SIUnitTypes.ElectricCurrent);
public static readonly Unit MilliAmpere = n... |
MeshComposerLib/MeshComposerLib/Geometry/PointsPath/Space2D/MappedPointsPath2D.cs | ga-explorer/GMac | 8 | 7052024 | <filename>MeshComposerLib/MeshComposerLib/Geometry/PointsPath/Space2D/MappedPointsPath2D.cs
using System;
using DataStructuresLib.Sequences.Periodic1D;
using EuclideanGeometryLib.BasicMath.Tuples;
namespace MeshComposerLib.Geometry.PointsPath.Space2D
{
public sealed class MappedPointsPath2D
: PSeqMapped1D... |
uScript_Dev/Assets/uScript/uScriptEditor/Editor/uScriptUtility.cs | detoxstudios/uscript | 5 | 7052025 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="uScriptUtility.cs" company="Detox Studios, LLC">
// Copyright 2010-2015 Detox Studios, LLC. All rights reserved.
// </copyright>
// <summary>
// This file contains a collection... |
src/Evaluation/Triggers/Asin.cs | BlazesRus/xnamugen | 31 | 7052026 | using System;
using xnaMugen.Combat;
namespace xnaMugen.Evaluation.Triggers
{
[CustomFunction("Asin")]
internal static class Asin
{
public static float Evaluate(Character character, ref bool error, float value)
{
if (value < -1 || value > 1)
{
error = true;
return 0;
}
r... |
apis/Google.Cloud.EntityFrameworkCore.Spanner/Google.Cloud.EntityFrameworkCore.Spanner.IntegrationTests/DefaultValuesTest.cs | lkts/google-cloud-dotnet | 0 | 7052027 | <reponame>lkts/google-cloud-dotnet
// Copyright 2017 Google Inc. All Rights Reserved.
//
// 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... |
Samples/IocAbstractions.Samples.Console/Properties/AssemblyInfo.cs | lecode-official/ioc-abstractions | 1 | 7052028 | <filename>Samples/IocAbstractions.Samples.Console/Properties/AssemblyInfo.cs
#region Using Directives
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
#region General Assembly Information
[assembly: AssemblyTitle("IocAbstractions Console Sample")]
[assembly: AssemblyDescription("A console... |
CSharpMath/Interfaces/IFraction.cs | truthiswill/CSharpMath | 1 | 7052029 | using System;
using System.Collections.Generic;
using System.Text;
namespace CSharpMath.Interfaces {
public interface IFraction : IMathAtom {
IMathList Numerator { get; set; }
IMathList Denominator { get; set;}
/// <summary>
/// In this context, a "rule" is a fraction line.
/// </summa... |
src/Runner.Worker/Expressions/AlwaysFunction.cs | thyeggman/runner | 43 | 7052031 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GitHub.DistributedTask.Expressions2;
using GitHub.DistributedTask.Expressions2.Sdk;
using GitHub.DistributedTask.WebApi;
using GitHub.Runner.Common;
using GitHub.Runner.Common.Util;
using GitHub.Runner... |
src/Cosmos.Extensions.Domain/Cosmos/Domain/EntityDescriptors/ILockable.cs | alexinea/Cosmos.Standard | 0 | 7052033 | namespace Cosmos.Domain.EntityDescriptors
{
/// <summary>
/// To flag this entity can be locked.
/// </summary>
public interface ILockable
{
/// <summary>
/// Is locked
/// </summary>
bool IsLocked { get; set; }
}
} |
PerfectCamera/Filters/Artistic/SurroundedFilter.cs | KayNag/LumiaImagingSDKSample | 2 | 7052034 | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Lumia.Imaging;
using Lumia.Imaging.Adjustments;
using Lumia.InteropServices.WindowsRuntime;
using PerfectCamera.Filters.FilterControls;
namespace PerfectCamera.Filters.Artistic
{
public class Su... |
SkeletonExample/SkeletonExample/Pages/Page7.xaml.cs | twsuneth/Xamarin.Forms.Skeleton | 302 | 7052035 | using System;
using System.Collections.Generic;
using SkeletonExample.ViewModels;
using Xamarin.Forms;
namespace SkeletonExample.Pages
{
public partial class Page7 : BasePage
{
public Page7()
{
InitializeComponent();
BindingContext = new Page7ViewModel();
}
... |
Assets/Scripts/Resource.cs | NCSUVGDC/ELF_RTS | 1 | 7052036 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public enum ResourceType
{
wood
}
public class Resource : MonoBehaviour
{
public ResourceType type;
public int quantity;
public UnityEvent onQuantityChange;
public void GatherResource (int a... |
source/Forms/GlobalOptionsDialog.Designer.cs | mysql/mysql-for-excel | 40 | 7052037 | // Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; version 2 of the
// License.
//
// This program is d... |
Web/PastExams/18-Dec-2018_Musaca/Musaca.Services/UserService.cs | kovachevmartin/SoftUni | 0 | 7052038 | <reponame>kovachevmartin/SoftUni
namespace Musaca.Services
{
using Musaca.Data;
using Musaca.Models;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
public class UserService : IUserService
{
private readonly MusacaDbContext musacaContext;
private r... |
Cn.Hardnuts.MainModule/ViewModels/IndexViewModel.cs | bing8shan/SHM | 0 | 7052039 | <reponame>bing8shan/SHM
using Cn.Hardnuts.ICommService.Comm;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
name... |
src/Lib/CommonLibrary.NET/_Core/Lang/Types/Javascript/LJSStringMethods.cs | joelverhagen/Knapcode.CommonLibrary.NET | 1 | 7052040 | using System.Text;
using System.Text.RegularExpressions;
namespace ComLib.Lang.Types
{
/// <summary>
/// Methods on the string datatype.
/// </summary>
public class LJSStringMethods : LTypeMethods
{
/// <summary>
/// Initialize
/// </summary>
public LJSStringMeth... |
SunriseApi.cs | Archnoc/sunrise-launcher | 0 | 7052041 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace sunrise_launcher
{
public class SunriseApi : IManifest
{
private static HttpClien... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.