max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/ICSharpCode.SharpZipLib.Zip/ZipConstants.cs | moto2002/jiandangjianghu | 0 | 7038546 | using System;
using System.Text;
namespace ICSharpCode.SharpZipLib.Zip
{
public sealed class ZipConstants
{
public const int VersionMadeBy = 51;
[Obsolete("Use VersionMadeBy instead")]
public const int VERSION_MADE_BY = 51;
public const int VersionStrongEncryption = 50;
[Obsolete("Use VersionStrongEncry... |
Mobile/Mobile.Common/Fab.cs | Georgekibet/VoteTalyingSystem | 0 | 7038547 | <gh_stars>0
using System;
using Android.Animation;
using Android.Content;
using Android.Graphics;
using Android.Graphics.Drawables;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Views.Animations;
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 <NAME>
* Copyright (c) 2014 <NAME>
*... |
DDDWebApiAngularJS.InfrastructureLayer.Data/Repositories/UserRepository.cs | RoganMelo/DDDWebApiAngularJS | 0 | 7038548 | <filename>DDDWebApiAngularJS.InfrastructureLayer.Data/Repositories/UserRepository.cs
using DDDWebApiAngularJS.DomainLayer.Domain.Entities.User.Contracts.Repository;
using DDDWebApiAngularJS.DomainLayer.Domain.Entities.User.Model;
using DDDWebApiAngularJS.DomainLayer.SharedKernel.UnitOfWork.Contract;
using NHibernate.L... |
Models/Contest/AddWorkRequest.cs | obodnar0/majestics | 0 | 7038549 | using Newtonsoft.Json;
namespace Majestics.Models.Contest
{
public class AddWorkRequest
{
public string ContestId { get; set; }
public string Source { get; set; }
public string Title { get; set; }
public string Description { get; set; }
[JsonIgnore]
public s... |
FigurativelyMagic.cs | Symulation12/MightBeMagic | 0 | 7038550 | using System;
using Advanced_Combat_Tracker;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.IO;
using System.Collections.Generic;
/* Instructions for adding new things
* 1. Go to the InitTriggers function
* 2. add a new trigger to the triggers list
* 3. Done
*
* Syntax looks lik... |
src/SourceCode.Clay.OpenApi/OasOAuth2SecurityScheme.cs | grant-d/Clay | 0 | 7038551 | <filename>src/SourceCode.Clay.OpenApi/OasOAuth2SecurityScheme.cs
#region License
// Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
#endregion
using System;
namespace SourceCod... |
Demo/Assets/Scripts/Logic/UI/Login/LoginMediator_0.cs | su9257/FamilyBucket | 1 | 7038552 | <gh_stars>1-10
using PureMVC.Interfaces;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoginMediator_0 : UnityMediator
{
public LoginMediator_0(string mediatorName, object viewComponent = null) : base(mediatorName, viewComponent)
{
}
public override void ... |
Parliament.Data.Api.FixedQuery/Global.asax.cs | ukparliament/Query | 1 | 7038553 | <gh_stars>1-10
// MIT License
//
// Copyright (c) 2019 UK Parliament
//
// 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, ... |
src/Saritasa.Tools.Messages/Commands/CommandPipeline.cs | jzabroski/SaritasaTools | 1 | 7038555 | <reponame>jzabroski/SaritasaTools
// Copyright (c) 2015-2017, Saritasa. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
using System;
using Saritasa.Tools.Messages.Abstractions;
using Saritasa.Tools.Messages.Abstractions.Commands;
using Sarita... |
Manatee.Trello/Contracts/IReadOnlyNotificationCollection.cs | alexrazv/Manatee.Trello | 116 | 7038556 | <reponame>alexrazv/Manatee.Trello
using System.Collections.Generic;
namespace Manatee.Trello
{
/// <summary>
/// A read-only collection of notifications.
/// </summary>
public interface IReadOnlyNotificationCollection : IReadOnlyCollection<INotification>
{
/// <summary>
/// Adds a filter to the collection.
... |
Assets/Scripts/Nodes/Functionals/Logical/BooleanSampleNode.cs | RealityProgrammer/Tractatori | 1 | 7038557 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CustomizeSearchPath("Functionals/Logical/Boolean Sample Node")]
public class BooleanSampleNode : BaseRuntimeNode {
[field: SerializeField, ExpectedInputType(typeof(Boolean4))]
public FlowInput Boolean { get; set; } = FlowInput.Nul... |
ApplicationSample/Properties/Settings.Designer.cs | aldentea/WpfApplicationWithDocument | 1 | 7038558 | //------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.34209
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... |
core/module/inventory/agent/windows/Agent/Agent.cs | mikljohansson/syndicate | 0 | 7038559 | using System;
using System.Xml;
namespace Inventory {
class Agent {
private ITransport Transport;
private XmlNode Config;
private string ChannelUri;
public Agent(ITransport transport, XmlNode config) : this(transport, config, null) { }
public Agent(ITransport transport, XmlNode config, strin... |
Assets/Script/Input/MicrophoneInput.cs | benguiden/UnityVRPrototype | 0 | 7038560 | <filename>Assets/Script/Input/MicrophoneInput.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MicrophoneInput : MonoBehaviour {
private AudioSource audioSource;
public string audioDevice;
public TextMesh worldText;
private void Awake() {
audioSo... |
Projects/Lint/FhirResources.cs | PenRadTech/Fhir.BreastRadiologyProfiles | 2 | 7038561 | <reponame>PenRadTech/Fhir.BreastRadiologyProfiles
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hl7.Fhir.ElementModel;
using Hl7.Fhir.Model;
using Hl7.Fhir.Serialization;
namespace Lint
{
class FhirResources
{
... |
Website/DesktopModules/Hotcakes/Core/Admin/Controls/AffiliatePaymentEditor.ascx.cs | puresystems/hotcakes-commerce-core | 29 | 7038562 | #region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
// Copyright (c) 2020 Upendo Ventures, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and asso... |
src/Lykke.AlgoStore.CSharp.AlgoTemplate.Models/Entities/AlgoInstanceTradeEntity.cs | LykkeCity/Lykke.AlgoStore.CSharp.AlgoTemplate | 0 | 7038563 | using System;
using Lykke.AlgoStore.CSharp.AlgoTemplate.Models.Enumerators;
using Lykke.AzureStorage.Tables;
using Microsoft.WindowsAzure.Storage.Table;
namespace Lykke.AlgoStore.CSharp.AlgoTemplate.Models.Entities
{
public class AlgoInstanceTradeEntity : TableEntity
{
public string InstanceId { get; ... |
Assets/Creature/Brain/Brain.cs | reubenjohn/AEvo2D | 7 | 7038564 | <reponame>reubenjohn/AEvo2D
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public abstract class Brain : MonoBehaviour
{
protected ISensor[] sensors;
protected IActuator[] actuators;
private bool hudUpdateRequired = true;
public void Connect(ISensor[] sensors... |
04C#UnitTesting&DesignPatterns/Exam120218/Solution/Traveller/Core/Constants.cs | dobri19/TelerikHomeWork | 0 | 7038565 | <filename>04C#UnitTesting&DesignPatterns/Exam120218/Solution/Traveller/Core/Constants.cs
namespace Traveller.Core
{
public class Constants
{
public virtual string FailedParseErrorMessage => "Failed to parse CreateTicket command parameters.";
public virtual string TicketCreationMessage => "Ticke... |
src/PortableGdi/Imaging/ImageFormats/Jpeg/ScanDecoder/JpegHuffmanLosslessScanDecoder.cs | i-e-b/Formation | 0 | 7038566 | #nullable enable
using System;
using System.Runtime.CompilerServices;
namespace Portable.Drawing.Imaging.ImageFormats.Jpeg.ScanDecoder
{
internal sealed class JpegHuffmanLosslessScanDecoder : JpegHuffmanScanDecoder
{
private readonly JpegFrameHeader _frameHeader;
private readonly ushort _res... |
src/AuthApp.Domian/Identity/UserRole/UserRole.cs | wangzhe66369/DDD | 1 | 7038567 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
using VCrisp.Domain.Abstractions;
namespace AuthApp.Domian.Identity
{
public class User... |
Assets/Scripts/di_tu.cs | P-P-Egg/Oneday | 0 | 7038569 | <filename>Assets/Scripts/di_tu.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class di_tu : MonoBehaviour
{
public Transform road1;
public Transform zhu_jue;
public GameObject[] road;// 路的数组
public GameObject[] qj_shuye1;//前景树叶的数组
public GameObject[] yun_... |
DAL/Managers/EmployeesManager.cs | mrscaper/EmployeeRegister | 0 | 7038570 | <reponame>mrscaper/EmployeeRegister
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL.Models;
namespace DAL
{
/// <summary>
/// Data access for employee records
/// </summary>
public class EmployeesMa... |
fantasy-backend/fantasy-backend/Context/FantasyContext.cs | JeanConnory/Fantasy | 0 | 7038571 | using fantasy_backend.Models;
using System;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace fantasy_backend.Context
{
public class FantasyContext : DbContext
{
public FantasyContext() : base("FantasyConnection") { }
public DbSet<Participante> Parti... |
src/CakeWebApp.Services.Common/Contracts/IErrorService.cs | EvaSRGitHub/CakeItWebApp | 0 | 7038572 | <gh_stars>0
using CakeItWebApp.ViewModels;
using System.Collections.Generic;
namespace CakeWebApp.Services.Common.Contracts
{
public interface IErrorService
{
object ErrorParm { get; }
//work for pages
void PassErrorParam(object param);
//work for mvc
ErrorVie... |
src/EcsRx.Plugins.Buffs/Systems/EffectTimingSystem.cs | EcsRx/ecsrx.buffs | 10 | 7038573 | <reponame>EcsRx/ecsrx.buffs<filename>src/EcsRx.Plugins.Buffs/Systems/EffectTimingSystem.cs
using System;
using EcsRx.Entities;
using EcsRx.Events;
using EcsRx.Extensions;
using EcsRx.Groups;
using EcsRx.Plugins.Buffs.Components;
using EcsRx.Plugins.Buffs.Events;
using EcsRx.Plugins.Buffs.Extensions;
using EcsRx.Schedu... |
ChatApp-Api/Controllers/UsersController.cs | ut786/FincaChat | 0 | 7038574 | <filename>ChatApp-Api/Controllers/UsersController.cs
using ChatApp_Api.ApiModels;
using ChatApp_Api.Models;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Description;
namespace ChatApp_Api.Controllers
{
/// <summary>
... |
src/Unicorn.Tests.Unit/Writer/Utility/EnumerableStreamUnitTests.cs | caitlinsalt/unicorn | 0 | 7038576 | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using Tests.Utility.Extensions;
using Tests.Utility.Providers;
using Unicorn.Writer.Utility;
namespace Unicorn.Tests.Unit.Writer.Utility
{
[TestClass]
public class EnumerableStreamUnitTests
{
private sta... |
src/Doggo.Core/API/Rest/RestResponse.cs | Doggo/Core | 0 | 7038577 | using Newtonsoft.Json;
using System.Net;
namespace Doggo
{
public class RestResponse
{
public HttpStatusCode StatusCode { get; }
public string Body { get; }
public RestResponse(HttpStatusCode code, string body)
{
StatusCode = code;
Body = body;
... |
FoxTunes.UI.Windows.LibraryBrowser/Extensions/LibraryBrowserExtensions_ItemsPanelSelector.cs | aidan-g/FoxTunes | 22 | 7038578 | <filename>FoxTunes.UI.Windows.LibraryBrowser/Extensions/LibraryBrowserExtensions_ItemsPanelSelector.cs
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
namespace FoxTunes
{
public static partial class LibraryBrowserExtensions
{
private static readonly... |
ClosePrompt64Package.cs | julianmaas/ClosePrompt64 | 0 | 7038579 | <gh_stars>0
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace ClosePrompt64
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[InstalledProductRegistration("Close Pro... |
SOURCE/ITA.Common.Installers/CommonPerfCounterInstaller.cs | italabs/ITA.Common | 0 | 7038580 | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using ITA.Common.Host.Enums;
using ITA.Common.Host.Windows.Extensions;
using log4net;
namespace ITA.Common.Ho... |
OnlineFitnessShop/ViewModels/Kupac/OdjecaShopVM.cs | bumbuledin/Online-Fitness-Shop | 0 | 7038581 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OnlineFitnessShop.ViewModels.Kupac
{
public class OdjecaShopVM
{
public List<Odjeca> podaciOdjeca { get; set; }
public class Odjeca
{
public int OdjecaID { get; set; ... |
Source/Extensibility/CSEvalClient/Program.cs | alexboukhvalova/CNTK | 0 | 7038582 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
// Program.cs -- main C# file that contains client code to call the CLI Wrapper class.
//
using System;
using System.Collections.Generic;
using System.IO;
usi... |
Part4_YellowPages/EntityLayer/Entities/Concrete/User.cs | Hasanaltan-cpu/DataAccessRepo | 5 | 7038583 | using Part4_YellowPages.EntityLayer.Entities.Abstract;
using Part4_YellowPages.EntityLayer.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespa... |
Source/Main/UI/FileGroups/FileGroupSettingsForm.Designer.cs | kyle208/ZetaResourceEditor | 217 | 7038584 | <filename>Source/Main/UI/FileGroups/FileGroupSettingsForm.Designer.cs
namespace ZetaResourceEditor.UI.FileGroups
{
using DevExpress.XtraEditors;
partial class FileGroupSettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null... |
Samples/GdiW3cSvgTestSuite/Expander/Expander.Designer.cs | BJN-A/SharpVectors | 450 | 7038585 | namespace WinFormsExpander
{
partial class Expander
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... |
Hazelcast.Net/Hazelcast.Net.Ext/AtomicBoolean.cs | mogatti/hazelcast-csharp-client | 0 | 7038586 | <filename>Hazelcast.Net/Hazelcast.Net.Ext/AtomicBoolean.cs<gh_stars>0
// Copyright (c) 2008-2020, Hazelcast, 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
// ... |
Demo/UnitsOfMeasurement/Units/Pascal.cs | mangh/UnitsOfMeasurement | 11 | 7038587 | <filename>Demo/UnitsOfMeasurement/Units/Pascal.cs<gh_stars>10-100
/*******************************************************************************
Units of Measurement for C# applications
Copyright (C) <NAME>
This program is provided to you under the terms of the license
as published at https://githu... |
Program.cs | BrunoLopes/Xperiments.DesignPatterns.Strategy | 0 | 7038588 | <gh_stars>0
using System;
using Xperiments.DesignPatterns.Strategy.Models;
namespace Xperiments.DesignPatterns.Strategy
{
class Program
{
static void Main(string[] args)
{
Imposto iss = new ISS();
Imposto icms = new ICMS();
Orcamento orcamento = new Orcamento(5... |
Alba.CsConsoleFormat.Tests/Framework/Reflection/DynamicCallerTests.cs | Athari/CsConsoleFormat | 329 | 7038589 | <reponame>Athari/CsConsoleFormat<filename>Alba.CsConsoleFormat.Tests/Framework/Reflection/DynamicCallerTests.cs
using System;
using Alba.CsConsoleFormat.Framework.Reflection;
using FluentAssertions;
using Xunit;
namespace Alba.CsConsoleFormat.Tests.Framework.Reflection
{
public sealed class DynamicCallerTests
... |
Source/Plugins/NrPlugin/SignalModel/Subblock/Carrier/BandwidthParts/Coresets/Coreset.cs | NISystemsEngineering/rfmx-signal-creator | 2 | 7038590 | using System.Collections.Generic;
using NationalInstruments.RFmx.NRMX;
namespace NationalInstruments.Utilities.SignalCreator.Plugins.NrPlugin.SignalModel
{
using Serialization;
using Serialization.Converters;
internal class CoresetSettings
{
private int? parsedRegBundleSize;
private i... |
Assets/AIBrain/BehaviorModule.cs | UnityGuillaume/Prototypes | 1 | 7038591 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class BehaviorModule
{
public abstract void Execute(Brain origin);
}
public class FollowModule : BehaviorModule
{
public override void Execute(Brain origin)
{
Vector3 toward... |
Rester/RestResponse.cs | usausa/Smart-Net-Forms-Components | 0 | 7038592 | <filename>Rester/RestResponse.cs
namespace Rester;
using System.Net;
public interface IRestResponse
{
RestResult RestResult { get; }
HttpStatusCode StatusCode { get; }
Exception? InnerException { get; }
}
public interface IRestResponse<out T> : IRestResponse
{
T? Content { get; }
}
public sealed c... |
sdk/dotnet/src/Microsoft.Datasync.Client/Offline/PushCompletionResult.cs | fileman/azure-mobile-apps | 0 | 7038593 | // Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Microsoft.Datasync.Client.Offline.Queue;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace Microsoft.Datasync.Client.Offline
{
/// <summary>
/// The result ... |
Relay_Tests/tests/RelayTreeNodeTests.cs | eriksvedang/Relay | 6 | 7038594 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RelayLib;
using NUnit.Framework;
namespace Relay_Tests
{
[TestFixture]
public class RelayTreeNodeTests
{
RelayTwo _relay;
RelayTreeRunner _runner;
[SetUp]
public void ... |
src/Glued/PartialExtensions.Action.cs | corker/Glued | 3 | 7038595 | <reponame>corker/Glued
using System;
namespace Glued
{
public static partial class PartialExtensions
{
public static Action<T2>
Partial<T1, T2>(this Action<T1, T2> source, T1 t1)
{
return t2 => source(t1, t2);
}
public static Action<T2, T3>
... |
Qsi/Tree.Base/Actions/QsiDataInsertActionNode.cs | ScriptBox99/chequer-qsi | 36 | 7038596 | using System.Linq;
using System.Collections.Generic;
using Qsi.Data;
using Qsi.Utilities;
namespace Qsi.Tree
{
public class QsiDataInsertActionNode : QsiActionNode, IQsiDataInsertActionNode
{
public QsiTreeNodeProperty<QsiTableDirectivesNode> Directives { get; }
public QsiTreeNodeProperty<Qsi... |
CSharpTwo/0202.MultidimensionalArrays/03.SequenceNInMatrix/SequenceNInMatrix.cs | TemplarRei/TelerikAcademy | 0 | 7038597 | <reponame>TemplarRei/TelerikAcademy
using System;
using System.Collections.Generic;
using System.Linq;
class SequenceNInMatrix
{
static readonly int[,] directions = { { 0, 1 }, { 1, 1 }, { -1, 1 }, { 1, 0 } };
static void Main()
{
string[,] matrix = {{"ha", "fifi", "ho", "hi"},
... |
TestSuites/RDP/Server/src/Plugin/RDPServerPlugin/DetectionResultControl.cs | G-arj/WindowsProtocolTestSuites | 332 | 7038598 | <filename>TestSuites/RDP/Server/src/Plugin/RDPServerPlugin/DetectionResultControl.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestManager.Detector;
using System.Collections.Generic;
... |
Sigma/Old/Wrappers/Clang.cs | NightEule5/Sigma | 0 | 7038599 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace SigmaOld.Wrappers
{
/// <summary>
/// A wrapper for the Clang/LLVM compiler ecosystem. Status: Incomplete
/// </summary>
public class Clang
{
/// <summary>
/// The path to the directory where t... |
Source/UnitTests/ManagedIrbis/Server/ServerUtilityTest.cs | fossabot/ManagedIrbis | 0 | 7038600 | using System.IO;
using System.Net;
using System.Threading.Tasks;
using AM.IO;
using JetBrains.Annotations;
using ManagedIrbis;
using ManagedIrbis.Client;
using ManagedIrbis.Infrastructure;
using ManagedIrbis.Menus;
using ManagedIrbis.Search;
using ManagedIrbis.Server;
using Microsoft.VisualStudio.TestTools.UnitTes... |
Assets/Scripts/Dungeon/FloorParameter.cs | Papyrustaro/UnderDungeon | 0 | 7038601 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 各階層毎に設定するパラメータ保持クラス(例: マップの大きさ、出現する敵など)
/// </summary>
public class FloorParameter : MonoBehaviour
{
[SerializeField] private E_Dungeon dungeonID;
[SerializeField] private int floorNumber;
... |
ical.NET/Interfaces/General/IParameterCollection.cs | jhsowter/ical.net | 3 | 7038602 | <gh_stars>1-10
using System.Collections.Generic;
using ical.NET.Collections.Interfaces;
using Ical.Net.General;
namespace Ical.Net.Interfaces.General
{
public interface IParameterCollection : IGroupedList<string, CalendarParameter>
{
void SetParent(ICalendarObject parent);
void Add(string name... |
web/HHSBoard/HHSBoard/Controllers/HomeController.cs | zeshan321/HHS-Virtual-Huddle-Board | 4 | 7038606 | using HHSBoard.Data;
using HHSBoard.Models;
using HHSBoard.Models.CelebrationViewModels;
using HHSBoard.Models.HomeViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Diagnostics;
using System.Linq;... |
src/JetBrains.Space.Client/Generated/Enums/HAMethod.generated.cs | PatrickRatzow/space-dotnet-sdk | 0 | 7038607 | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ---------------------------------------... |
LitterBug/LitterBugApp/LitterBugApp/ViewModels/Navigation/TabNavPageViewModel.cs | dmoor-viewpoint/uitgsot | 0 | 7038608 | using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LitterBugApp.ViewModels.Navigation
{
public class TabNavPageViewModel : BindableBase
{
public TabNavPageViewModel()
{
}
}
}
|
ThreeJs4Net/Math/Ray.cs | threejs4net/threejs4net | 12 | 7038609 | using System;
namespace ThreeJs4Net.Math
{
public class Ray : IEquatable<Ray>
{
public Vector3 Origin = new Vector3();
public Vector3 Direction = new Vector3(0, 0, -1);
/// <summary>
///
/// </summary>
public Ray()
{
}
/// <summary>
... |
src/Fluxera.Repository.Abstractions/Specifications/ISpecification.cs | fluxera/Fluxera.Repository | 1 | 7038610 | <gh_stars>1-10
namespace Fluxera.Repository.Specifications
{
using System;
using System.Linq;
using System.Linq.Expressions;
using JetBrains.Annotations;
/// <summary>
/// A contact for specifications.
/// </summary>
/// <typeparam name="T">The type of the object to which the specification is applied.</typ... |
ConsoleProject/RaceConditionTest.cs | rogithub/LunchAndLearnFSharp | 0 | 7038612 | <reponame>rogithub/LunchAndLearnFSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
namespace ConsoleProject
{
public class RaceConditionTest
{
public static void Test()
{
... |
LINQ_In_Manhattan/LINQ_In_Manhattan/Program.cs | paulritzman/Lab08_LINQ_In_Manhattan | 0 | 7038613 | using System;
using System.Linq;
using System.Collections.Generic;
using LINQ_In_Manhattan.Classes;
namespace LINQ_In_Manhattan
{
public class Program
{
public static void Main(string[] args)
{
/*
* Code block which deserializes JSON file and prints all neighborhoods
... |
legacy-api/dotnet/Streaming/Streaming/Streaming.cs | mirza-jahangeer/NCache-Samples | 3 | 7038614 | // ===============================================================================
// Alachisoft (R) NCache Sample Code.
// NCache StreamingAPI sample
// ===============================================================================
// Copyright © Alachisoft. All rights reserved.
// THIS CODE AND INFORMATION IS PROV... |
test/TWCore.Tests/EncryptionTest.cs | tonyredondo/TWCore2 | 29 | 7038615 | using TWCore.Security;
using TWCore.Services;
// ReSharper disable ConvertToConstant.Local
// ReSharper disable UnusedMember.Global
namespace TWCore.Tests
{
/// <inheritdoc />
public class EncryptionTest : ContainerParameterService
{
public EncryptionTest() : base("encryptiontest", "Encryption Test") { }... |
SamplePrism.Presentation.Common/ModelBase/MapController.cs | chengming0916/SimplePrism | 0 | 7038616 | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.Practices.ServiceLocation;
using SamplePrism.Infrastructure.Data;
using SamplePrism.Localization.Properties;
using SamplePrism.Presentation.Common.Commands;
using SamplePrism.Presentation.Services;
using SamplePr... |
osu.Game/Overlays/Settings/Sections/Graphics/DetailSettings.cs | manuth/osu | 3 | 7038617 | <reponame>manuth/osu
// Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Graphics... |
src/Samples/ParameterConvertor/Txn.cs | isdaniel/BlogSample | 0 | 7038618 | using System;
namespace ParameterConvertor
{
public class Txn
{
public DateTime DateCreatedUTC { get; set; }
public DateTime? ProductDatetime { get; set; }
public ProductGroup ProductGroupID { get; set; }
public string ProcessCode { get; set; }
public string ProcessT... |
vendors/gapi/Src/google-api-dotnet-client.contrib/20110622-0.8.3.40886/Generated/Source/TranslateService.cs | Victhor94/loggencsg | 0 | 7038619 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.235
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... |
Labs/ContactManager.UI/ContactManager/IMessageService.cs | jtperkins/itse1430 | 0 | 7038620 | /**********************************************************
*
* <NAME>
* ITSE 1430
* 4/13/2019
*
* ********************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ContactManager
{
publi... |
src/CostManagement/generated/api/Support/AlertCriteria.cs | mbentancour/azure-powershell | 3,336 | 7038621 | <filename>src/CostManagement/generated/api/Support/AlertCriteria.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect b... |
HealthCare020.Core/Request/UputnicaUpsertDto.cs | fahirmdz/HealthCare020 | 0 | 7038622 | using System;
using HealthCare020.Core.ValidationAttributes;
namespace HealthCare020.Core.Request
{
public class UputnicaUpsertDto
{
[RequiredWithMessage()]
public int PacijentId { get; set; }
[RequiredWithMessage]
public int UpucenKodDoktoraId { get; set; }
[Required... |
ActiveDirectory.NETStandard/Object/PasswordSettings.cs | FotoFinderDev/ActiveDirectory.NETStandard | 0 | 7038623 | using ActiveDirectory.NETStandard.Attribute;
using ActiveDirectory.NETStandard.Attribute.ValueAdapter;
using ActiveDirectory.NETStandard.Query.Filter;
using System.Collections.Generic;
using System.DirectoryServices;
namespace ActiveDirectory.NETStandard.Object
{
public class PasswordSettings : ActiveDirectoryObj... |
GameFrameWork/ThirdParty/ResourceCheckerPlus/Editor/BaseChecker/Checker/SceneChecker.cs | 517752548/UnityFramework | 1 | 7038624 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace ResourceCheckerPlus
{
public class SceneChecker : ObjectChecker
{
public class SceneDetail : ObjectDetail
{
public SceneDetail(Object obj, ObjectChecker checke... |
src/SnippetDesigner/Tagger/SnippetReplacementTaggerProvider.cs | mfe-/SnippetDesigner | 352 | 7038625 | <reponame>mfe-/SnippetDesigner
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Operations;
using Microsoft.VisualStudio.Text.Tagging;
using Microsoft.VisualStudio.Ut... |
SPSimpleSlider/SPSimpleSliderUserControl.ascx.designer.cs | CesarValverdeG/SharePointSimpleSlider | 0 | 7038626 | <reponame>CesarValverdeG/SharePointSimpleSlider
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gener... |
src/CoinBot.Discord/Commands/InterpretedCoinInfo.cs | funfair-tech/CoinBot | 16 | 7038627 | using System;
using System.Collections.Generic;
using System.Linq;
using CoinBot.Core;
using CoinBot.Core.Helpers;
namespace CoinBot.Discord.Commands;
internal sealed class InterpretedCoinInfo : ICoinInfo
{
public InterpretedCoinInfo(Currency currency, MarketManager marketManager, Currency? usd, Currency? eth, C... |
01 - CSharp-Basics/Week 8 - Online Exam/honeyWinterReserves/Program.cs | shllshckd/SoftUni-Programming-Basics-March-2020 | 0 | 7038628 | using System;
namespace honeyWinterReserves
{
class Program
{
static void Main(string[] args)
{
int honeyNeeded = int.Parse(Console.ReadLine());
string command = "";
double honeyTotal = 0.0;
while (command != "Winter has come")
{
... |
Models/LedgerEntry.cs | eouw0o83hf/ball-in-chair | 0 | 7038629 | <gh_stars>0
using NodaTime;
using System;
namespace BallInChair.Models
{
public class LedgerEntry
{
public Guid Id { get; set; }
public Guid PlayerId { get; set; }
public Guid? RoundId { get; set; }
public int Amount { get; set; }
public LedgerType Type { get; set; }... |
Game.NET/IExpansion.cs | calebc107/Game.NET | 1 | 7038630 | <gh_stars>1-10
namespace GameNET
{
/// <summary>
/// Interface defining common methods between gameObject expansions
/// </summary>
public interface IExpansion
{
/// <summary>
/// GameObject that this expanison belongs to
/// </summary>
GameObject parent { get; set; ... |
Runtime/Scripts/Api/V1/Models/FileV1.cs | bluecadet/OpenAi-Api-Unity | 49 | 7038631 | <filename>Runtime/Scripts/Api/V1/Models/FileV1.cs
using OpenAi.Json;
namespace OpenAi.Api.V1
{
/// <summary>
/// Info about a file. <see cref="https://beta.openai.com/docs/api-reference/files/list"/>
/// </summary>
public class FileV1 : AModelV1
{
/// <summary>
/// Engine id
... |
runtime/CSharp/runtime/CSharp/Antlr4.Runtime/CommonTokenFactory.cs | charwliu/antlr4 | 0 | 7038632 | <filename>runtime/CSharp/runtime/CSharp/Antlr4.Runtime/CommonTokenFactory.cs<gh_stars>0
/* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using System;
using Antlr4.Runtime;... |
TouhouLauncher.Test/Models/Application/FileSystemBrowserServiceTest.cs | McFlyboy/TouhouLauncher | 3 | 7038633 | <reponame>McFlyboy/TouhouLauncher<gh_stars>1-10
using TouhouLauncher.Models.Application;
using Xunit;
using static TouhouLauncher.Models.Application.FileSystemBrowserService;
namespace TouhouLauncher.Test.Models.Application {
public class FileSystemBrowserServiceTest {
private readonly FileSystemBrowserService _fi... |
NAXB.XmlDocument/XmlDocumentXPathTransformer.cs | Ei8htSe7en/NAXB | 2 | 7038634 | <reponame>Ei8htSe7en/NAXB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.XPath;
using NAXB.Interfaces;
using System.IO;
using NAXB.Xml;
namespace NAXB.XmlDOM
{
public class XmlDocumentXPathProcessor : IXPathProcessor
{
p... |
source/Tests/RealLifeScenario/Implementation/OclSerializerFactory.cs | OctopusDeploy/Hcl.NET | 3 | 7038635 | <filename>source/Tests/RealLifeScenario/Implementation/OclSerializerFactory.cs
using System;
using System.Collections.Generic;
using Octopus.Ocl;
namespace Tests.RealLifeScenario.Implementation
{
public class OclSerializerFactory
{
public IOclSerializer Create()
=> new OclSerializer(
... |
src/dotnet/ReSharperPlugin.SpecflowRiderPlugin/Formatting/GherkinCodeFormatter.cs | citizenmatt/SpecFlow.Rider | 13 | 7038636 | <filename>src/dotnet/ReSharperPlugin.SpecflowRiderPlugin/Formatting/GherkinCodeFormatter.cs
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CodeStyle;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Impl.CodeStyle;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.ReSha... |
dotnetcore/DistributedLucene/DistributedLucene/Program.cs | mirza-jahangeer/NCache-Samples | 3 | 7038637 | <reponame>mirza-jahangeer/NCache-Samples<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Alachisoft.NCache.Samples
{
/// ******************************************************************************
/// <summary>
... |
src/EA.Prsd.Core.Web/ApiClient/ApiBadRequestException.cs | uk-gov-mirror/defra.prsd-weee | 2 | 7038638 | namespace EA.Prsd.Core.Web.ApiClient
{
using System;
using System.Net;
public class ApiBadRequestException : Exception
{
public ApiBadRequestException(HttpStatusCode statusCode, ApiBadRequest badRequestData)
{
StatusCode = statusCode;
BadRequestData = badRequest... |
TrafficViewerSDK/ModifiedExtendedAsciiEncoding.cs | Bhaskers-Blu-Org1/HTTP-BlackOps | 4 | 7038640 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace TrafficViewerSDK
{
/// <summary>
/// Special encoding that converts to unicode by default
/// </summary>
publi... |
src/Shiny.Core/Locations/Platforms/ios/ShinyLocationDelegate.cs | jamesmontemagno/shiny | 0 | 7038641 | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using CoreLocation;
namespace Shiny.Locations
{
public abstract class ShinyLocationDelegate : CLLocationManagerDelegate
{
readonly Subject<CLAuthorizationStatus> statusSubject = new Subject<CLAuthorizationStatus>();
pu... |
DM.MovieApi.IntegrationTests/MovieDbApiTests.cs | mejackhumphrey/TheMovieDbWrapper | 19 | 7038642 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using DM.MovieApi.ApiRequest;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DM.MovieApi.IntegrationTests
{
[TestClass]
public class MovieDbApiTests
{
[TestMethod]
public void Ensure_... |
src/Rene.Xam.Extensions/Bootstrapping/Interfaces/IAppConfig.cs | rene15009/XamTemplate | 0 | 7038643 | <filename>src/Rene.Xam.Extensions/Bootstrapping/Interfaces/IAppConfig.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Rene.Xam.Extensions.Bootstrapping.Interfaces
{
public interface IAppConfig
{
Page ... |
src/Osc/Aggregations/Bucket/MultiTerms/MultiTermsAggregation.cs | MaxKsyunz/opensearch-net | 1 | 7038644 | /* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... |
Assets/CameraSFX.cs | dorukb/ggj2021 | 0 | 7038645 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraSFX : MonoBehaviour
{
public float warningVolume = 0.2f;
public float alarmVolume = 0.1f;
public AudioClip warningFX;
public AudioClip alarmFX;
public AudioSource src;
public void PlayWarning()
... |
AGCSW/CustomTickMarkAreaDrawEventArgs.cs | jluzardo1971/ActiveGanttCSW | 0 | 7038646 | // ----------------------------------------------------------------------------------------
// COPYRIGHT NOTICE
// ----------------------------------------------------------------------------------------
//
// The Source Code Store LLC
// ACTIVEGANTT SCHEDULER COMPONENT FOR C# - ActiveGant... |
test/NonSilo.Tests/Membership/MembershipTableManagerTests.cs | rossbuggins/orleans | 0 | 7038647 | using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Orleans.Configuration;
using Orleans.Runtime.MembershipService;
using Xunit;
using NSubstitute;
using Orleans.Runtime;
using System;
using Orleans;
using Xunit.Abstractions;
using System.Linq;
using TestExtension... |
src/GummiBearKingdom/Models/Product.cs | katherinemat/GummiBearKingdom | 0 | 7038648 | <reponame>katherinemat/GummiBearKingdom
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GummiBearKingdom.Models
{
[Table("Products")]
public class Product... |
Server/CarZone.Server/Features/Users/Models/UpdateUserRequestModel.cs | ilkerBuguner/CarZone | 2 | 7038650 | <gh_stars>1-10
namespace CarZone.Server.Features.Users.Models
{
using System.ComponentModel.DataAnnotations;
using static CarZone.Server.Data.Common.Constants.User;
public class UpdateUserRequestModel
{
[MinLength(FullNameMinLength)]
[MaxLength(FullNameMaxLength)]
public strin... |
KSoft.Blam/Megalo/Enums/MegaloScriptVariableSet.cs | KornnerStudios/KSoft.Blam | 17 | 7038651 | <filename>KSoft.Blam/Megalo/Enums/MegaloScriptVariableSet.cs
namespace KSoft.Blam.Megalo
{
[System.Reflection.Obfuscation(Exclude=false, ApplyToMembers=false)]
public enum MegaloScriptVariableSet : byte // TypeTraits
{
Globals,
Player,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Desig... |
src/Eventuate.Tests.MultiNode/BasicPersistOnEventSpec.cs | Horusiath/Eventuate.NET | 13 | 7038652 | #region copyright
// -----------------------------------------------------------------------
// <copyright file="BasicPersistOnEventSpec.cs" company="<NAME>">
// Copyright (C) 2015-2019 Red Bull Media House GmbH <http://www.redbullmediahouse.com>
// Copyright (C) 2019-2019 <NAME> <<EMAIL>>
// </copyright>
/... |
src/Controllerless.WebApi.Description/CompositeApiExplorer.cs | dotnetjunkie/controllerless | 22 | 7038653 | <filename>src/Controllerless.WebApi.Description/CompositeApiExplorer.cs<gh_stars>10-100
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Web.Http.Description;
namespace SolidServices.Controllerless.WebApi.Description
{
/// <summary>
/// Wraps multiple <see cref="IApiExplorer... |
AgileMapper/TypeConversion/TypeConversionExtensions.cs | WeiiWang/AgileMapper | 440 | 7038654 | <filename>AgileMapper/TypeConversion/TypeConversionExtensions.cs<gh_stars>100-1000
namespace AgileObjects.AgileMapper.TypeConversion
{
using System;
using System.Collections.Generic;
using System.Linq;
#if NET35
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
using Ca... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.