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 |
|---|---|---|---|---|
OpenXMLSDK.Engine/ReportEngine/DataContext/Charts/BarCategoryModel.cs | Woxsart/OpenXMLSDK.Engine | 0 | 7070133 | namespace OpenXMLSDK.Engine.ReportEngine.DataContext.Charts
{
public class BarCategoryModel
{
/// <summary>
/// Name of the category
/// </summary>
public string Name { get; set; }
/// <summary>
/// Category color
/// </summary>
public string Col... |
Sources/HiPMobile/BusinessLayer/ContentApiFetchers/Contracts/IMediaDataFetcher.cs | HiP-App/HiP-Forms | 4 | 7070134 | // Copyright (C) 2017 History in Paderborn App - Universität Paderborn
//
// 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... |
src/Snoop/Utilities/VisualTreeHelperEx.cs | aelij/snoopx | 8 | 7070135 | // (c) 2015 <NAME>
// (c) Copyright <NAME>.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Windows;
using System.Windows.Media;
namespace Snoop.Utilities
{
public stat... |
Apex/ApexSharp/ApexAttributes/RestResourceAttribute.cs | apexsharp/apexsharp | 25 | 7070136 | using System;
namespace Apex.ApexSharp.ApexAttributes
{
[AttributeUsage(AttributeTargets.Class)]
public class RestResourceAttribute : Attribute
{
public string urlMapping { get; set; }
}
} |
ElasticSearchTester.Data/Models/ReportFile.cs | KeenMate/elasticsearch-roles-permissions | 0 | 7070137 | <filename>ElasticSearchTester.Data/Models/ReportFile.cs<gh_stars>0
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace ElasticSearchTester.Data.Models
{
[Serializable]
public class ReportFile
{
[JsonProperty(PropertyName = "filename")]
public readonly string FileName;
[JsonPro... |
Source/SharpX.Examples.ShaderLab/Enums.cs | mika-f/SharpX | 3 | 7070138 | <filename>Source/SharpX.Examples.ShaderLab/Enums.cs
namespace SharpX.Examples.ShaderLab
{
public enum BlendMode
{
Opaque,
Transparent
}
public enum ClippingMode
{
Left,
Center,
Right,
Top,
Bottom
}
public enum IndexSource
{
... |
GutterLines/GameInfo.cs | miatribe/GutterLines | 12 | 7070139 | <filename>GutterLines/GameInfo.cs
namespace GutterLines
{
public class GameInfo
{
public string Name { get; set; }
public int Lat { get; set; }
public int Lon { get; set; }
}
}
|
modules/pricer/src/test/java/com/opengamma/strata/pricer/cms/DiscountingCmsTradePricerTest.cs | ckarcz/Strata.ConvertedToCSharp | 0 | 7070140 | /*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.pricer.cms
{
//JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement cannot be converted to C#:
// import static com.opengamma.strata.bas... |
Sanatana.DataGenerator.EntityFramework/EntityFrameworkPersistentStorage.cs | RodionKulin/Sanatana.DataGenerator | 0 | 7070141 | <filename>Sanatana.DataGenerator.EntityFramework/EntityFrameworkPersistentStorage.cs
using Sanatana.DataGenerator.Internals;
using Sanatana.DataGenerator.Storages;
using Sanatana.EntityFramework.Batch.Commands;
using Sanatana.EntityFramework.Batch.Commands.Merge;
using System;
using System.Collections;
using System.Co... |
DreamNucleus.Heos/Commands/System/AccountSignOutCommand.cs | dreamnucleus/Heos | 10 | 7070142 | <filename>DreamNucleus.Heos/Commands/System/AccountSignOutCommand.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DreamNucleus.Heos.Infrastructure.Heos;
namespace DreamNucleus.Heos.Commands.System
{
public class AccountSign... |
Assets/BigfootDS/_Common/Scripts/BigfootWebColoursMetallic.cs | BigfootDS/BigfootDSTools | 0 | 7070143 | <filename>Assets/BigfootDS/_Common/Scripts/BigfootWebColoursMetallic.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using BigfootDS;
namespace BigfootDS {
[CreateAssetMenu(fileName = "BigfootWebColoursMetallic", menuName = "BigfootDS/WebC... |
services/Models/Data/Metrics_Detail.cs | samanthas14/cdms-be-public | 0 | 7070144 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace services.Models.Data
{
public class Metrics_Detail : DataDetail
{
//public int? YearReported { get; set; }
public string WorkElementName { get; set; }
//public string WorkElementTitle;
... |
src/MyTested.AspNetCore.Mvc.Controllers/Builders/Contracts/Actions/IActionResultTestBuilder.cs | kalintsenkov/MyTested.AspNetCore.Mvc | 8 | 7070145 | namespace MyTested.AspNetCore.Mvc.Builders.Contracts.Actions
{
/// <summary>
/// Used for testing the action and its result.
/// </summary>
/// <typeparam name="TActionResult">Type of action result to be tested.</typeparam>
public interface IActionResultTestBuilder<TActionResult> : IBaseActionResul... |
Shared/Actions/BaseResult.cs | ShaharrHorn/CloudinaryChallenge | 0 | 7070146 | using System;
using System.Collections.Generic;
using System.Net;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace CloudinaryDotNet.Actions
{
/// <summary>
/// Possible moderation statuses
/// </summary>
public enum ModerationStatus
{
[EnumMe... |
Source/MQTTnet.Tests/Server/Cross_Version_Tests.cs | azraelrabbit/MQTTnet | 198 | 7070147 | <filename>Source/MQTTnet.Tests/Server/Cross_Version_Tests.cs
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTnet.Client;
using MQTTnet.Formatter;
namespace MQTTnet.Tests.Server
{
[TestClass]
public sealed class Cross_Version_Test... |
TODT.Test/UtilityTests/StringExtensionsTests.cs | TheOtherTimDuncan/TOTD | 0 | 7070148 | <filename>TODT.Test/UtilityTests/StringExtensionsTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TOTD.Utility.StringHelpers;
namespace TODT.Test.UtilityTests
{
[TestClass]
public class StringExtension... |
C# Web Module/CSharp-Web-Development-Basics/04.StateManagement/CustomHttpServer/CustomHttpServer/Application/Views/Home/HomeViewIndex.cs | msotiroff/Softuni-learning | 1 | 7070149 | namespace CustomHttpServer.Application.Views
{
using Server.Http.Contracts;
public class HomeViewIndex : IView
{
public string View()
{
return
"<body>" +
" <h1>Welcome</h1>" +
"</body>";
}
}
}
|
samples/Venture/Common/Venture.Common.Application/Egress/VentureOutgoingMessageHandlingContext.cs | troy909/Eshva.Poezd | 0 | 7070150 | <reponame>troy909/Eshva.Poezd<gh_stars>0
#region Usings
using System;
using JetBrains.Annotations;
#endregion
namespace Venture.Common.Application.Egress
{
public class VentureOutgoingMessageHandlingContext
{
/// <summary>
/// Constructs a new instance of Venture outgoing message handling context.
//... |
UnitOfWorkDemo/MiCake.Uow.Easy/UnitOfWorkManager.cs | uoyoCsharp/HowToDDD | 14 | 7070151 | using MiCake.Core.Abstractions;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace MiCake.Uow.Easy
{
public class UnitOfWorkManager : IUnitOfWorkManager
{
private IUnitOfWork currentUow;
private bool _isDisposed = false;... |
SusuCMS/Helpers/DesignHelper.cs | wenbinke/susucms | 0 | 7070152 | <filename>SusuCMS/Helpers/DesignHelper.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SusuCMS.Web;
using SusuCMS.Data;
namespace SusuCMS.Helpers
{
public static class DesignHelper
{
public static void SetPreview(Site site, Page page)
{... |
SimplyCast360/SimplyCast360.cs | stevedorries/csharp-wrapper | 1 | 7070153 | <filename>SimplyCast360/SimplyCast360.cs
//----------------------------------------------------------------
// SimplyCast360.cs
// Copyright SimplyCast 2014
// This projected is licensed under the terms of the MIT license.
// (see the attached LICENSE.txt).
//----------------------------------------------------------... |
WinNetMeter/UserControls/FirstRun/StartPage4.Designer.cs | fanioz/WinNetMeter | 33 | 7070154 | <filename>WinNetMeter/UserControls/FirstRun/StartPage4.Designer.cs
namespace WinNetMeter.UserControls.FirstRun
{
partial class StartPage4
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <sum... |
patrones-diseno/practicas/flyweight/flyweight/Program.cs | pabloaguiars/8vo | 0 | 7070155 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace flyweight
{
class Program
{
static void Main(string[] args)
{
PlayList playList1;
PlayList playList2;
PlayList playList3;
Song[] test_songs = GetTestSongs(20... |
src-console/ConsoleAppPerformanceTest236/Program.cs | ascott18/System.Linq.Dynamic.Core | 1 | 7070157 | <gh_stars>1-10
namespace ConsoleAppPerformanceTest236
{
class Program
{
static void Main(string[] args)
{
Test.DoIt();
int x = 0;
}
}
}
|
core/ObjectSerialiser.cs | PeteX/tomatwo-datastore | 0 | 7070158 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Tomatwo.DataStore
{
// The ObjectSerialiser converts between POCOs and nested IDictionaries and ILists. It emits code to do the
// conversion at setup time, rather t... |
src/CoreImaging/PNG/PngExtensions.cs | socdream/CoreImaging | 2 | 7070159 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreImaging.PNG
{
public static class PngExtensions
{
static uint[] crcTable;
// Stores a running CRC (initialized with the CRC of "IDAT" string). When
// you write this to the PNG, write as a ... |
sources/Google.Solutions.Common/Locator/ProjectLocator.cs | tonisolikin/iap-desktop | 402 | 7070160 | <filename>sources/Google.Solutions.Common/Locator/ProjectLocator.cs<gh_stars>100-1000
//
// Copyright 2019 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding co... |
Tests/NativeArray2dEditorTests.cs | andywiecko/BurstCollections | 3 | 7070161 | <gh_stars>1-10
using NUnit.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
namespace andywiecko.BurstCollections.Editor.Tests
{
public class NativeArray2dEditorTests
{
... |
MonoJavaBridge/android/generated/android/graphics/Color.cs | JeroMiya/androidmono | 3 | 7070162 | namespace android.graphics
{
[global::MonoJavaBridge.JavaClass()]
public partial class Color : java.lang.Object
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
protected Color(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
{
}
private static global::MonoJavaBridge.MethodId _... |
src/KeyValueLite/IntegrityCheck.cs | dbuksbaum/KeyValueLite | 1 | 7070163 | namespace KeyValueLite
{
/// <summary>
/// Used for the result of an integrity checki with
/// the underlying SQLite data store.
/// <see cref="http://www.sqlite.org/pragma.html#pragma_integrity_check"/>
/// </summary>
internal class IntegrityCheck
{
[SQLite.Column("integrity_check")]
// ReSharp... |
Source/ArcLogistics/Geometry/GeometryConst.cs | ValueCreation/RoutePlanner | 17 | 7070164 | <reponame>ValueCreation/RoutePlanner<gh_stars>10-100
namespace ESRI.ArcLogistics.Geometry
{
/// <summary>
/// Geometry constants.
/// </summary>
internal sealed class GeometryConst
{
// default spatial reference id
public const int WKID_WGS84 = 4326;
}
}
|
College Jam/Assets/Scripts/Graphs/Nodes/NodePhysics.cs | ryanakann/college-jam-2021 | 0 | 7070166 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Graphs {
namespace Nodes {
public class NodePhysics : MonoBehaviour {
List<NodePhysics> neighbors;
public float targetDistance;
public float forceMultiplier = 0.01f;
pri... |
Apache.Hadoop.Hbase.Thrift2/TPut.cs | yuanrui/Examples | 4 | 7070167 | /**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Collections;
using System.Runtime.Serializat... |
PressurePlate/Items.cs | MSchmoecker/Valheim-Pressure-Plate | 3 | 7070168 | <filename>PressurePlate/Items.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEngine;
using Jotunn.Configs;
using Jotunn.Entities;
using Jotunn.Managers;
namespace PressurePlate {
public class Items {
public static void Init(AssetBundle assetBun... |
seasons_of_change_code/Player.cs | albertlouisong/albertlouisong.github.io | 0 | 7070169 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
// script to control the player
public class Player : MonoBehaviour {
private Rigidbody2D myRigidbody2D;
// player attributes
public float moveSpeed; // how fast the player moves
public float jumpHeight; // how high the player jumps... |
BeautifulFractals.Core/Rendering/LinearGradientBrush.cs | T-Alex/BeautifulFractals | 7 | 7070170 | <filename>BeautifulFractals.Core/Rendering/LinearGradientBrush.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TAlex.BeautifulFractals.Rendering
{
public class LinearGradientBrush
{
public double Angle { get; set; }
public Color FromColor { g... |
sourceCode/StormSource/Storm.UI/CustomEditor.cs | yicong1352013/Storm | 1 | 7070171 | //Copyright (c) 2008, <NAME>
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
//following conditions are met:
//
//* Redistributions of source code must retain the above copyright notice, this list of conditions and the followi... |
src/core/Akka.Cluster.Tests/MultiNode/MultiNodeClusterSpec.cs | forki/akka.net | 0 | 7070172 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Akka.Actor;
using Akka.Cluster.Tests;
using Akka.Configuration;
using Akka.Remote;
using Akka.Remote.TestKit;
using Akka.TestKit;
namespace Akka.Cluster.MultiNode
{
//T... |
src/LDAPWebApi/Controllers/Constraints/LDAPCatalogTypeRouteConstraint.cs | bitai-cs/LDAPWebApi | 0 | 7070173 | using Bitai.LDAPWebApi.Configurations.LDAP;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using System;
namespace Bitai.LDAPWebApi.Controllers.Constraints
{
public class LDAPCatalogTypeRouteConstraint : IRouteConstraint
{
private readonly DTO.LDAPCatalogTypes _ldapCatalogTypeRou... |
src/DND.Common/Extensions/UrlHelperExtensions.cs | davidikin45/DigitalNomadDaveAspNetCore | 0 | 7070174 | <gh_stars>0
using DND.Common.Helpers;
using DND.Common.Infrastructure;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using System;
using System.Linq.Expressions;
namespace DND.Common.Extensions
{
public static class UrlHelperExtensions
{
public static string Content(this IUrlHelp... |
Utilities/HtmlCleaner/PersianProofWriter.cs | ShahramAfshar/IrisStore | 68 | 7070175 | using System.Text.RegularExpressions;
namespace Utilities.HtmlCleaner
{
public static class PersianProofWriter
{
#region Fields (4)
public const char ArabicKeChar = (char)1603;
public const char ArabicYeChar = (char)1610;
public const char PersianKeChar = (char)1705;
p... |
AuthenticationRepoAndUOW/Actions/LoginProcessorAction.cs | Xaniff/BlogCodeExercise | 0 | 7070176 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataLayer;
using UserBoundedContext;
using Utilities;
namespace UserRepoAndUOW.Actions
{
public class LoginProcessorAction : ILoginProcessorAction
{
/// <summary>
/// Validates whether a giv... |
Repo.Test/Services/RoleServiceTests.cs | MaksHladki/Test.Repo | 0 | 7070177 | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using NUnit.Framework;
using Repo.BAL.Services;
using Repo.BAL.Validation;
using Repo.DAL.Context;
using Repo.DAL.Infrastructure;
using Repo.Helpers.Validation;
using Repo.Model.Models;
namespace Repo.Test.Services
{
[Tes... |
src/FluentLinqToSql/Internal/LinqElement.cs | JeremySkinner/FluentLinqToSql | 7 | 7070178 | #region License
// Copyright 2008 <NAME> (http://www.jeremyskinner.co.uk)
//
// 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
//
// Unl... |
VengineX/Wrappers/FreeType/CharacterRange.cs | BlakkM9/VengineX | 0 | 7070179 | <reponame>BlakkM9/VengineX<filename>VengineX/Wrappers/FreeType/CharacterRange.cs
namespace VengineX.Wrappers.FreeType
{
/// <summary>
/// Represents a range of characters (UTF-16) to be loaded via free type.
/// </summary>
public struct CharacterRange
{
public static readonly CharacterRang... |
04.centerControl/cc_serverAndclient/MCS/xml.cs | ZqWong/MCS | 0 | 7070180 | <filename>04.centerControl/cc_serverAndclient/MCS/xml.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MCS
{
public partial class 配... |
MyUALifeTests/Source/Model/EventTypeTests.cs | theimbichner/MyUALife | 0 | 7070181 | <filename>MyUALifeTests/Source/Model/EventTypeTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MyUALife;
namespace MyUALifeTests
{
[TestClass()]
public class EventTypeTests
{
[TestMethod()]
public void TestEventType()
{
EventType type = new EventType("... |
Assets/Scripts/ObjectsScript/Move.cs | mmkhajoo/ThrowTheRing | 1 | 7070182 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Move : MonoBehaviour
{
// Start is called before the first frame update
// public GameObject rod;
public Rigidbody rb;
public Vector3 startPos, endPos;
private Vector3 currentPos, targetPo... |
ClientC2/channels/DomainBorrowingChannel.cs | Cerbersec/DomainBorrowingC2 | 148 | 7070183 | <reponame>Cerbersec/DomainBorrowingC2<filename>ClientC2/channels/DomainBorrowingChannel.cs
using System;
using ClientC2.interfaces;
using System.Collections.Generic;
using System.Threading;
using ClientC2.helpers;
namespace ClientC2.channels
{
class DomainBorrowingChannel : IC2Channel
{
private readon... |
examples/Fig.Examples.SettingsDataLoader/Program.cs | mzbrau/fig | 1 | 7070184 | <reponame>mzbrau/fig
// See https://aka.ms/new-console-template for more information
using Fig.Client;
using Fig.Client.Configuration;
using Fig.Client.Logging;
using Fig.Examples.SettingsDataLoader.Settings;
const string ApiAddress = "https://localhost:7281";
var userServiceOptions = new FigOptions
{
ApiUri = ... |
tModPorter/tModPorter.Tests/TestData/GlobalItemTest.Expected.cs | blushiemagic/tModLoader | 438 | 7070185 | <filename>tModPorter/tModPorter.Tests/TestData/GlobalItemTest.Expected.cs
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
using Terraria.ModLoader.IO;
public class GlobalItemTest : GlobalItem
{
public override bool? UseItem(Item item, Player player)/* tModPorter Suggestion: Return null instea... |
07. CalculateFormula/CalculateFormula.cs | VenelinGP/Loops | 0 | 7070186 | <reponame>VenelinGP/Loops<gh_stars>0
using System;
using System.Numerics;
/* In combinatorics, the number of ways to choose k different members out of a group of n different elements
* (also known as the number of combinations) is calculated by the following formula
* For example, there are 2598960 ways to withdraw... |
Turing.NET/TuringIntent.cs | Oceania2018/turing.net | 4 | 7070187 | <filename>Turing.NET/TuringIntent.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Turing.NET
{
public class TuringIntent
{
public int Code { get; set; }
public string IntentName { get; set; }
}
}
|
src/Dangl.WebDocumentation/Services/ProjectVersionsService.cs | GeorgDangl/WebDocu | 3 | 7070188 | <gh_stars>1-10
using Dangl.WebDocumentation.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dangl.WebDocumentation.Services
{
public class ProjectVersionsService : IProjectVersionsService
{
private ... |
SharpOpenDocument/DublinCoreCreator.cs | ellorenz2/SharpOpenDocument | 1 | 7070189 | <filename>SharpOpenDocument/DublinCoreCreator.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpOpenDocument
{
public class DublinCoreCreator
{
public DublinCoreCreator()
{
this.Value = String.Empty;
}
public DublinCo... |
Source/RimShips/JobGiver_PrepareCaravan_GatheringShip.cs | Proxyer/Boats | 0 | 7070191 | <filename>Source/RimShips/JobGiver_PrepareCaravan_GatheringShip.cs
using RimShips.Defs;
using RimWorld;
using Verse;
using Verse.AI;
using Verse.AI.Group;
namespace RimShips.Jobs
{
public class JobGiver_PrepareCaravan_GatheringShip : ThinkNode_JobGiver
{
protected override Job TryGiveJob(Pawn pawn)
... |
AppMYSqlMVC/AppMYSqlMVC/Models/clientes.cs | mikhailsb/Aula_ASPNET_MVC | 0 | 7070192 | <reponame>mikhailsb/Aula_ASPNET_MVC<filename>AppMYSqlMVC/AppMYSqlMVC/Models/clientes.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace AppMYSqlMVC.Models
{
public class clientes
{
public int ClienteId { get; s... |
Survi.Prevention.ServiceLayer/Import/BuildingImportation/Types/SprinklerTypeImportationConverter.cs | CAUCA-9-1-1/survip-webapi | 2 | 7070193 | using FluentValidation;
using Survi.Prevention.DataLayer;
using Survi.Prevention.Models.Buildings;
using Survi.Prevention.ServiceLayer.Import.Base;
using Survi.Prevention.ServiceLayer.Import.Base.Cache;
using SprinklerType = Survi.Prevention.ApiClient.DataTransferObjects.SprinklerType;
namespace Survi.Prevention.Serv... |
HaleyIOC/Interfaces/IPayLoad.cs | TheHaleyProject/HaleyIOC | 0 | 7070195 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Collections.Concurrent;
using Haley.Enums;
namespace Haley.Abstractions
{
public interface IPayLoad
{
string priority_key { get; set; }
Type contract_type { get; set; }
Type concrete... |
src/TeamCloud.Adapters/Authorization/AuthorizationTokenOptions.cs | QPC-database/TeamCloud | 1 | 7070196 | <filename>src/TeamCloud.Adapters/Authorization/AuthorizationTokenOptions.cs
/**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*/
using System;
namespace TeamCloud.Adapters.Authorization
{
public sealed class AuthorizationTokenOptions : IAuthorizationTokenOptions
{
publ... |
nehta_cda_v4.3.0/CDA.Generator.Common/SCSModel/Common/Entities/ImageDetails.cs | oridashi/CDAAU | 18 | 7070197 | /*
* Copyright 2013 NEHTA
*
* Licensed under the NEHTA Open Source (Apache) License; you may not use this
* file except in compliance with the License. A copy of the License is in the
* 'license.txt' file, which should be provided with this work.
*
* Unless required by applicable law or agreed to in writing, so... |
source/BattleMiniMap/src/View/AgentMarkers/TextureProviders/DeadAgentTextureProvider.cs | lzh-mb-mod/BattleMiniMap | 2 | 7070198 | using BattleMiniMap.View.Image;
using System.Drawing;
using System.Drawing.Imaging;
using TaleWorlds.TwoDimension;
namespace BattleMiniMap.View.AgentMarkers.TextureProviders
{
public class DeadAgentTextureProvider : IAgentTextureProvider
{
private Bitmap _bitmap;
private Texture _texture;
... |
src/Drawables/RetainedQuads.cs | danielscherzer/ImmediateVsRetainedMode | 0 | 7070199 | <filename>src/Drawables/RetainedQuads.cs
using OpenTK;
using OpenTK.Graphics.OpenGL4;
using System;
using System.Collections.Generic;
namespace Example.Drawables
{
internal class RetainedQuads : IDisposable, IDrawable
{
public RetainedQuads(IReadOnlyList<Vector2> points)
{
foreach (var quad in _retainedQuads... |
Assets/Game/Scripts/Damage/DeathOnDamage.cs | Sandro37/2DMobileGame | 0 | 7070200 | <reponame>Sandro37/2DMobileGame
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeathOnDamage : MonoBehaviour, IDamageable
{
public bool IsDead { get; private set; }
public event Action DeathEvent;
private void Awake()
{
IsDead = false;... |
src/XConsole/XTextReader.cs | MiffyLiye/XConsole | 0 | 7070201 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MiffyLiye.XConsole
{
public sealed class XTextReader : TextReader
{
private readonly object _consumeMutex = new object();
private readonly object _produceMutex = n... |
Source/SteroidsVS/Models/TextViewWrapper.cs | pushqrdx/SteroidsVS | 0 | 7070202 | using System;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.TextManager.Interop;
using Steroids.Core.Diagnostics.Contracts;
using Steroids.Core.Extensions;
namespace SteroidsVS.Models
{
/// <summary>
/// Wrapper for the <see cref="IWpfTextView"/> to ... |
Blazer.Net/Algorithms/Crc32C/Crc32CHardware.cs | force-net/blazer | 10 | 7070203 | <filename>Blazer.Net/Algorithms/Crc32C/Crc32CHardware.cs<gh_stars>1-10
using System;
using System.Runtime.InteropServices;
using Force.Blazer.Native;
namespace Force.Blazer.Algorithms.Crc32C
{
/// <summary>
/// Native (hardware if available) Crc32C calculator. Do not use it directly, instead of use <see cref="Crc32... |
AspxCommerce.Core/AspxServices/Controller/AspxUserDashController.cs | AspxCommerce/AspxCommerce2.7 | 22 | 7070204 | <filename>AspxCommerce.Core/AspxServices/Controller/AspxUserDashController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SageFrame.Security;
using SageFrame.Security.Entities;
using SageFrame.Security.Helpers;
namespace AspxCommerce.Core
{
public class AspxUserDash... |
MuQuiz/Models/Entities/GameSession.cs | nilnym/muquiz | 1 | 7070205 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace MuQuiz.Models.Entities
{
public partial class GameSession
{
public GameSession()
{
Player = new HashSet<Player>();
}
public int Id { get; set; }
public string GameId { get; set; }
... |
LaGranAppPlugin/IPlugin.cs | lagranapp/LaGranApp | 0 | 7070206 | using LaGranAppCAS.Security;
using LaGranAppUI.Model.Menu;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Net;
using System.Text;
namespace LaGranAppPlugin
{
public interface IPlugin
{
... |
Plugins/org.secc.Rise/Migrations/001_Init.cs | Northside-CC/RockPlugins | 0 | 7070207 | <filename>Plugins/org.secc.Rise/Migrations/001_Init.cs
// <copyright>
// Copyright Southeast Christian Church
//
// Licensed under the Southeast Christian Church License (the "License");
// you may not use this file except in compliance with the License.
// A copy of the License shoud be included with this file.
//
/... |
backend/OpenBugTracker.Backend/DataAccess/Migrations/20220429173849_Init.cs | christian162/OpenBugTracker | 3 | 7070208 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace OpenBugTracker.Backend.DataAccess.Migrations
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
src/Microsoft.Framework.Signing/Commands.Timestamp.cs | aspnet/Signing | 12 | 7070209 | using System;
using System.Security.Cryptography;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime.Common.CommandLine;
namespace Microsoft.Framework.Signing
{
internal partial class Commands
{
public async Task<int> Timestamp(string signature, string authority, string algorithm)
... |
Content.Server/Singularity/EntitySystems/EmitterSystem.cs | Fogapod/space-station-14 | 2 | 7070210 | <reponame>Fogapod/space-station-14
using Content.Server.Power.EntitySystems;
using Content.Server.Singularity.Components;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.Singularity.EntitySystems
{
[UsedImplicitly]
public class EmitterSystem : EntitySystem
{
... |
AnimaniaConsole/AnimaniaConsole.UnitTests/Services/LocationServicesTests/GetLocationIdByLocationName_Should.cs | theMoaningEchidnas/Database-Project | 0 | 7070211 | <filename>AnimaniaConsole/AnimaniaConsole.UnitTests/Services/LocationServicesTests/GetLocationIdByLocationName_Should.cs<gh_stars>0
using AnimaniaConsole.Data;
using AnimaniaConsole.Models.Models;
using AnimaniaConsole.Services.Contracts;
using AnimaniaConsole.Services.Services;
using AnimaniaConsole.UnitTests.Helpers... |
Assets/Editor/XML/XmlDialogElement.cs | firoball/Morbius | 1 | 7070212 | using System.Xml.Serialization;
public class XmlDialogElement
{
protected string m_id;
[XmlAttribute("id")]
public string Id
{
get
{
return m_id;
}
set
{
m_id = value;
}
}
}
|
atriumDAL/ActivityXRef_DAL.cs | chris-weekes/atrium | 0 | 7070213 | <filename>atriumDAL/ActivityXRef_DAL.cs
using System;
using System.Data;
using System.Data.SqlClient;
using lmDatasets;
namespace atriumDAL
{
/// <summary>
/// Class generated by sgen
/// based on ActivityXRef table
/// in lawmate database
/// on 3/6/2007
/// </summary>
public partial class ActivityXRefDAL:a... |
Assets/LifeandStyleMedia/Bolt/MultiArray/Editor/CreateArrayDescriptor.cs | Goy288/Pop-up-RPG-Engine | 4 | 7070214 | using UnityEngine;
using UnityEditor;
using Ludiq;
using Bolt;
namespace Lasm.BoltExtensions
{
/// <summary>
/// The descriptor that sets the icon for CreateMultiArray.
/// </summary>
[Descriptor(typeof(CreateMultiArray))]
[RenamedFrom("Lasm.BoltExtensions.CreateArrayDescriptor")]
public class... |
TestTool/Tests/BitmapTests.ShowDrawTriangles.cs | MaxKlaxxMiner/yacgui | 0 | 7070215 | <gh_stars>0
#region # using *.*
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Linq;
using FastBitmapLib;
using YacGui;
// ReSharper disabl... |
FarmLand/Program.cs | Tuscann/FarmerLand | 0 | 7070216 | using System;
using System.Collections.Generic;
using System.Linq;
namespace FarmLand
{
class Program
{
static void Main()
{
Matrix initMatrix = new Matrix(6, 6);
initMatrix.Set(0, 0, 1);
initMatrix.Set(0, 1, 0);
initMatrix.Set(0, 2, 0);
... |
Assets/Plugins/Runtime/Tsc/HotReload.cs | puerts-tsc/startup | 0 | 7070217 | <filename>Assets/Plugins/Runtime/Tsc/HotReload.cs<gh_stars>0
#if UNITY_EDITOR
using Sirenix.OdinInspector;
using UnityEngine;
namespace Helpers
{
public class HotReload : SerializedMonoBehaviour
{
[ButtonGroup( "debug" )]
void UnWatch() => NodeTscAndHotReload.UnWatch();
[ButtonGroup( ... |
Tris/Form1.cs | LoganTr13/Tris | 1 | 7070218 | <filename>Tris/Form1.cs
using System;
using System.Diagnostics;
using System.Windows.Forms;
using System.Drawing;
namespace Tris
{
public partial class Tris : Form
{
bool modoNoturno = true;
public Tris()
{
InitializeComponent();
}
private void Clos... |
Tests/Regression/test-flow-analysis-1.cs | xamarin/linker-optimizer | 3 | 7070219 | <gh_stars>1-10
using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace Martin.LinkerTest
{
static class TestFlowAnalysis
{
public static void Main ()
{
new Foo ();
bar = new Bar ();
SerializeExceptionData (null);
}
static Bar bar;
internal static byte[] SerializeException... |
ProjetoAbacaxi/Form1.Designer.cs | xexpablo/VBC-CSharp | 0 | 7070220 | namespace ProjetoAbacaxi
{
partial class FrmAbacaxi
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summary... |
Benchmarks/Modules.Benchmark/Sources/CompositionRootStartupBenchmarkSource.cs | warning-explosive/Core | 3 | 7070221 | <reponame>warning-explosive/Core<filename>Benchmarks/Modules.Benchmark/Sources/CompositionRootStartupBenchmarkSource.cs
namespace SpaceEngineers.Core.Modules.Benchmark.Sources
{
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Basics;
using BenchmarkDotNet.Attributes;
using Benc... |
CardsOverLan/Web/WebappBootstrapper.cs | rshaw02/col | 48 | 7070222 | <reponame>rshaw02/col
using Nancy;
using Nancy.Bootstrapper;
using Nancy.Conventions;
using Nancy.TinyIoc;
namespace CardsOverLan.Web
{
internal sealed class WebappBootstrapper : DefaultNancyBootstrapper
{
public string WebRoot { get; }
public WebappBootstrapper(string webRoot)
{
WebRoot = webRoot;
Mim... |
src/ToDoList/ToDoList.Security.Data/Entities/User.cs | andr74r/to-do-list | 0 | 7070223 | namespace ToDoList.Security.Data.Entities
{
public class User
{
public int Id { get; set; }
public string Email { get; set; }
public string Phone { get; set; }
public string PasswordHash { get; set; }
}
}
|
Threax.DockerTools/Tasks/CreateCertificateTask.cs | threax/Threax.Pipelines | 1 | 7070224 | <filename>Threax.DockerTools/Tasks/CreateCertificateTask.cs
using System;
using System.IO;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
namespace Threax.DockerTools.Tasks
{
class CreateCertificateTask : ICreateCertificateTask
{
... |
NPOI.OpenXmlFormats.Dml/CT_Point2D.cs | iNeverSleeeeep/NPOI-For-Unity | 1 | 7070225 | using NPOI.OpenXml4Net.Util;
using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Dml
{
[Serializable]
[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
[XmlType(Namespace = "http://schemas.openxmlformats.org/d... |
rightGripCollider.cs | pogoreli/Arm | 0 | 7070226 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class rightGripCollider : MonoBehaviour
{
public GameObject cube;
public bool rightGripColliderBool;
void Start()
{
cube = GameObject.Find("cube");
}
private void OnTriggerEnte... |
Src/SCMT/ParseMessage/SuperLMT.Utils/CustomConverter/BooleanToVisibilityConverter.cs | visiontrail/LMT2018 | 1 | 7070227 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BooleanToVisibilityConverter.cs" company="datangmobile">
// datangmobile
// </copyright>
// <summary>
// The boolean to visibility converter.
// </summary>
// ----------------... |
Crainiate.Diagramming.Forms/Crainiate.Diagramming.Forms.Rendering/LinkRender.cs | Mohllal/FlowchartConverter | 10 | 7070228 | <reponame>Mohllal/FlowchartConverter
// (c) Copyright Crainiate Software 2010
#define DEBUG
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Collections.Generic;
using System.Text;
namespace Crainiate.Diagramming.Forms.Rendering
{
public class LinkRender: ElementRender
{
... |
Assets/Scripts/EventsSO/ICellEventSO.cs | Westtly25/QUIZ-Test | 0 | 7070229 | <gh_stars>0
using UnityEngine;
using System;
using QUIZ.Tasks;
using QUIZ.Cells;
namespace QUIZ.EvetsSO
{
[CreateAssetMenu(fileName = "New ICell Event SO", menuName = "Quiz Test/Scriptable Events/ICellEventSO", order = 0)]
public class ICellEventSO : ScriptableObject, IEvent<ICell>
{
public event A... |
Models/ClassroomDto - Copy.cs | Magnus01/dotnettest | 0 | 7070230 | <filename>Models/ClassroomDto - Copy.cs
using Manager.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Manager.Models
{
public class StudentInvitationDto
{
public int StudentInvitationID { get; set; }
//public Classroom... |
FindLostThingsBackEnd/Model/Response/Lost/SupportSchoolsResponse.cs | LinZong/FindLostThingsBackEnd | 1 | 7070231 | <reponame>LinZong/FindLostThingsBackEnd
using FindLostThingsBackEnd.Persistence.Model;
using System.Linq;
namespace FindLostThingsBackEnd.Model.Response.Lost
{
public class SupportSchoolsResponse : CommonResponse
{
public IQueryable<SupportSchool> SupportSchools { get; set; }
}
}
|
C#2/6-Strings-And-Text-Processing/05.ParseTags/Program.cs | iliyaST/TelericAcademy | 0 | 7070232 | <gh_stars>0
using System;
using System.Text;
class ParseTags
{
static void Main()
{
string text = Console.ReadLine();
StringBuilder newText = new StringBuilder();
bool isOpened = false;
for (int i = 0; i < text.Length; i++)
{
if (text[i] == '<')
... |
ClassicalSharp/Entities/Components/ShadowComponent.cs | Peteys93/ClassicalSharp | 0 | 7070233 | // ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
using OpenTK;
namespace ClassicalSharp.Entities {
/// <summary> Entity component that draws square and circle shadows beneath entities. </summary>
public unsafe... |
Operation.cs | TheOfficialSkara/MIPSCompiler | 0 | 7070234 | <reponame>TheOfficialSkara/MIPSCompiler
namespace MIPSCompiler
{
public class Operation
{
public char character;
public int priority;
public string MIPS;
public Operation(char character, int priority, string MIPS)
{
this.character = character;
th... |
Unity/Assets/Model/XLua/Gen/DCETModelSessionWrap.cs | zxsean/DCET | 3 | 7070235 | <filename>Unity/Assets/Model/XLua/Gen/DCETModelSessionWrap.cs
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction... |
src/UNM.GCS/Interfaces/ITopicSource.cs | ShawnCowles/UniversalNameMarkup | 0 | 7070236 | <gh_stars>0
using System.Collections.Generic;
using UNM.GCS.Data;
namespace UNM.GCS.Interfaces
{
/// <summary>
/// A source of topics and responses for the <see cref="IConversationSystem"/>.
/// </summary>
public interface ITopicSource
{
/// <summary>
/// Return the topics from wit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.