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 |
|---|---|---|---|---|
Types/NoOp.cs | Natsu13/Pyr2 | 0 | 7050556 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace Compilator
{
public class NoOp:Types
{
public NoOp()
{
}
public override string Compile(int tabs = 0)
... |
Source/WbTstrNet.TestTemplate/Test.cs | mirabeau-nl/WbTstr.Net-Template | 2 | 7050557 | using System;
using System.Collections.Generic;
$if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
$endif$using System.Text;
using NUnit.Framework;
namespace $rootnamespace$
{
public class $safeitemrootname$ : BaseTest
{
[TestCase]
public void UnitUnderTest_Scenario_ExpectedOutcome()
{... |
src/Bitmovin.Api.Sdk/Models/Encoding.cs | bitmovin/bitmovin-api-sdk-dotnet | 8 | 7050558 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using JsonSubTypes;
using Newtonsoft.Json;
using Bitmovin.Api.Sdk.Common;
using Bitmovin.Api.Sdk.Models;
namespace Bitmovin.Api.Sdk.Models
{
/// <summary>
/// Encoding
/// </summary... |
GameCode/4399Code1_anheizhanshen/MsgPack/Serialization/Metadata/_SerializationContext.cs | android-crack/joework | 0 | 7050559 | namespace MsgPack.Serialization.Metadata
{
using System;
using System.Reflection;
internal static class _SerializationContext
{
public static readonly MethodInfo GetSerializer1_Method = typeof(SerializationContext).GetMethod("GetSerializer", ReflectionAbstractions.EmptyTypes);
}
}
|
Assets/Plugins/NodeGraphProcessor/Examples/Editor/GraphAssetCallbacks.cs | Surc/NodeGraphProcessor | 95 | 7050560 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using GraphProcessor;
using UnityEditor.Callbacks;
using System.IO;
using Examples.Editor._05_All;
using Plugins.Examples.Editor.BaseGraph;
public class GraphAssetCallbacks
{
[MenuItem("Assets/Create/GraphProcessor", fa... |
SpotifyTest/SpotifyTest/PlayListSaver.Designer.cs | madeso/PrettyGood.net | 0 | 7050561 | <gh_stars>0
namespace PrettyGood.SpotifyTest
{
partial class PlayListSaver
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="dispo... |
src/Lib/CommonLibrary.NET/Location/LocationLookupResult.cs | joelverhagen/Knapcode.CommonLibrary.NET | 1 | 7050562 | /*
* Author: <NAME>
* Url: http://commonlibrarynet.codeplex.com/
* Title: CommonLibrary.NET
* Copyright: � 2009 <NAME>
* License: LGPL License
* LicenseUrl: http://commonlibrarynet.codeplex.com/license
* Description: A C# based .NET 3.5 Open-Source collection of reusable components.
* Usage: Unless required by ... |
Demo.Domain/IPerson.cs | toddmeinershagen/Demo.Domain | 0 | 7050563 | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
namespace Demo.Domain
{
public interface IPerson
{
string FirstName { get; set; }
string LastName { get; set; }
string EmailAddress { get; set; }
boo... |
User.API/Infrastructure/Repositories/Promotions/Interfaces/IAdvertisementRepository.cs | PSW-2020-ORG9/HealthcareIS | 6 | 7050564 | <reponame>PSW-2020-ORG9/HealthcareIS
using System.Collections.Generic;
using General.Repository;
using User.API.Model.Promotions;
namespace User.API.Infrastructure.Repositories.Promotions.Interfaces
{
public interface IAdvertisementRepository : IWrappableRepository<Advertisement,int>
{
IEnumerable<Adve... |
src/tx-client/LcnCsharp.Core/Datasource/ILCNTransactionControl.cs | WithLin/lcn-csharp | 2 | 7050565 | <gh_stars>1-10
using System;
namespace LcnCsharp.Core.Datasource
{
public interface ILCNTransactionControl
{
/// <summary>
/// 是否是同一个事务下
/// </summary>
/// <param name="group">事务组id</param>
/// <returns></returns>
bool HasGroup(String group);
/// <summar... |
a_mini/projects/PixelFarm/MiniAgg/04_Scanline/5_ScanlineRasToDestBitmapRenderer.cs | prepare/MiniAggLegacy | 3 | 7050566 | //2014,2015 BSD,WinterDev
//MatterHackers
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 <NAME> (http://www.antigrain.com)
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided ... |
src/Framework.Shared/Action/IActionableService.cs | bsimser/xeva | 0 | 7050568 | using System;
using System.Collections.Generic;
namespace XF
{
public interface IActionableService
{
IUserAccount UserAccount { get; set; }
void LogAction(IUserAccount performedBy, DateTime performedAt, Type actionType ,
List<IActionParameters> parameters);
}
} |
Src/InventoryMicroservice/InventoryDto/StoreDTO.cs | habibsql/TheMicroServices | 21 | 7050569 | namespace Inventory.DTO
{
using System;
public class StoreDTO
{
public string StoreId { get; set; }
public string ManagerName { get; set; }
public DateTime CreatedDate { get; set; }
}
}
|
MoviesRecommendationSystem/Services/Reviews/ReviewService.cs | histefanov/ASP-NET-Project-Movies-Recommendation-System | 0 | 7050570 | namespace MoviesRecommendationSystem.Services.Reviews
{
using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using MoviesRecommendationSystem.Data;
using MoviesRecommendationSystem.Data.Models;
using MoviesRecommenda... |
App/Kira.LaconicInvoicing.Web/Areas/Warehouse/Controllers/StatisticsController.cs | zzq424/Kira.LaconicInvoicing | 0 | 7050571 | using Kira.LaconicInvoicing.Service.Warehouse;
using Microsoft.AspNetCore.Mvc;
using OSharp.AspNetCore.UI;
using OSharp.Core.Modules;
using System;
using System.ComponentModel;
using System.Threading.Tasks;
namespace Kira.LaconicInvoicing.Web.Areas.Warehouse.Controllers
{
[ModuleInfo(Order = 1, Position... |
AffindaAPI/AffindaAPI/Models/PathsCoo0XpIndexNameDocumentsPostResponses201ContentApplicationJsonSchema.cs | affinda/affinda-dotnet | 0 | 7050572 | <reponame>affinda/affinda-dotnet
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Affinda.API.Models
{
/// <summary> The PathsCoo0XpIndexNameDocumentsPostResponses201ContentApplicationJsonSchema. </summary>
public... |
sdk/dotnet/Storage/Inputs/AccountCustomerManagedKeyArgs.cs | henriktao/pulumi-azure | 0 | 7050573 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
src/services/data-collector/Heliopause.Domain/AggregatesModel/SourceAggregate/RestApiRequest.cs | HelioFlux/Heliosphere | 0 | 7050574 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Heliopause.Domain.AggregatesModel.SourceAggregate
{
public class RestApiRequest : Source
{
}
} |
OTAPI.Modifications/OTAPI.Modifications.Net.SendData.Locking/Callbacks/NetMessage.cs | kevzhao2/Open-Terraria-API | 1 | 7050575 | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OTAPI.Patcher.Engine.Modifications.Hooks.Net
{
internal partial class NetMessage
{
internal static int CompressTileBlock(int xStart, int yStar... |
EShop.FrontEnd.Services/Mapping/ProductTitleMapper.cs | michael2xiang/EShop.FrontEnd | 0 | 7050576 | using System.Collections.Generic;
using EShop.FrontEnd.Model.Products;
using EShop.FrontEnd.Services.ViewModels;
using AutoMapper;
namespace EShop.FrontEnd.Services.Mapping
{
public static class ProductTitleMapper
{
public static IEnumerable<ProductSummaryView> ConverToProductviews(this IEnumerable<Produ... |
Assets/App/Lobbies/LobbyContentRequestChannel.cs | george-vasilchenko/tanks | 0 | 7050577 | <gh_stars>0
using Tanks.App.Framework;
using UnityEngine;
namespace Tanks.App.Lobbies
{
[CreateAssetMenu(fileName = "LobbyContentRequestChannel", menuName = "App/Channels/LobbyContentRequestChannel", order = 0)]
public class LobbyContentRequestChannel : Channel
{
}
} |
Azavar.Sitefinity.Modules.PageSpeed.Tests/MapTokensFrom.cs | Azavar/Azavar.Sitefinity.Modules.PageSpeed | 2 | 7050578 | using System;
using Azavar.Sitefinity.Modules.PageSpeed.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Azavar.Sitefinity.Modules.PageSpeed.Tests
{
[TestClass]
public class MapTokensFrom
{
[TestMethod]
public void Null_Args_Should_Return_Format()
{
... |
Emzi0767.CompanionCube/Services/IssueHandlerExtension.cs | ProfDoof/Discord-Companion-Cube-Bot | 0 | 7050579 | // This file is part of Companion Cube project
//
// Copyright 2018 Emzi0767
//
// 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
//
// U... |
ColumnReductionAnalysis/ScopeAnalyzer/Program.cs | Bhaskers-Blu-Org2/rudder | 12 | 7050580 | using System;
using System.IO;
using System.Runtime.ExceptionServices;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using Microsoft.Cci;
using Backend;
using System.Xml.Linq;
using ScopeAnalyzer.Misc;
using System.Text;
namespace ScopeAnalyzer
{
/// <summary>
/... |
LNF.Impl/Repository/Control/ControlAuthorization.cs | lurienanofab/lnf | 1 | 7050581 | <gh_stars>1-10
using LNF.Control;
using LNF.DataAccess;
namespace LNF.Impl.Repository.Control
{
public class ControlAuthorization : IControlAuthorization, IDataItem
{
public virtual int ActionID { get; set; }
public virtual int ActionInstanceID { get; set; }
public virtual int ClientID... |
OcerraOdoo/Bootstrapper.cs | Ocerra/Integration | 1 | 7050582 | <gh_stars>1-10
using Microsoft.OData.Client;
using Nancy;
using Nancy.Authentication.Basic;
using Nancy.Bootstrapper;
using Nancy.Configuration;
using Nancy.TinyIoc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OcerraOdoo.Models;
using OcerraOdoo.OcerraOData;
using OcerraOdoo.Properties;
using OcerraOdoo.S... |
Stiletto.Fody/Trie.cs | paulcbetts/stiletto | 2 | 7050583 | <filename>Stiletto.Fody/Trie.cs
/*
* Copyright © 2013 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
PrototypePattern/DietNeeds.cs | ruzgarustu/design-patterns-pofur | 0 | 7050584 | <filename>PrototypePattern/DietNeeds.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrototypePattern
{
public class DietNeeds : ICloneable
{
public bool UrinaryCareDiet { get; set; }
public bool SeniorCareDiet {... |
17.SubsetKWithSumS/SubsetKWithSumS.cs | juvemar/Arrays | 0 | 7050585 | //Write a program that reads three integer numbers N, K and S and an array of N elements from the console.
//Find in the array a subset of K elements that have sum S or indicate about its absence.
using System;
class SubsetKWithSumS
{
static void Main()
{
Console.Write(@"Enter length of the array ""n... |
Project/Codeer.Friendly.Windows/Inside/SystemControlType.cs | ksuke/Friendly.Windows | 18 | 7050586 | namespace Codeer.Friendly.Windows.Inside
{
/// <summary>
/// システムコントロールタイプ。
/// </summary>
enum SystemControlType
{
/// <summary>
/// Friendly通信App側ウィンドウ開始。
/// </summary>
StartFriendlyConnectorWindowInApp,
/// <summary>
/// Friendly通信App側ウィンドウ終了。
/// </summary>
EndFriendlyConnectorWindowIn... |
application/download_samples/WebSafeColours.cs | DavinaLeong/Colours-Repo | 0 | 7050587 | /**********************************************************************************
- File Info -
File name : WebSafeColours.cs
Author(s) : <NAME>
Date Created : 12 Oct 2016
- Contact Info -
Email : <EMAIL>
Mobile : (+65) 9369 3752 [Singapore]
**********************************************************... |
src/OnePlusBot/Base/RoleReactionAction.cs | Misturtroll/OnePlusBot | 0 | 7050588 | <gh_stars>0
using System;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
namespace OnePlusBot.Base
{
public class RemoveRoleReactionAction : IReactionAction
{
public Boolean ActionApplies(IUserMessage me... |
src/Tools.CSharp.Core/Collections/JugglerCollection.cs | zveruger/csharp_tools | 0 | 7050589 | using System.Collections;
using System.Collections.Generic;
namespace Tools.CSharp.Collections
{
public class JugglerCollection<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>
{
#region private
private readonly Dictionary<TKey, TValue> _keyCollection;
private readonly Dictionar... |
Lab-13/Logger.cs | quatrebi/OOP | 0 | 7050590 | <filename>Lab-13/Logger.cs<gh_stars>0
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Lab_13
{
public static class Logger
{
private static string m_fileName;
private static string m_currentDirectory;
public sta... |
src/Libraries/ForWebApp03/Microsoft.AspNet.Identity.Core003/IUserRoleStore.cs | eocampo/IdentityFromScratch | 0 | 7050591 | // Copyright (c) Microsoft Corporation, Inc. All rights reserved.
// Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Identity
{
public interface IUserRoleStore<TUse... |
TokyoSubwayView/TokyoSubwayView.Shared/Views/Controls/CanvasListView.cs | emoacht/TokyoSubwayView | 0 | 7050592 | using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
namespace TokyoSubwayView.Views.Controls
{
public class CanvasListView : ListView
{
protected override void PrepareContainerForItemOverride(DependencyObj... |
VTexConnector/CatalogSystem/CategoryAndBrand.cs | nicolastarzia/VTexConnector | 0 | 7050593 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VTexConnector.CatalogSystem
{
public class CategoryAndBrand : BaseClass
{
public CategoryAndBrand() : base()
{
throw new NotImplementedException("To be deve... |
src/SFA.Apprenticeships.Web.Candidate.UnitTests/Mediators/TraineeshipSearch/IndexTests.cs | BugsUK/FindApprenticeship | 2 | 7050594 | <reponame>BugsUK/FindApprenticeship<gh_stars>1-10
namespace SFA.Apprenticeships.Web.Candidate.UnitTests.Mediators.TraineeshipSearch
{
using System;
using System.Linq;
using Application.Interfaces.Vacancies;
using Candidate.Mediators.Search;
using Candidate.Providers;
using Common.Configuration;... |
src/Edm/Microsoft/OData/Edm/Library/EdmTypeDefinition.cs | noflashbang/odata.net | 0 | 7050595 | <reponame>noflashbang/odata.net
// OData .NET Libraries
// Copyright (c) Microsoft Corporation. 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
// htt... |
src/HotChocolate/PersistedQueries/test/PersistedQueries.Redis.Tests/IntegrationTests.cs | cjstevenson/hotchocolate | 26 | 7050596 | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using HotChocolate.Types;
using HotChocolate.Execution;
using Snapshooter.Xunit;
using Squadron;
using StackExchange.Redis;
using Xunit;
namespace HotChocolate.PersistedQueries.Redis
{
public class IntegrationTests
... |
AggregateMetrics/AggregateMetrics/Two/IHistogram.cs | xornand/ApplicationInsights-SDK-Labs | 1 | 7050597 | <reponame>xornand/ApplicationInsights-SDK-Labs
namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.Two
{
/// <summary>
/// Histogram metric. Aggregation on stream of value.
/// </summary>
public interface IHistogram
{
/// <summary>
/// Next value in the stream of ... |
Kernel/Misc/Interrupts.cs | nifanfa/BootTo.NET | 1 | 7050598 | using MOOS.Driver;
using System.Collections.Generic;
namespace MOOS.Misc
{
public static class Interrupts
{
public unsafe class INT
{
public int IRQ;
public delegate*<void> Handler;
}
public static List<INT> INTs;
public static void Initialize(... |
Ascension/Assets/WingroveAudio/Core/DuckOnEvent.cs | TomMulvaney/Ascension | 0 | 7050599 | <gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace WingroveAudio
{
[RequireComponent(typeof(WingroveMixBus))]
[AddComponentMenu("WingroveAudio/Ducking/Duck on Event")]
public class DuckOnEvent : BaseAutomaticDuck
{
[SerializeField]
... |
TestFramework/Core/ExternalProjectRegistrationManager.cs | ehelse/Testsenter | 2 | 7050600 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Shared.Common.DI;
namespace TestFramework.Core
{
public class ExternalProjectRegistrationManager
{
private readonly List<IExternalProjectRegistration> _externalProjectRegistrations;
public ExternalProjectRegistrat... |
Assets/Scripts/External/Pngcs/Chunks/PngChunkOFFS.cs | andrew-raphael-lukasik/elevation_data_downloader | 7 | 7050601 | <gh_stars>1-10
namespace Pngcs.Chunks
{
/// <summary> oFFs chunk: http://www.libpng.org/pub/png/spec/register/pngext-1.3.0-pdg.html#C.oFFs </summary>
public class PngChunkOFFS : PngChunkSingle
{
public const string ID = "oFFs";
long posX;
long posY;
int units; // 0: pixel 1:micrometer
public PngChunkOFF... |
src/generator/AutoRest.CSharp.Azure/TemplateModels/AzureModelTemplateModel.cs | fhoering/autorest | 0 | 7050602 | <filename>src/generator/AutoRest.CSharp.Azure/TemplateModels/AzureModelTemplateModel.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using AutoRest.Core.ClientModel;
using ... |
Cactus.KAnalyze/Utils.cs | MyFarmland/Cactus | 12 | 7050603 | using System;
using System.Collections.Generic;
using System.Text;
namespace Cactus.KAnalyze
{
/// <summary>
/// Copyright © henryfan 2013
///Email: <EMAIL>
///HomePage: http://www.ikende.com
///CreateTime: 2013/2/1 20:20:55
/// </summary>
class Utils
{
publ... |
Assets/Scripts/Ocean.cs | fbaiodias/pursuit-rush | 0 | 7050604 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ocean : MonoBehaviour {
public GameObject SplashPrefab;
public float MinVelocity = 30;
public float ImpulseForce = 1.5f;
public float Resistance = 4;
void OnTriggerEnter(Collider col) {
... |
src/SoCreate.ServiceFabric.PubSub/Helpers/IBrokerServiceLocator.cs | WhitWaldo/service-fabric-pub-sub | 115 | 7050605 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SoCreate.ServiceFabric.PubSub.Helpers
{
public interface IBrokerServiceLocator
{
/// <summary>
/// Registers the default <see cref="BrokerService"/> by name.
/// </summary>
... |
Functions/Program.cs | Identityhdz/BASICS-OF-C-SHARP | 0 | 7050606 | <reponame>Identityhdz/BASICS-OF-C-SHARP
using System;
namespace Functions
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Show();
CalculateSum(10,12.4);
Console.WriteLine(Multiply(3,5));
}
s... |
project2-unityscripts/scalar.cs | kateladenheim/MDP-CreativeTech | 2 | 7050607 | <reponame>kateladenheim/MDP-CreativeTech<filename>project2-unityscripts/scalar.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class scalar : MonoBehaviour
{
void Update ()
{
Vector3 vec = new Vector3(Mathf.Sin(Time.time) + 1, Mathf.Sin(Time.time) + 1, Mathf... |
CSharp/CodeSamples/CSharp72/Readonly-Struct.cs | itenium-be/CSharp-JavaScript-New-Features | 1 | 7050608 | using Xunit;
namespace CodeSamples.CSharp72
{
public class ReadonlyStruct
{
[Fact]
public void HappyPath()
{
var name = new Name("Bob", "Sinclair", 15);
Assert.Equal("Bob", name.FirstName);
InParamExample(name);
InParamExample(in name);
... |
Altatec/ExamenPracticoApi/Models/Venta.cs | erickgonzalezs/ExamenPractico | 0 | 7050609 | <gh_stars>0
//------------------------------------------------------------------------------
// <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 ... |
IT-Career-V4/M05-OOP/Exam Preparation/MiningSystem/MiningSystem/Provider.cs | aalishov/School | 2 | 7050610 | <reponame>aalishov/School
using System;
using System.Text;
public class Provider
{
private double energyOutput;
public Provider(string id, double energyOutput)
{
Id = id;
EnergyOutput = energyOutput;
}
public string Id { get; set; }
public double EnergyOutput
{
get ... |
src/Server/Cache.cs | aadhil19ahmed/dotnettesting | 2 | 7050611 | <reponame>aadhil19ahmed/dotnettesting<filename>src/Server/Cache.cs
using System;
namespace Server
{
public interface ICache<T>
{
void SetData(T data);
bool TryGetData(out T data);
}
public class Cache<T> : ICache<T>
{
private readonly TimeSpan _maxCacheLifetime;
pri... |
cs4rsa_test/BasicData/TestStudyTime.cs | toky0s/cs4rsa | 8 | 7050612 | <filename>cs4rsa_test/BasicData/TestStudyTime.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using cs4rsa.BasicData;
namespace cs4rsa_test.BasicData
{
[TestFixture]
class TestStudyTime
{
public StudyTim... |
Source/AsyncGenerator.Core/FileConfiguration/Internal/XmlValidationResult.cs | rasmus-z/AsyncGenerator | 36 | 7050613 | <filename>Source/AsyncGenerator.Core/FileConfiguration/Internal/XmlValidationResult.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace AsyncGenerator.Core.FileConfiguration.Internal
{
internal class XmlValidationResult
{
private readonly List<Exception> _errors = new List<Exception>()... |
src/AddIns/BackendBindings/XamlBinding/XamlBinding.Tests/ParserTests.cs | galich/SharpDevelop | 2 | 7050614 | <filename>src/AddIns/BackendBindings/XamlBinding/XamlBinding.Tests/ParserTests.cs
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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 S... |
EnvironmentAssessment.Wizard/Common/VimApi/H/HostAutoStartManagerConfig.cs | octansIt/environmentassessment | 1 | 7050615 | <filename>EnvironmentAssessment.Wizard/Common/VimApi/H/HostAutoStartManagerConfig.cs
namespace EnvironmentAssessment.Common.VimApi
{
public class HostAutoStartManagerConfig : DynamicData
{
protected AutoStartDefaults _defaults;
protected AutoStartPowerInfo[] _powerInfo;
public AutoStartDefaults Defaults
{
... |
src/NUnitCore/tests/AssemblyVersionFixture.cs | LaudateCorpus1/nunitv2 | 34 | 7050616 | <reponame>LaudateCorpus1/nunitv2<gh_stars>10-100
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ************************... |
Trader.Trading/Algorithms/AlgoTypeBuilder.cs | JorgeCandeias/Trader | 13 | 7050617 | using Microsoft.Extensions.DependencyInjection;
using Outcompute.Trader.Trading.Configuration;
namespace Outcompute.Trader.Trading.Algorithms;
internal class AlgoTypeBuilder<TAlgo> : IAlgoTypeBuilder<TAlgo>
where TAlgo : IAlgo
{
public AlgoTypeBuilder(string typeName, IServiceCollection services)
{
... |
Src/Xigadee.Core/Persistence/Server/JSON/JsonResponseHolder.cs | xigadee/Microservice | 58 | 7050618 | <gh_stars>10-100
#region using
using IMGroup.Core;
using IMGroup.Core.Persistence;
using IMGroup.Core.Persistence.DocumentDb;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#endregion
namespace IMGro... |
csharp/ChinaTtlWifi/AgentStation/StationFactory.cs | wardensky/wardensky-demo | 0 | 7050619 | using ChinaTtlWifi.IAgent;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AgentStation
{
public class StationFactory
{
public static AgentApiStation GetStation(string model)
{
if (model == Win7.MODEL)
{
... |
src/Providers/CaptureDeviceGameImageProvider.cs | zerratar/pixel-splitter | 1 | 7050620 | <reponame>zerratar/pixel-splitter
using System.Collections.Concurrent;
using System.Drawing;
using System.Drawing.Imaging;
using AForge.Imaging.Filters;
using AForge.Video;
using AForge.Video.DirectShow;
using LiveSplit.PixelSplitter.Extensions;
using LiveSplit.PixelSplitter.Models;
namespace LiveSplit.PixelSplitter.P... |
Assets/DiUiSystem/DiUiScripts/UIWindows/Inventory/DiUiInventoryView.cs | PakonAges/Splines | 0 | 7050621 | using UnityWeld.Binding;
namespace DiUi
{
[Binding]
public class DiUiInventoryView : UiView<DiUiInventoryView>
{
public DiUiInventoryViewModel ViewModel { get { return IViewModel as DiUiInventoryViewModel; } }
[Binding]
public void OnClose()
{
ViewModel.Close()... |
CSharpAndSolidWorks/MyPane.cs | painezeng/CSharpAndSolidWorks | 50 | 7050622 | <reponame>painezeng/CSharpAndSolidWorks
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using Syste... |
source/tests/data-mapper-test/Operation/OperationFactoryTest.cs | buhlergroup/data-mapper-dotnet | 2 | 7050623 | namespace Buhler.DataMapper.Operation.Test
{
using Buhler.DataMapper.Model;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class OperationFactoryTest
{
[TestMethod]
public void GetFieldOperation_UnknownCombination()
{
... |
Unity-DarkGodProject/Server/Server/System/PowerSys/PowerSys.cs | zhy-stay/Unity-Learning | 0 | 7050624 | /****************************************************
文件:PowerSys.cs
作者:zhyStay
邮箱: <EMAIL>
日期:2021/4/15 14:38:34
功能:Nothing
*****************************************************/
using PEProtocol;
using System;
using System.Collections.Generic;
public class PowerSys
{
private static PowerSys... |
src/ProSuite.Microservices.Client/QA/IClientIssueMessageCollector.cs | ProSuite/ProSuite | 5 | 7050625 | <reponame>ProSuite/ProSuite
using System.Collections.Generic;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.DomainModel.Core.QA;
using ProSuite.Microservices.Definitions.QA;
using ProSuite.Microservices.Definitions.Shared;
namespace ProSuite.Microservices.Client.QA
{
/// <summary>
/// Maintains t... |
MedLaunch.Common/Search/SearchFunctions.cs | Asnivor/MedLaunch | 45 | 7050626 | <filename>MedLaunch.Common/Search/SearchFunctions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MedLaunch.Common.Converters;
namespace MedLaunch.Common.Search
{
public class SearchFunctions
{
public static SearchObject Word... |
eShop-WebAPI/Eshop.Domain.Implementations/Services/ProductService.cs | Venik-com/eShop-Backend-WebAPI | 0 | 7050627 | <reponame>Venik-com/eShop-Backend-WebAPI<filename>eShop-WebAPI/Eshop.Domain.Implementations/Services/ProductService.cs<gh_stars>0
using System;
using Eshop.Domain.Contracts.IServices;
using Eshop.Web.Data.EFModels;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
n... |
raidTimelineLogic/Mechanics/Strategies/BaseMechanics.cs | danifischer/raidTimeline | 4 | 7050628 | using raidTimelineLogic.Models;
using System.Collections.Generic;
namespace raidTimelineLogic.Mechanics.Strategies
{
internal abstract class BaseMechanics : IMechanics
{
internal string EncounterIcon;
public abstract string CreateHtml(RaidModel model);
public string GetEncounterIcon()
{
return Encounte... |
UnitTestProject1/UnitTestStringUtil.cs | lyfing22/StoreMini | 1 | 7050629 | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Calc;
namespace UnitTestProject1
{
/// <summary>
/// UnitTestStringUtil 的摘要说明
/// </summary>
[TestClass]
public class UnitTestStringUtil
{
[TestMethod]
... |
Sultanlar/Sultanlar.UI/frmAraclar.cs | dogukanalan/Sultanlar | 0 | 7050630 | <gh_stars>0
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;
using Sultanlar.DatabaseObject;
using Sultanlar.Class;
using System.Reflection;
namespace Sultanlar.UI
{
public partia... |
src/IdentityServer/Aguacongas.IdentityServer.MongoDb.Store/Extensions/MongoDatabaseExtension.cs | gumtreehill/TheIdServer | 374 | 7050631 | <reponame>gumtreehill/TheIdServer<filename>src/IdentityServer/Aguacongas.IdentityServer.MongoDb.Store/Extensions/MongoDatabaseExtension.cs
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2021 @<NAME>
using System;
using System.Reflection;
namespace MongoDB.Driver
{
public static class MongoDatabaseExtension... |
Projects/Csharp_Unity_Editor_json/Assets/Gen/condition/ClothesPropertyScoreGreaterThan.cs | LiuOcean/luban_examples | 1 | 7050632 | <reponame>LiuOcean/luban_examples<gh_stars>1-10
//------------------------------------------------------------------------------
// <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>... |
Assets/Menu/Main_Menu.cs | Jorka7a13/Almost-the-new-NFS-game | 2 | 7050633 | using UnityEngine;
using System.Collections;
using System.Xml;
using System.Xml.Serialization;
using System.Text;
using System.IO;
public class Main_Menu : MonoBehaviour {
public GameObject MainMenu;
public static int transfer;
public static int SelectedOption;
public string[] FieldNames;
... |
Library/HL7Enumerator.Core/HL7Tables/FolderDataTableProvider.cs | glenkleidon/HL7Enumerator | 2 | 7050634 | using HL7Enumerator.HL7Tables.Interfaces;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace HL7Enumerator.HL7Tables
{
public class FolderDataTableProvider : IDataTableProvider
{
private string fileExnt = ".txt";
private InMemoryDataTableProvider cachedPr... |
GsCoreApi/GsCore.Database/Entities/GsDbContext.cs | hpscodemaverick/GsCoreApi | 0 | 7050636 | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace GsCore.Database.Entities
{
public class GsDbContext : DbContext
{
public GsDbContext(DbContextOpt... |
Assets/Scripts/Enemy/MediumEnemyB17Type2.cs | ryowu/AirRage | 0 | 7050637 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Scripts.Enemy
{
public class MediumEnemyB17Type2 : BaseEnemy
{
private int bulletCountGap;
public override void Initialize()
{
StartCoroutine("SpawnSmallBullet");
base.Initialize();
}
IEnumerator Spaw... |
Counters+/UI/ViewControllers/CountersPlusHUDListViewController.cs | ErisApps/CountersPlus | 0 | 7050638 | using BeatSaberMarkupLanguage.Attributes;
using BeatSaberMarkupLanguage.Components;
using BeatSaberMarkupLanguage.Parser;
using BeatSaberMarkupLanguage.ViewControllers;
using CountersPlus.ConfigModels;
using CountersPlus.UI.FlowCoordinators;
using CountersPlus.UI.ViewControllers.Editing;
using CountersPlus.Utils;
usin... |
src/FaTool.Web/Models/UserInterface/EntityView.cs | CSBiology/FunctionalAnnotatorWeb | 1 | 7050639 | <filename>src/FaTool.Web/Models/UserInterface/EntityView.cs
#region license
// The MIT License (MIT)
// EntityView.cs
// Copyright (c) 2016 <NAME>
// <EMAIL>
// <EMAIL>
// Computational Systems Biology, Technical University of Kaiserslautern, Germany
// Permission is hereby granted, free of charge, to any person... |
src/Application/Models/Queries/Dtos/ModelDto.cs | pkanev/CarsManager | 1 | 7050640 | <reponame>pkanev/CarsManager
using AutoMapper;
using CarsManager.Application.Common.Mappings;
using CarsManager.Domain.Entities;
namespace CarsManager.Application.Models.Queries.Dtos
{
public class ModelDto : IMapFrom<Model>
{
public int Id { get; set; }
public string Name { get; set; }
... |
UI/Tests/Render/ShowInfoRendererTests.cs | misterhaan/MythClient | 2 | 7050641 | <gh_stars>1-10
using System.Windows.Forms;
using au.Applications.MythClient.Recordings.Types;
using FakeItEasy;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace au.Applications.MythClient.UI.Render.Tests {
[TestClass]
public class ShowInfoRendererTests : RendererTestsBase {
[TestMethod]
public void... |
src/MNCD.Tests/Readers/EdgeListReaderTests.cs | matejkubinec/MN-CD | 2 | 7050642 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using MNCD.Readers;
using Xunit;
namespace MNCD.Tests.Readers
{
public class EdgeListReaderTests
{
private readonly EdgeListReader reader = new EdgeListReader();
[Fact]
public void TestLoadFloretine()
... |
src/Lib/CommonLibrary.NET/Benchmarks/Benchmarks.cs | joelverhagen/Knapcode.CommonLibrary.NET | 1 | 7050643 | /*
* Author: <NAME>
* Url: http://commonlibrarynet.codeplex.com/
* Title: CommonLibrary.NET
* Copyright: � 2009 <NAME>
* License: LGPL License
* LicenseUrl: http://commonlibrarynet.codeplex.com/license
* Description: A C# based .NET 3.5 Open-Source collection of reusable components.
* Usage: Unless required by... |
src/Nest/Domain/Analysis/TokenFilter/UppercaseTokenFilter.cs | Bloomerang/elasticsearch-net | 2 | 7050644 | <filename>src/Nest/Domain/Analysis/TokenFilter/UppercaseTokenFilter.cs<gh_stars>1-10
namespace Nest
{
/// <summary>
/// A token filter of type uppercase that normalizes token text to upper case.
/// </summary>
public class UppercaseTokenFilter : TokenFilterBase
{
public UppercaseTokenFilt... |
src/Stryker.RegexMutators/Stryker.RegexMutators/Mutators/CharacterClassNegationMutator.cs | PimRheiter/stryker-net | 1 | 7050645 | <gh_stars>1-10
using RegexParser.Nodes;
using RegexParser.Nodes.CharacterClass;
using System.Collections.Generic;
namespace Stryker.RegexMutators.Mutators
{
public class CharacterClassNegationMutator : RegexMutatorBase<CharacterClassNode>, IRegexMutator
{
public override IEnumerable<RegexMutation> App... |
NicoCommentCS/Typography.OpenFont/Tables/HorizontalMetrics.cs | hetima/AviSynthNicoComment | 3 | 7050646 | //Apache2, 2017-present, WinterDev
//Apache2, 2014-2016, <NAME>, WinterDev
using System;
using System.Collections.Generic;
using System.IO;
namespace NCTypography.OpenFont.Tables
{
/// <summary>
/// hmtx
/// </summary>
class HorizontalMetrics : TableEntry
{
public const string _N = "hmtx";... |
ProjectUntitled/ViewComponents/UserNotificationsViewComponent.cs | Forser/AudioClipPlatform | 0 | 7050647 | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using ProjectUntitled.Models;
using System.Threading.Tasks;
namespace ProjectUntitled.ViewComponents
{
[Authorize]
public class UserNotificationsViewComponent : ViewComponent
{
private re... |
FluentSecurity/FluentSecurity/HandleSecurityAttribute.cs | pvivera/FluentSecurity.Nancy | 58 | 7050648 | <reponame>pvivera/FluentSecurity.Nancy
using System;
using System.Web.Mvc;
using FluentSecurity.ServiceLocation;
namespace FluentSecurity
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class HandleSecurityAttribute : Attribute, IAuthorizationFilter
{
internal I... |
DashReportViewer.Shared/ReportContent/AreaChartContent.cs | ZuechB/DashReportViewer | 1 | 7050649 | using System.Collections.Generic;
namespace DashReportViewer.Shared.ReportContent
{
public class AreaChartContent : BaseReportContent
{
public List<AreaChartDataPoint> dataPoints { get; set; }
public List<string> XAxis { get; set; }
}
public class AreaChartDataPoint
{
publ... |
src/Wilcommerce.Catalog/Events/Category/CategoryInfoUpdatedEvent.cs | wilcommerce/Wilcommerce.Catalog | 1 | 7050650 | <reponame>wilcommerce/Wilcommerce.Catalog<filename>src/Wilcommerce.Catalog/Events/Category/CategoryInfoUpdatedEvent.cs
using System;
using Wilcommerce.Core.Infrastructure;
namespace Wilcommerce.Catalog.Events.Category
{
/// <summary>
/// Category info updated
/// </summary>
public class CategoryInfoUp... |
Source/Mirabeau.DatabaseReleaseTool/Policies/PolicyResult.cs | jeroenpot/DatabaseReleaseTool | 0 | 7050651 | <reponame>jeroenpot/DatabaseReleaseTool
using System.Collections.Generic;
namespace Mirabeau.DatabaseReleaseTool.Policies
{
public class PolicyResult
{
#region Fields
private readonly List<string> messages = new List<string>();
#endregion
#region Public Properties
pu... |
Script/Input/Pad_Trigger_InputSystem_GamePad.cs | bluebackblue/fee | 4 | 7050652 |
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* @brief 入力。パッド。
*/
/** Fee.Input
*/
#if(USE_DEF_FEE_INPUTSYSTEM)
namespace Fee.Input
{
/** Pad_Trigger_InputSystem_GamePad
*/
class Pad_Trigger_InputSystem_GamePad
{
/** Main
*/
... |
Backup/Runtime/ObjectModel/IObjectBind.cs | kayateia/scriptdotnet | 1 | 7050653 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace ScriptNET.Runtime
{
/// <summary>
/// Is a result of binding to an object / or a type
/// </summary>
public interface IObjectBind : IInvokable
{
}
/// <summary>
/// ... |
Space/Interfaces/IBody.cs | AeroNexus/AspireStudio | 2 | 7050654 | <reponame>AeroNexus/AspireStudio<filename>Space/Interfaces/IBody.cs
namespace Aspire.Primitives
{
/// <summary>
/// The IBody interface allows models to get position and velocity of a body
/// </summary>
public interface IBody
{
/// <summary>
/// Get The Earth Centered Inertial Position vector [m]
/// </su... |
Mediapipe.Net/Core/UniquePtrHandle.cs | dbruning/MediaPipe.NET | 14 | 7050655 | // Copyright (c) homuler and The Vignette Authors
// This file is part of MediaPipe.NET.
// MediaPipe.NET is licensed under the MIT License. See LICENSE for details.
namespace Mediapipe.Net.Core
{
public unsafe abstract class UniquePtrHandle : MpResourceHandle
{
protected UniquePtrHandle(void* ptr, boo... |
DacII/WinForms/Jobs/FrmJob.Designer.cs | cschen1205/myob-accounting-plugin | 0 | 7050656 | <gh_stars>0
namespace DacII.WinForms.Jobs
{
partial class FrmJob
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
DelonixRegia/DelonixRegiaHMS/Manage/Duty_Type_Overview.aspx.designer.cs | JiaJian/swen | 0 | 7050658 | //------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.