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 |
|---|---|---|---|---|
Logic/DataHelper.cs | ehelse/Testsenter.Common | 1 | 7068211 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.Common.Logic
{
public static class DataHelper
{
public static Stream GenerateStreamFromString(string s)
{
MemoryStream stream = new ... |
Ascendant/Ascendant/Graphics/Mesh.cs | tinamil/ascendant | 0 | 7068212 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK;
using OpenTK.Graphics.OpenGL4;
namespace Ascendant.Graphics.objects {
public class Mesh {
public PrimitiveType type { get; private set; }
public Vector3[] vertices { get; private set; }
... |
Mindstorms.Core/Enums/EmbeddedImage.cs | Mortens4444/LegoMindstromsEV3 | 0 | 7068213 | <filename>Mindstorms.Core/Enums/EmbeddedImage.cs
using System.ComponentModel;
namespace Mindstorms.Core.Enums
{
public enum EmbeddedImage
{
[Description("3Gens")]
[Category(EmbeddedImageTypes.Custom)]
ThreeGenerations,
[Description("Big smile")]
[Category(EmbeddedImage... |
ICPMApi.cs | hiraldesai/cpm-demo-app | 0 | 7068214 | <filename>ICPMApi.cs
using NonprofitPlatform.Core.BusinessModel.CPM;
using Refit;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CPM_Dotnet_Core
{
public interface ICPMApi
{
[Get("/api/EmailContacts")]
Task<CPMEmailResponse> GetEmailContacts([Header("x-ms-filter-emai... |
Our.Umbraco.Query.Language.Tests/ParsingTest.cs | lars-erik/our-umbraco-query-language | 0 | 7068215 | <gh_stars>0
using System;
using System.Linq;
using Irony.Parsing;
using NUnit.Framework;
namespace Our.Umbraco.Query.Language.Tests
{
public class ParsingTest
{
protected static ParseTree ParseTree(string program)
{
var grammar = new UmbracoQueryGrammar();
var languageDa... |
Apollo/Apollo.Persistence/Dao/Ado/GenreDaoAdo.cs | EnvyIT/apollo | 0 | 7068216 | <reponame>EnvyIT/apollo
using Apollo.Domain.Entity;
using Apollo.Persistence.Dao.Interfaces;
using Apollo.Persistence.Util;
namespace Apollo.Persistence.Dao.Ado
{
public class GenreDaoAdo : BaseDao<Genre>, IGenreDao {
public GenreDaoAdo(IConnectionFactory connectionFactory) : base(connectionFactory)
... |
dMyBlogAPI/dMyBlogAPI/Controllers/StatisticsController.cs | betosmith2000/dmyblogAPI | 0 | 7068217 | <gh_stars>0
using dMyBlogAPI.Helpers;
using dMyBlogAPI.Models;
using dMyBlogAPI.Services;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace dMyBlogAPI.Controllers
{
[Route("api/[controller]")]... |
SysPlan/SysPlan.Core/Model/ResponseResult.cs | lucianopimenta/sysplan | 0 | 7068218 | namespace SysPlan.Core.Model
{
public class ResponseResult
{
public bool success { get; set; }
public string errorMessage { get; set; }
public object data { get; set; }
}
}
|
Web/OnlineSpreadsheet.Web.Application/Views/Emails/SurveyResponse/Results.cshtml | GeorgiNik/OnlineSpreadsheet | 0 | 7068219 | @model OnlineSpreadsheet.Data.Models.SurveyResponse
<br />
<table class="table table-condensed client-info-table" width="650">
<thead>
<tr bgcolor="#E7E6E6">
<td colspan="2" style="font-weight:bold;">@Resources.KeyAnswers:</td>
</tr>
</thead>
<tbody>
@{
int c... |
FamilyStudioFormsGui/WindowsGui/Panels/ComplenessViewPanel1/SanitySettingsForm.Designer.cs | endian02/FamilyStudio2 | 1 | 7068220 | namespace FamilyStudioFormsGui.WindowsGui.Panels.CompletenessViewPanel1
{
partial class SanitySettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
///... |
Source/namasdev.Core.UnitTests/Reflection/ReflectionUtilidadesTest.cs | MatiasALopez/namasdev | 0 | 7068221 | using System;
using System.ComponentModel;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using namasdev.Reflection;
using namasdev.Core.UnitTests._TestUtils;
using FizzWare.NBuilder;
namespace namasdev.Core.UnitTests.Reflection
{
[TestClass]
public class ReflectionUti... |
eDriven/eDriven.Gui.Editor/Dialogs/StyleDeclaration/Wizard/StyleDeclarationCreationStep.cs | dkozar/edriven-gui | 42 | 7068222 | <filename>eDriven/eDriven.Gui.Editor/Dialogs/StyleDeclaration/Wizard/StyleDeclarationCreationStep.cs
#region License
/*
Copyright (c) 2010-2014 <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 Sof... |
src/yamlist/Modules/IO/Yaml/Converters/ForwardConverter.cs | RealOrko/dotnet-cli-yamlist | 0 | 7068223 | using System.IO;
using System.Text.RegularExpressions;
namespace yamlist.Modules.IO.Yaml.Converters
{
public class ForwardConverter
{
public static string Convert(string input)
{
var reader = new StringReader(input);
var writer = new StringWriter();
var coun... |
Third Party/NPersist/Source Code/NPath/Framework/TestEmitter.cs | jjvanzon/JJ.TryOut | 0 | 7068224 | <filename>Third Party/NPersist/Source Code/NPath/Framework/TestEmitter.cs
// *
// * Copyright (C) 2005 <NAME> : http://www.puzzleframework.com
// *
// * This library is free software; you can redistribute it and/or modify it
// * under the terms of the GNU Lesser General Public License 2.1 or later, as
// * published b... |
Meraki.Api/Sections/Products/CellularGateway/CellularGatewayUplinkSection.cs | blaherrod/Meraki.Api | 7 | 7068225 | namespace Meraki.Api.Sections.Products.CellularGateway;
public partial class CellularGatewayUplinkSection
{
[RefitPromoteCalls]
internal ICellularGatewayUplink Uplink { get; set; } = null!;
public ICellularGatewayUplinkStatuses Statuses { get; internal set; } = null!;
}
|
prompter1/OynatmaForm.cs | emredusmez/promter1 | 0 | 7068226 | <reponame>emredusmez/promter1
using DevExpress.XtraRichEdit;
using DevExpress.XtraRichEdit.API.Native;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using Sys... |
VewModels/BasesViewModel.cs | dontbesilly/Workplace | 2 | 7068227 | using System.Windows.Input;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using Microsoft.EntityFrameworkCore;
using System;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using MessageBox = System.Windows.MessageBox;
n... |
src/CloudFoundry.WindowsPrison/Restrictions/CPU.cs | mihaibuzgau/cf-windows-prison | 7 | 7068228 | <reponame>mihaibuzgau/cf-windows-prison
namespace CloudFoundry.WindowsPrison.Restrictions
{
using System;
class CPU : Rule
{
public override RuleTypes RuleType
{
get
{
return RuleTypes.CPU;
}
}
public override void Apply(... |
Soothsharp.Translation/Trees/CSharp/Expressions/ParenthesizedExpressionSharpnode.cs | Soothsilver/cs2sil | 1 | 7068229 | <gh_stars>1-10
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Soothsharp.Translation.Trees.Silver;
namespace Soothsharp.Translation.Trees.CSharp.Expressions
{
public class ParenthesizedExpressionSharpnode : ExpressionSharpnode
{
private readonly ExpressionSharpnode InnerExpression;
public ... |
src/CausalityDbg.Metadata/MetaParameter.cs | brian-reichle/CausalityDbg | 2 | 7068230 | // Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
namespace CausalityDbg.Metadata
{
[DebuggerDisplay("Param: {Name}")]
public sealed class MetaParameter
{
internal Me... |
WebSocketExtensions.cs | ScriptBox99/StonksWatcher | 104 | 7068231 | using System;
using System.Linq;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Stonks
{
public static class WebSocketExtensions
{
public static async Task SendAsJsonAsync(this ClientWebSocket client, object target,... |
DependencyInjectionDemo/Services/OtherServiceImplementation.cs | capybara1/DependencyInjectionDemo | 0 | 7068232 | using AspNetCoreDemo.DependencyInjectionDemo.Contracts;
using System;
using System.Diagnostics;
namespace AspNetCoreDemo.DependencyInjectionDemo.Services
{
internal class OtherServiceImplementation : IOtherExampleService, IDisposable
{
public OtherServiceImplementation()
{
Debug.Wr... |
Assets/UnitySVG/Implementation/SVG/DOM/Paths/SVGPathSegLinetoVerticalAbs.cs | MrJoy/UnitySVG | 220 | 7068233 | using UnityEngine;
public class SVGPathSegLinetoVerticalAbs : SVGPathSeg, ISVGDrawableSeg {
private float _y = 0f;
public float y { get { return this._y; } }
public SVGPathSegLinetoVerticalAbs(float y) : base() {
this._y = y;
}
public override Vector2 currentPoint {
get {
Vector2 _return = n... |
Source/CSharpFunctional/ResultMonad.Extensions/ResultWithValueAndErrorMonad/OnSuccess/OnSuccessExtensions.cs | edumserrano/csharp-functional | 7 | 7068236 | <reponame>edumserrano/csharp-functional<filename>Source/CSharpFunctional/ResultMonad.Extensions/ResultWithValueAndErrorMonad/OnSuccess/OnSuccessExtensions.cs<gh_stars>1-10
using System;
using System.Diagnostics;
namespace ResultMonad.Extensions.ResultWithValueAndErrorMonad.OnSuccess
{
public static class OnSucces... |
Simulator/Schedulers/STCFScheduler.cs | QRWells/Scheduling | 0 | 7068237 | #region FileInfo
// Copyright (c) 2022 <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
// This file is part of Project Simulator.
// File Name : StcfScheduler.cs
// Author : <NAME>
// Created at : 2022/03/25 6:27
// Descrip... |
samples/snippets/csharp/VS_Snippets_CLR_System/system.datetime.persist/cs/persist2.cs | erikly/docs | 0 | 7068238 | <reponame>erikly/docs
// <Snippet2>
using System;
using System.Globalization;
using System.IO;
using System.Threading;
public class Example
{
private const string filename = @".\Dates.txt";
public static void Main()
{
if (! File.Exists(filename))
SaveDates();
else
RestoreDates()... |
Public/Src/Cache/ContentStore/Hashing/ShortHashExtensions.cs | Microsoft/BuildXL | 448 | 7068239 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BuildXL.Cache.ContentStore.Hashing
{
/// <nodoc />
public static class ShortHashExtensions
{
#if NET... |
TestConsole/LogService.cs | devhl-labs/DBAutomator | 0 | 7068240 | using devhl.DBAutomator;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
namespace TestConsole
{
public class LogService : ILogger
{
private static readonly object logLock = new object();
public IDisposable BeginScope<TState>(TState state... |
BuildAnywhere/Settings.cs | Truinto/GYK-BuildAnywhere | 0 | 7068241 | using System;
using System.IO;
using UnityEngine;
using Oculus.Newtonsoft.Json;
namespace BuildAnywhere
{
public class Settings
{
[JsonIgnore]
public KeyCode _ButtonIgnoreBuildArea;
public string ButtonIgnoreBuildArea = KeyCode.C.ToString();
[JsonIgnore]
public KeyCode ... |
src/Model/QueryBaseModel.cs | mintyfusion/moov-dotnet-sdk | 0 | 7068242 | <filename>src/Model/QueryBaseModel.cs<gh_stars>0
namespace Tutkoo.mintyfusion.Moov.Sdk.Model
{
#region Namespace
using System.Text.Json.Serialization;
#endregion
#region Class
public class QueryBaseModel
{
[JsonPropertyName("skip")]
public int Skip { get; set; }
[JsonP... |
Reporter/HtmlClasses/TableHolder.cs | wootra/GlobalReporter | 0 | 7068243 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GlobalReporter
{
public class HtmlTable :HtmlNode
{
public List<HtmlNode> TitleRows { get; set; }
public List<HtmlNode> CellRows { get; set; }
public void AddCellRow(HtmlNode rowNode)
... |
bleak.Sql.VersionManager.Redshift/Models/Database/VersionManagerDbContext.cs | jamalkhan/bleak.Sql | 0 | 7068244 | <reponame>jamalkhan/bleak.Sql
using Microsoft.EntityFrameworkCore;
using Npgsql;
namespace bleak.Sql.VersionManager.Redshift.Models.Database
{
public enum SslMode
{
Require,
Prefer,
Disable,
}
public class VersionManagerDbContext : DbContext
{
#region ConnectionStri... |
CotacaoDollar/FrmCotacaoDolar.cs | RenatoSSouza/CotacaoDollarApiWForms | 0 | 7068245 | using Newtonsoft.Json;
using System;
using System.Globalization;
using System.Net.Http;
using System.Windows.Forms;
namespace CotacaoDollar
{
public partial class FrmCotacaoDolar : Form
{
public FrmCotacaoDolar()
{
InitializeComponent();
}
ApiCode code = new ApiCod... |
CoreWiki.Data/Models/SlugHistory.cs | spboyer/CoreWiki | 1 | 7068246 | <reponame>spboyer/CoreWiki<gh_stars>1-10
using NodaTime;
using NodaTime.Extensions;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CoreWiki.Data.Models
{
public class SlugHistory
{
[Required, Key]
[... |
BeatSaverSharp/Models/BeatmapMetadata.cs | ErisApps/BeatSaverSharper | 19 | 7068247 | using Newtonsoft.Json;
namespace BeatSaverSharp.Models
{
/// <summary>
/// Contains map detail metadata. The information stored here is inferred from map's Info.dat file.
/// </summary>
public class BeatmapMetadata
{
/// <summary>
/// The beats per minute (BPM) of the map, as defin... |
src/MBW.Utilities.DI.Named.Tests/DisposalTest.cs | LordMike/MBW.Utilities.DI.Named | 0 | 7068248 | <gh_stars>0
using System;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace MBW.Utilities.DI.Named.Tests
{
public class DisposalTest
{
/// <summary>
/// Tests disposal in regular MS DI, to confirm behaviour
/// </summary>
[Fact]
public vo... |
HipChatClient/HttpUtils.cs | henkmeulekamp/HipChat.net | 1 | 7068249 | using System;
using System.IO;
using System.Net;
using System.Text;
namespace HipChat
{
/// <summary>
/// Http utilities class used for the API integration itself.
/// </summary>
class HttpUtils
{
/// <summary>
/// Reads the entire contents of a web response stream and returns as a... |
OpenCage.Geocode/ResponseObjects/Sun.cs | gingemonster/dotnet-opencage-geocode | 15 | 7068250 | <gh_stars>10-100
namespace OpenCage.Geocode
{
public class Sun
{
public Rise Rise { get; set; }
public Set Set { get; set; }
}
} |
Studio/ThreatsManager.Extensions.WinForms/Dialogs/ComparisonDialog.cs | simonec73/threatsmanager | 39 | 7068251 | using System.Windows.Forms;
using PostSharp.Patterns.Contracts;
using ThreatsManager.Interfaces;
using ThreatsManager.Interfaces.Extensions;
namespace ThreatsManager.Extensions.Dialogs
{
public partial class ComparisonDialog : Form, IExecutionModeSupport
{
public ComparisonDialog()
{
... |
tests/NuGetGallery.FunctionalTests.Fluent/BasicPages/ErrorPageTest.cs | dshaneg/NuGetGallery | 2 | 7068252 | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.ComponentModel;
using Xunit;
using Xunit.Abstractions;
namespace NuGetGallery.FunctionalTests.Fluent.BasicPages
{
publ... |
source/BinaryAssetBuilder.XmlCompiler/Marshaler.AttributeModifier.cs | Qibbi/BinaryAssetBuilder | 7 | 7068253 | <reponame>Qibbi/BinaryAssetBuilder
using Relo;
using SageBinaryData;
public static partial class Marshaler
{
public static unsafe void Marshal(Node node, AttributeModifierListType* objT, Tracker state)
{
if (node is null)
{
return;
}
Marshal(node.GetAttributeValue(n... |
admin/Ouput-KG/Assets/QRToMap/objects/Pixels/PixelSquare.cs | TimBouwman/KlauterGame | 0 | 7068254 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PixelSquare {
private Dictionary<Vector2, Pixel> pixels;
private Color debugColor;
public PixelSquare(Dictionary<Vector2, Pixel> pixels) {
this.pixels = pixels;
this.debugColor = new C... |
Assets/Plugins/UniOSC/Scripts/UniOSCAbstractItem.cs | MichaelProkofyev/Impulse | 0 | 7068255 | /*
* UniOSC
* Copyright © 2014-2015 <NAME>
* All rights reserved
* <EMAIL>
*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
namespace UniOSC{
/// <summary>
/// Uni OSC abstract item is the base class for Mapping/Session Items.
/// </summary>
[Serializable]
public a... |
YDock/View/Layout/LayoutGroupDocumentPanel.cs | aybe/YDock | 37 | 7068256 | <filename>YDock/View/Layout/LayoutGroupDocumentPanel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YDock.Interface;
using YDock.Enum;
using System.Windows;
using YDock.Model;
namespace YDock.View
{
public class LayoutGroupDocumentPanel : LayoutGroupPanel
{
... |
src/Apparatus.AOT.Reflection.Core/Stores/MetadataStore.cs | byme8/AttributesExtractor | 15 | 7068258 | <filename>src/Apparatus.AOT.Reflection.Core/Stores/MetadataStore.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Apparatus.AOT.Reflection.Core.Stores
{
public static class Config
{
public static bool Testing { get; set; }
}
public static class MetadataStore<T>
... |
source/Glimpse.Core/Configuration/LoggingLevel.cs | uQr/Glimpse | 1 | 7068259 | namespace Glimpse.Core.Configuration
{
/// <summary>
/// <c>LoggingLevel</c> defines the level of output detail to be written to the Glimpse log.
/// </summary>
public enum LoggingLevel
{
/// <summary>
/// The <c>Trace</c> level is the most detailed level of output in Glimpse.
... |
SFX-Engine-NAudio/Sources/FileSoundFX.cs | kintoshmalae/SFX-ShowPlayer | 0 | 7068260 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using com.kintoshmalae.SFXEngine.Audio;
using NAudio.Wave;
namespace com.kintoshmalae.SFXEngine.NAudio.Sources {
class FileSoundFX : WaveStreamSoundFX {
private FileInfo fName;
public FileSound... |
src/Samples/Modules/Modular.Flair.WebPackage/Models/Trivia.cs | Yoshi325/spark | 99 | 7068261 | <reponame>Yoshi325/spark
namespace Modular.Flair.WebPackage.Models
{
public class Trivia
{
public int Id { get; set; }
public string Teaser { get; set; }
public string Details { get; set; }
}
} |
src/XamForms/XamForms.Platform/SQLite/SQLitePlatform.cs | wislon/xamforms-template | 0 | 7068262 | <filename>src/XamForms/XamForms.Platform/SQLite/SQLitePlatform.cs
using System.IO;
using SQLite;
using XamForms.Shared.Interfaces;
namespace XamForms.Platform.SQLite
{
/// <summary>
/// Custom platform-specific ISQlite implementation we made for
/// unit testing and windows-based file management
///... |
LSDR/Assets/Scripts/Game/JournalLoaderSystem.cs | Sievaxx/LSDRevamped | 53 | 7068263 | <gh_stars>10-100
using System.Collections.Generic;
using System.IO;
using LSDR.Dream;
using LSDR.Util;
using Torii.Serialization;
using Torii.Util;
using UnityEngine;
namespace LSDR.Game
{
[CreateAssetMenu(menuName="System/JournalLoaderSystem")]
public class JournalLoaderSystem : ScriptableObject
{
... |
src/UI/MainWindow.xaml.cs | Ogaros/Mosaic | 0 | 7068264 | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace Mosaic
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </sum... |
Tetris/Tetris/Tetris/Pieces/ZPiece.cs | tdeeb/GBTetrisRemake | 0 | 7068266 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace Tetris
{
public sealed class ZPiece : Piece
{
public ZPiece()
{
Rectangle spawnloc = SpawnPiece();
Blocks = new Rectangle[4] { s... |
Tools/MapCruncher/MSR.CVE.BackMaker/MapRectangle.cs | Andre-Capjoy/GMap.NET | 296 | 7068267 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Xml;
using MSR.CVE.BackMaker.ImagePipeline;
namespace MSR.CVE.BackMaker
{
public class MapRectangle : IRobustlyHashable
{
public LatLon ll0;
public LatLon ll1;
private const string MapRectangleTag = "MapR... |
GiftDemo/Assets/vhAssets/vhutils/BMLParser.cs | USC-ICT/gift-integration-demo | 0 | 7068268 | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
public class BMLParser
{
#region Constants
static readonly string[] EventXmlNames =
{
"sbm:animation",
"animation",
"gaz... |
HealthInsuranceMgmt/HealthInsuranceMgmt/Models/PoliciesMetadata.cs | minhkhoi260199/CoolCare-eProject-PcT | 1 | 7068269 | using HealthInsuranceMgmt.Models.EFCore;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace HealthInsuranceMgmt.Models
{
public class PoliciesMetadata
{
[Required]
... |
SoRaVAC/Views/ShellPage.xaml.cs | AleronWen/SoRaVAC | 1 | 7068270 | <reponame>AleronWen/SoRaVAC
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using SoRaVAC.Core;
using SoRaVAC.Helpers;
using SoRaVAC.Services;
using SoRaVAC.Views.Contracts;
usi... |
Angular/Utils.cs | diegomvh/Od2Ts | 11 | 7068271 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace ODataApiGen.Angular {
public enum TypeScriptElement {
Enum,
Class,
Attribute,
Method,
Function,
Constant
}
public static class Utils {
... |
SalaryForecaster.Core/Infrastructure/IUpdateService.cs | AlexanderYunker1983/SalaryForecaster | 0 | 7068272 | using JetBrains.Annotations;
namespace SalaryForecaster.Core.Infrastructure
{
public interface IUpdateService
{
[UsedImplicitly]
bool UpdateJsonFiles();
[UsedImplicitly]
bool UpdateReleaseInfo(string branch = "master");
}
} |
Roslyn/VSMRolynCTP.DemoCodeIssue/StaticMethodCodeAction.cs | gamert/libGithub | 0 | 7068273 | <filename>Roslyn/VSMRolynCTP.DemoCodeIssue/StaticMethodCodeAction.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Roslyn.Compilers;
using Roslyn.Compilers.CSharp;
using Roslyn.Services;
using Roslyn.Services.Editor;
namespace VSMRolynCTP.DemoCodeIssue
{
class StaticM... |
src/Castle.Components.Validator/IValidatorRegistry.cs | hach-que/Castle.Core | 0 | 7068274 | <reponame>hach-que/Castle.Core
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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/lice... |
Services/ProductVariants/IProductVariantService.cs | PetkoBorisov/EcommerceMVC | 0 | 7068276 |
using EcommerceMVC.Data.Models;
namespace EcommerceMVC.Services.ProductVariants
{
public interface IProductVariantService
{
int Create(int productId, decimal price, int colourId
, List<Image> images, int sizeId, float reviewScore
, DateTime createdDate);
}
}
|
Digital_Storehouse/Views/UpdateOrdersProducts.Designer.cs | Arxa/business_management_gui | 2 | 7068277 | <reponame>Arxa/business_management_gui<gh_stars>1-10
namespace Digital_Storehouse.Views
{
partial class UpdateOrdersProducts
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... |
IWebElement/Extensions.cs | AndreasKarz/FunkyBDD.SxS.Selenium.WebElement | 0 | 7068278 | <reponame>AndreasKarz/FunkyBDD.SxS.Selenium.WebElement<filename>IWebElement/Extensions.cs
using OpenQA.Selenium;
using OpenQA.Selenium.Internal;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.ObjectModel;
namespace FunkyBDD.SxS.Selenium.WebElement
{
public static class Extensions
{
... |
WispSurvivor/RogueWispPlugin/PartialMain/RogueWisp/NewEffects/NewLeechOrbEffect.cs | Reinms/RoR2Modding | 0 | 7068279 | #if ROGUEWISP
using Rein.RogueWispPlugin.Helpers;
using ReinCore;
using RoR2;
using UnityEngine;
//using static RogueWispPlugin.Helpers.APIInterface;
namespace Rein.RogueWispPlugin
{
internal partial class Main
{
partial void RW_NewLeechOrbEffect()
{
this.Load += this.RW_Create... |
UnityPython.BackEnd/src/Traffy.BuiltinFunctions/Collections.cs | thautwarm/Traffy.UnityPython | 29 | 7068280 | // builtin functions in traffy.unitypython
using Traffy.Objects;
using Traffy.Annotations;
using System.Collections.Generic;
using System;
namespace Traffy
{
public static partial class Builtins
{
static IEnumerator<TrObject> _mapN(TrObject func, IEnumerator<TrObject>[] items)
{
... |
SlideCreater/MainWindow.xaml.cs | kjgriffin/LivestreamServiceSuite | 5 | 7068281 | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Do... |
tests/UrlFilter.Tests/TestDocument.cs | saiedkia/UrlFilter | 2 | 7068282 | <reponame>saiedkia/UrlFilter
using System;
using System.Collections.Generic;
namespace UrlFilter.Tests
{
class TestDocument
{
public TestDocument(){}
public TestDocument(int seed, bool includeSubdocument = false)
{
Value = seed;
AnotherValue = Math.Pow(-1, seed... |
roman-numerals/RomanNumerals.cs | okaram/exercism-csharp | 2 | 7068283 | <reponame>okaram/exercism-csharp<gh_stars>1-10
using System;
public static class RomanNumeralExtension
{
public static string ToRomanOnes(int value) {
string[] vals={"","I","II","III","IV","V","VI","VII","VIII","IX"};
return vals[value];
}
public static string ToRomanTens(int value) {
... |
Assets/Microgames/FanBlow/Scripts/FanBlowDust.cs | bosmobosmo/NitoriWare | 119 | 7068284 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FanBlowDust : MonoBehaviour
{
[SerializeField]
private Vibrate vibrate;
[SerializeField]
private ParticleSystem deathParticles;
[SerializeField]
private SpriteRenderer dustRenderer;
[SerializeField... |
MinecraftMappings.NET/Minecraft/Java/Textures/Block/CrimsonDoorBottom.cs | null511/MinecraftMappings.NET | 0 | 7068285 | <reponame>null511/MinecraftMappings.NET
using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Java.Textures.Block
{
public class CrimsonDoorBottom : JavaBlockTexture
{
public CrimsonDoorBottom() : base("Crimson Door Bottom")
{
AddVersion("crimson_do... |
Modules/OwnerModule.cs | FuzzicalLogic/PoE-Bot | 6 | 7068286 | namespace PoE.Bot.Modules
{
using Discord;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using PoE.Bot.Attributes;
using PoE.Bot.Contexts;
using PoE.Bot.Helpers;
using PoE.Bot.Models;
using PoE.Bot.ModuleBases;
using PoE.Bot.Checks;
using Qmmands;
using Syste... |
SmartStoreNET-3.x/src/Presentation/SmartStore.Web.Framework/Theming/ThemeVarsRepository.cs | jonmcquade/csharp-snippets | 2 | 7068287 | using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using SmartStore.Core.Infrastructure;
using SmartStore.Services.Themes;
using System.Web;
using System.IO;
namespace SmartStore.Web.Framework.Theming
{
internal class ThemeVarsRepos... |
Src/Couchbase.Linq/Extensions/QueryExtensions.Count.cs | kapral/Linq2Couchbase | 87 | 7068288 | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
namespace Couchbase.Linq.Extensions
{
// CountAsync and LongCountAsync extensions
public static partial class QueryExtensions
{
/// <summary>
/// Asynchronously retrieves ... |
generated/api/Models/UpdateCompany.cs | Commvault/CVPowershellSDKV2 | 0 | 7068289 | <reponame>Commvault/CVPowershellSDKV2
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Models
{
using static Commvault.Powershell.Runtime.Extens... |
RESTComponent.Api/Status/IStatusController.cs | rachwal/RTM-REST-API | 0 | 7068290 | // RESTComponent
// RESTComponent.Api
// IStatusController.cs
//
// Created by <NAME>.
// Copyright (c) 2015 <NAME>. The National Institute of Advanced Industrial Science and Technology, Japan. All rights reserved.
namespace RESTComponent.Api.Status
{
public interface IStatusController
{
string Get(... |
WgWall/Controllers/TaskTemplateController.cs | famoser/wg-wall | 1 | 7068291 | <reponame>famoser/wg-wall
using Microsoft.AspNetCore.Mvc;
using WgWall.Api.Dto;
using WgWall.Api.Request;
using WgWall.Controllers.Base;
using WgWall.Data.Model;
using WgWall.Data.Repository.Interfaces;
namespace WgWall.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class TaskTemplateCon... |
CovidSafe/CovidSafe.Entities/Validation/Validator.cs | covidsafe/backend | 24 | 7068292 | using System;
using CovidSafe.Entities.Geospatial;
using CovidSafe.Entities.Validation.Resources;
namespace CovidSafe.Entities.Validation
{
/// <summary>
/// Checks various types for validity
/// </summary>
public static class Validator
{
/// <summary>
/// Maximum allowed age of a ... |
Assets/Scripts/MVP/UI/DownView.cs | Karasu-type0/TutorialMVP_RxZen | 0 | 7068293 | <reponame>Karasu-type0/TutorialMVP_RxZen
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UniRx;
using System;
public class DownView : MonoBehaviour
{
private Button _downButton;
private readonly Subject<Unit> _subject = new Subject<Unit>();... |
src/Frontend/App/Core/ViewModels/PlanTourViewModel.cs | vividos/HikingPathFinder | 0 | 7068294 | using HikingPathFinder.App.Logic;
using HikingPathFinder.App.Views;
using HikingPathFinder.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using... |
Cool/CodeGeneration/IntermediateCode/ThreeAddressCode/PushParamLine.cs | ivangalbans/CoolCompiler | 4 | 7068295 | <filename>Cool/CodeGeneration/IntermediateCode/ThreeAddressCode/PushParamLine.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cool.CodeGeneration.MIPSCode;
namespace Cool.CodeGeneration.IntermediateCode.ThreeAddressCode
{
p... |
IODataBlock/Business/Business.Common/Extensions/BsonExpandoBytesSerialization.cs | JohnPKosh/IODataBlock | 1 | 7068297 | <filename>IODataBlock/Business/Business.Common/Extensions/BsonExpandoBytesSerialization.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Dynamic;
namespace Business.Common.Extensions
{
public static class BsonExpandoBytesSerialization
{
... |
Test.cs | Alfo5123/Recursive-Least-Square-Filter- | 1 | 7068298 | <gh_stars>1-10
using System;
using System.Collections;
using System.IO;
namespace RLS
{
class Test
{
public static ArrayList WriteFile ( String filepath )
{
ArrayList list = new ArrayList ();
// Read from File
String line;
try
{
//Pass the file path and file name to the StreamReader const... |
CentiroHomeAssignment/CentiroHomeAssignment/Views/Orders/ShowOrdersByOrderNumber.cshtml | VahidDalirii/MVC | 0 | 7068299 | @model IEnumerable<CentiroHomeAssignment.Models.OrderRow>
@{
ViewData["Title"] = "ShowOrdersByOrderNumber";
}
@if (Model.Count() == 0)
{
<h1>No Orders</h1>
}
else
{
<h1>Orders By Order Number: @Model.FirstOrDefault().OrderNumber</h1>
}
<hr />
<br />
<div>
@if (Model.Count() == 0)
{
<h5> ... |
Assets/Scripts/Generated/Game/Components/GameLocalComponent.cs | Arpple/projectend | 0 | 7068300 | <reponame>Arpple/projectend<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentContextGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// ... |
source/R5T.S0030/Code/Operations/O200_AddServiceDefinitionMarkerAttributeAndInterface.cs | SafetyCone/R5T.S0030 | 0 | 7068301 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
using R5T.Lombardy;
using R5T.Magyar;
using R5T.D0078;
using R5T.D0079;
using R5T.D0083;
using R5T.D0101;
using R5T.T0020;
using LocalData;
using R5T.S0030.Repositories;
namespace R5T.S0030
{
/// ... |
CloudColony/CloudColony/Framework/FrameAnimation.cs | Caresilabs/ArcadeGame2016 | 0 | 7068302 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace CloudColony.Framework
{
public class FrameAnimation : Animation
{
private Texture2D texture;
private Point origin;
private Point walker;
private float stateTime;
private int w... |
src/VaultService.UnitTests/Units/ServiceFabricStorage/DeleteBucketAsyncFeature.cs | mcpride/servicefabric-vault-integration | 1 | 7068303 | <gh_stars>1-10
using System;
using Microsoft.Extensions.Options;
using Microsoft.ServiceFabric.Data.Collections;
using Moq;
using ServiceFabric.Mocks;
using VaultService.S3.Model;
using VaultService.S3.Storage;
using Xbehave;
using Xunit;
namespace VaultService.UnitTests.Units.ServiceFabricStorage
{
public class ... |
Assets/mruby-unity/CSObjectTest.cs | haramako/mruby-test | 0 | 7068304 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace MRuby
{
public class Character
{
public string Name;
public int Age;
public Character(string name, int age)
{
Name = name;
Age = age;
}
... |
Mozlite.Extensions.Storages/Epub/EpubSettings.cs | Mozlite/aspnetcore | 8 | 7068305 | using System;
using System.IO;
using System.IO.Compression;
using System.Text;
using System.Xml;
namespace Mozlite.Extensions.Storages.Epub
{
/// <summary>
/// 定义。
/// </summary>
public static class EpubSettings
{
/// <summary>
/// 扩展名称。
/// </summary>
public const ... |
uTinyRipperCore/Structure/ProjectCollection/Collections/AnimatorControllerExportCollection.cs | Bluscream/UtinyRipper | 2,066 | 7068306 | using System.Collections.Generic;
using uTinyRipper.Classes;
using uTinyRipper.Classes.AnimatorControllers;
using uTinyRipper.Converters;
using uTinyRipper.SerializedFiles;
using uTinyRipper.Classes.Misc;
using uTinyRipper.Classes.BlendTrees;
namespace uTinyRipper.Project
{
public class AnimatorControllerExportCollec... |
src/I.Tests/ServiceBehaviorFixtures.cs | peopleware/net-ppwcode-vernacular-wcf | 0 | 7068307 | <gh_stars>0
// Copyright 2014 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
TIS100-Sharp/Operators/Move.cs | arlm/LanguagesSharp | 2 | 7068308 | namespace TIS100Sharp.Operators
{
public class Move : Operator
{
public Operand Source { get; private set; }
public Operand Destination { get; private set; }
public Move(Operand source, Operand destination)
{
this.Source = source;
this.Destination = destination;
... |
RI.Framework.Common/Composition/Model/ExportAttribute.cs | gosystemsgmbh/RI_Framework | 1 | 7068309 | <filename>RI.Framework.Common/Composition/Model/ExportAttribute.cs<gh_stars>1-10
using System;
using RI.Framework.Utilities;
using RI.Framework.Utilities.Exceptions;
namespace RI.Framework.Composition.Model
{
/// <summary>
/// Defines under which name a type is exported when used in model-based export... |
CloudWars.Entities/Game/MatchUnit.cs | pedro-ramirez-suarez/cloudwarsgame | 6 | 7068310 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Needletail.DataAccess.Attributes;
namespace CloudWars.Entities.Game
{
public class MatchUnit
{
[TableKeyAttribute(CanInsertKey = true)]
public Guid Id { get; set; }
public Guid PlayerId { get; s... |
src/Couchbase.EntityFramework/QueryGeneration/IMethodCallTranslator.cs | couchbaselabs/dotnet-couchbase-ef | 12 | 7068311 | <reponame>couchbaselabs/dotnet-couchbase-ef
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Couchbase.EntityFramework.QueryGeneration
{
internal interface IMethodCallTranslator
{
IEnumerable<MethodInfo> SupportMethods { get; }
Expression Tra... |
Duel/Data/FiredBullet.cs | notexplosive/duelity | 0 | 7068312 | using Duel.Components;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Duel.Data
{
public class FiredBullet
{
public FiredBullet(Point position, Direction shootDirection, LevelSolidProvider solidProvider)
{
StartPosition =... |
XMPP-Photon/FileTransfer.cs | negociosUK/xmpp-photon | 0 | 7068314 | using System;
using System.Net;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.ComponentModel;
using xmedianet.socketserver;
namespace com.negociosit.XMPP.XMPPphoton
{
public enum FileTransferDirection
{
Send,
Receive,
}
public e... |
TdLib/LegacyCompat.cs | x2bool/tdlib | 18 | 7068315 | <reponame>x2bool/tdlib
using System;
// ReSharper disable once CheckNamespace
namespace TDLib.Bindings;
// TODO[#114]: Mark these types as "error: true" in the next update.
[Obsolete("Use TdLib.Bindings.ITdLibBindings instead (check the namespace case)")]
public interface ITdLibBindings : TdLib.Bindings.ITdLibBindi... |
Source/Queries.Validation/IQueryValidationDescriptor.cs | joelhoisko/Runtime | 0 | 7068316 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*-------------------------------------------------------------------------------... |
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/Theme/TSTheme.cs | dkdk-ryu/TizenFX | 0 | 7068317 | using NUnit.Framework;
using System;
using System.Collections.Generic;
using Tizen.NUI.BaseComponents;
using Tizen.NUI.Binding;
namespace Tizen.NUI.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[Description("public/Theme/Theme")]
internal class PublicThemeTest
{
private const string... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.