text stringlengths 13 6.01M |
|---|
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace YFVIC.DMS.Model.Models.FileCode
{
public class CodeEntity
{
/// <summary>
/// 编号
/// </summary>
... |
using Ecommerce.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ecommerce.Models
{
public class ProductsListViewModel
{
public IEnumerable<Product> Products { get; set; }
public PagingInfoViewModel PagingInfo { get; set; }
... |
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace MonoDevelop.NUnit
{
[System.Serializable]
public class UnitTestResult
{
private System.DateTime testDate;
private ResultStatus status;
private System.TimeSpan time;
private string message;
private string output;
private string... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AlmenaraGames
{
public class MultiPoolAudioSystem
{
bool reset = false;
public static bool isNULL = true;
static MultiAudioManager m_audioManager;
public static MultiAudioManager audioManag... |
using System;
using System.Collections.Generic;
using System.Linq;
using ConsoleApplication1.Implementations;
using ConsoleApplication1.Interfaces;
using ConsoleApplication1.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConsoleApplication1.Tests.Implementations
{
[TestClass]
public cl... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public enum ProgressState
{
OnProgressEnter,
OnProgress,
OnProgressExit
}
public class ProgressBar : MonoBehaviour
{
public Slider progressbarSlider;
public Text currentLevelText;
... |
using UnityEngine;
using System.Collections;
using com.adjust.sdk;
public class AdjustLevelEvents : MonoBehaviour {
public string Level1_Token = "u4d31k";
public string Level2_Token = "";
public string Level3_Token = "";
public string Level4_Token = "";
public string Level5_Token = "";
public... |
namespace ApartmentApps.Api
{
public class NotificationPayload
{
public string Title { get; set; }
public string Message { get; set; }
public string Semantic { get; set; } = "Default"; //App decides about icon based on semantic
public string Action { get; set; }
public in... |
using System;
using System.Collections.Generic;
using System.Linq;
using ILogging;
using ServiceDeskSVC.DataAccess.AssetManager;
using ServiceDeskSVC.DataAccess.Models;
namespace ServiceDeskSVC.DataAccess.Repositories
{
public class AssetManagerModelRepository:IAssetManagerModelsRepository
{
p... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace PalTracker {
public class MySqlTimeEntryRepository : ITimeEntryRepository {
TimeEntryContext Context;
public MySqlTimeEntryRepository( TimeEntryContext context ){
Context = context;... |
using System;
namespace zm.Users
{
[Serializable]
public class UserResult
{
#region Constructor
public UserResult(string userName, string levelName, int points = 0)
{
UserName = userName;
LevelName = levelName;
Points = points;
}
#endregion Constructor
#region Public Methods
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ShowHighscore : MonoBehaviour {
public Text timeH;
public Text scoreH;
// Use this for initialization
void Awake () {
// Punkte aus PlayerPrefs holen und an Text übergeben
scoreH.text = PlayerPr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace Alps.Web.Models.ProductMgr
{
public class ProductStockListModel
{
public Guid ID { get; set; }
[Display(Name="产品名")]
public string ProductName { ge... |
using System;
class XOREncryption
{
private static string encryptDecrypt(string input) {
char[] key = {'K', 'C', 'Q'}; //Any chars will work, in an array of any size
char[] output = new char[input.Length];
for(int i = 0; i < input.Length; i++) {
output[i] = (char) (input[i] ^ key[i % key.Length]);
}
... |
using SharpArch.Domain.DomainModel;
namespace Profiling2.Domain.Scr.PersonFinalDecision
{
public class ScreeningSupportStatus : Entity
{
public const int ID_SUPPORT_RECOMMENDED = 1;
public const int ID_SUPPORT_NOT_RECOMMENDED = 2;
public const int ID_MONITORED_SUPPORT = 3;
publ... |
using System;
namespace MySQL.Model {
public class Season {
public int Id { get; set; }
public DateTime End { get; set; }
public DateTime Start { get; set; }
public static Season Generate(int index) {
DateTime start = new DateTime((DateTime.Now.Year + index - 1), 1, 1)... |
using System;
class Person
{
public string FullName { get; set; }
public DateTime BirthDate { get; set; }
public bool IsMale { get; set; }
public Person(string fullname, DateTime bitrhdate, bool ismale)
{
FullName = fullname;
BirthDate = bitrhdate;
IsMale = ismale;
}
... |
// <copyright file="PartyInfo.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2020 Firoozeh Technology LTD. 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 a... |
using BugTracker.Entities;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BugTracker.DataAccessLayer
{
class CategoriaDao
{
public IList<Categoria> GetAll()
{
List<Categoria> listadoBu... |
using System.Windows.Input;
namespace FPGADeveloperTools.Common
{
public interface IGeneratable
{
bool CanGenerate { get; }
ICommand GenerateCommand { get; set; }
void Generate(object obj);
}
}
|
using DefaultEcs;
using UnityEngine;
namespace RealisticBleeding.Messages
{
public readonly struct BloodDropHitEnvironment
{
public readonly Entity Entity;
public readonly Collider Collider;
public readonly Vector3 Normal;
public BloodDropHitEnvironment(Entity entity, Collider collider, Vector3 normal)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
namespace Datos
{
public class DatosSistema
{
//Metodo para llenar un DataTable
public DataTable getDatosTabla(string nombreProcedimie... |
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;
using MedAll.Model;
namespace MedAll
{
public partial class AdminForm : Form
{
private D... |
using SensorsDBAPI.Filters;
using SensorsDBAPI.Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SensorsDBAPI.Controllers
{
[BasicAuthentication]
public class SensorsController : Api... |
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArkSavegameToolkitNet.Data
{
public class ExtraDataZeroHandler : IExtraDataHandler
{
private static ILog _logger = LogManager.GetLogger(typeof(ExtraDataZeroHandl... |
using Microsoft.Xna.Framework;
namespace MultiplayerEmotes {
public class ModData {
public Point MenuPosition { get; set; } = new Point(0, 200);
}
}
|
using NotSoSmartSaverAPI.DTO.ExpensesDTO;
using NotSoSmartSaverAPI.ModelsGenerated;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NotSoSmartSaverAPI.Interfaces
{
public interface IDataValidation
{
Task<bool> isExpenseValidAsync(NewExpenseDT... |
using Allyn.Domain.Models.Basic;
using Allyn.Domain.Models.Front;
using System;
using System.Linq.Expressions;
namespace Allyn.Domain.Specifications.Definite
{
/// <summary>
/// 会员微信唯一标识比较规约.
/// </summary>
public class MemberOpenKeyEqualSpecification : SpecificationEqualMember<string, Member>
{
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BusPoa.MobileAppService.Models;
using BusPoa.Models;
namespace BusPoa.Models
{
public class LocalizacaoRepository : ILocalizacaoRepository
{
private static ConcurrentDicti... |
using System;
using System.Collections.Generic;
namespace BlazorShared.Models.Patient
{
public class ListPatientResponse : BaseResponse
{
public List<PatientDto> Patients { get; set; } = new List<PatientDto>();
public int Count { get; set; }
public ListPatientResponse(Guid correlationId) : base(corr... |
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class WalletDisplay : MonoBehaviour
{
[SerializeField] private PlayerWallet _playerWallet;
[SerializeField] private TMP_Text _cakeDisplay;
private void OnEnable()
{
_playerWallet.Ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StateExample.Safe
{
public interface IState
{
void DoClock(IContext context, int hour);
void DoUse(IContext context);
void DoAlarm(IContext context);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpearAttack : MonoBehaviour
{
public static bool jabIsHappening = false, swingIsHappening = false;
public GameObject thePlayer;
public GameObject pivot;
Transform target;
private Vector3 targetPoint;
... |
using System;
using Microsoft.Practices.ServiceLocation;
using ServiceLocation.Tests.Mocks;
using Xunit;
namespace ServiceLocation.Tests
{
public class ServiceLocatorFixture
{
[Fact]
public void TestInit()
{
ServiceLocator.SetLocatorProvider(null);
}
[Fact]... |
using System;
using System.Drawing;
namespace Wheebrary.Math
{
public class WheeBezier
{
public WheePoint P { get; private set; }
public WheePoint T1 { get; private set; }
public WheePoint T2 { get; private set; }
public bool LockT { get; private set; } = true;
public ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoneNode : MonoBehaviour {
public ScriptableObject boneSizeData;
private SkinnedMeshRenderer skinnedMeshRenderer;
private BoneScaler boneScaler;
private void Start() {
skinnedMeshRenderer ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management;
using System.Text.RegularExpressions;
namespace iipu.lab1
{
internal class Program
{
const string dbFileName = "pci.ids.txt";
const string vidRegexPattern = @"^";
const string d... |
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 System.Data.SqlClient;
namespace Hospital_Management_System
{
public partial class Doctor : Form
{
SqlDataAdapte... |
using System.Net.Http;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using Microsoft.Extensions.DependencyInjection;
namespace TypeClientBenchmark
{
public class Program
{
private readonly ServiceProvider _serviceProvider;
public Program()
{
var services ... |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Networking;
using System.Text;
public class WebCamRender : MonoBehaviour
{
public string deviceName;
private string pic;
private string url = "Enter URL";... |
using System;
using System.Collections.Generic;
using EasyDev.PL;
using EasyDev.Resources;
using System.Data;
using WebCaching = System.Web.Caching;
using System.Web;
using EasyDev.SQMS;
using System.Threading;
using System.Web.Services;
using System.Linq.Expressions;
using System.Data.Common;
using EasyDe... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Drawables
{
class DrawableTile : Drawable
{
SpriteReference Sprite;
public SpriteReference Icon;
DrawPass Pass;
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace LinqSharp
{
public static partial class XIEnumerable
{
public static IEnumerable<TSource> WhereMin<TSource>(this IEnumerable<TSource> source, Func<TSource, int> selector)
{
if (source.Any())
{
... |
using System;
using System.Collections.Generic;
using Project.Base;
using Project.Enums;
namespace Project.Helpers {
public class ValidationHelper {
// Prints all errors for the specified model
public static string GetErrorList(Model model) {
bool first = true;
string list... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BELCORP.GestorDocumental.BE.Contratos
{
public class VicepresidenciaBE
{
public int Id { get; set; }
public string Title { get; set; }
public int Vicepresidente... |
using System.Windows.Forms;
using System.IO;
using System;
namespace WindowsFileManager {
public class Panel {
public string currentPath;
private bool _isNewFolderCreated;
private bool _isNewFileCreated;
public Panel() {
currentPath = "";
_isNewFolderCreat... |
using System.Web.Http;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using Notifications.Hubs;
namespace Notifications.Controllers
{
public class MatchController : ApiController
{
private readonly IHubConnectionContext<IMatchEvents> _context;
public MatchController(IHub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navig... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RoutingControllerBeta
{
class Logger
{
public static void timestamp()
{
Console.ForegroundColor = ConsoleColor.Magenta;
Console.Write(" <" + Dat... |
using OpenQA.Selenium;
using System;
using System.IO;
using System.Reflection;
using TechTalk.SpecFlow;
using TestAutomation_Selenium_Sample.PageModel;
using TestAutomation_Selenium_Sample.Utillities;
namespace TestAutomation_Selenium_Sample.Test
{
[Binding,Scope(Feature="TrendyolTest")]
public class TrendyolT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.ReceiveAddress
{
public class IAddress : Address
{
}
/// <summary>
/// 地址
/// </summary>
[Attribute.Table(TableName = "ReceiveAddress")]
public class Address : IModelBase
{
p... |
using RRExpress.Common.Attributes;
using RRExpress.Service.Entity;
using System.Collections.Generic;
using System.Net.Http;
namespace RRExpress.Api.V1.Methods {
/// <summary>
/// 待接单的订单
/// </summary>
public class GetNewOrders : RRExpressV1BaseMethod<IEnumerable<Order>> {
public override Http... |
using UnityEngine;
using System.Collections;
public class StartGameBtCtrl : MonoBehaviour {
UISprite BtSprite;
static StartGameBtCtrl _Instance;
public static StartGameBtCtrl GetInstance()
{
return _Instance;
}
// Use this for initialization
void Awake()
{
_Instance = this;
BtSprite = GetComponent<UIS... |
using Microsoft.AspNetCore.Mvc;
namespace Library.API.Controllers
{
/// <summary>
/// Action级别版本控制
/// </summary>
[Route("api/persons")]
[ApiController]
[ApiVersion("1.0")]
//[ApiVersion("1.0", Deprecated = true)] // Deprecated属性为true时,该接口标识不再使用;api-deprecated-versions中包含该版本信息,但是接口仍可访问,只是... |
using System.Collections.Immutable;
namespace MineCalc.Model
{
public interface IRecipe
{
ItemStack Result { get; }
ImmutableList<ItemStack> Ingredients { get; }
ImmutableList<ItemType> Equipment { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using UnityEngine;
using Grpc.Core;
using static NetworkService.NetworkService;
using NetworkService;
using System.Collections.Generic;
public class ComClient : ComParent {
// TODO: Bypass network stack for local client
public ComClient(string ipaddr, string port, string userName) {
SetNe... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.CUST
{
[Serializable]
public partial class VehicleInFactoryMaster : EntityBase, IAuditable
{
#region O/R Mapping Properties
[Display(Name = "VehicleInFactory_OrderNo", ResourceType = typeof(Resources.CUS... |
using System;
namespace ParrisConnection.DataLayer.Dtos
{
public interface IEmployer
{
int Id { get; set; }
string UserId { get; set; }
string Name { get; set; }
string JobTitle { get; set; }
DateTime StartDate { get; set; }
DateTime EndDate { get; set; }
}
... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace ServiceDeskSVC.DataAccess.Models.Mapping
{
public class NSLocationMap : EntityTypeConfiguration<NSLocation>
{
public NSLocationMap()
{
// Primary Key
this.HasKey(t ... |
using System.Collections;
using System.Collections.Generic;
public class Key
{
private string keyValue;
private string shiftkeyValue;
public string KeyValue
{
get
{
return this.keyValue;
}
set
{
this.keyValue = value;
}
}
... |
namespace SimplySqlSchema
{
public interface ISimplySqlSchema
{
ISchemaMigrator GetMigrator();
IObjectSchemaExtractor GetExtractor();
ISchemaManager GetManager(BackendType backendType);
ISchemaQuerier GetQuerier(BackendType backendType);
IConnectionFactory GetCo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityStandardAssets.CrossPlatformInput;
/*
* Controls the transition between scenes and show an screen with tips and infomation
*/
public class SceneController : MonoBehaviour {
public static Sc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Weather_forecast.Models_JSON;
namespace Weather_forecast.JSONModels.Current_forecast
{
public class CurrentWeather
{
public Coord coord { get; set; }
public List<Weather> w... |
using UnityEngine;
using System.Collections;
public class winbox : MonoBehaviour {
public void OnTriggerEnter(Collider other)
{
GameObject.Find("Car").SendMessage("end1");
}
}
|
#region License
// Copyright (c) 2012 Trafficspaces Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, c... |
using System;
using TeamCss__Community.PageObject;
using TechTalk.SpecFlow;
namespace TeamCss__Registration
{
[Binding]
public class CommunitySteps
{
CommunityPage communityPage;
public CommunitySteps()
{
communityPage = new CommunityPage();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clase1.Ejercicio2.Vial.csv
{
/// <summary>
/// La clase Linea posee como atributo cada uno de los diferentes campos de cada línea y
/// el método imprimir se encarga de mostrarlos... |
using System;
using System.Collections.Generic;
using System.IO;
using CoherentSolutions.Extensions.Configuration.AnyWhere.Abstractions;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere
{
public class AnyWhereConfigurationAdapterProbingPaths : IAnyWhereConfigurationAdapterProbingPaths
{
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Report_ClassLibrary;
using System.Collections;
using System.IO;
using ClosedXML.Excel;
public par... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class UIUtils : MonoBehaviour {
List<UIElement> uiElements = null;
void OnEnable () {
SceneManager.sceneLoaded += OnSceneLoaded;
}
void OnDisable () {
SceneManager.sceneLoaded -= OnSceneL... |
using System;
using System.Threading.Tasks;
using CoreAnimation;
using CoreGraphics;
using Foundation;
using Microsoft.Maui.Platform;
using UIKit;
using Xunit;
using Xunit.Sdk;
namespace Microsoft.Maui.DeviceTests;
public static partial class AssertionExtensions
{
public static string CreateColorAtPointError(thi... |
using Alabo.Data.Targets.Iterations.Domain.Entities;
using Alabo.Data.Targets.Iterations.Domain.Services;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
namespace Alabo.Data.Targets.Iterations.Controllers
{
[ApiException... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms
{
public static class TechGig
{
private static void TechGig12()
{
string firstInput = Console.ReadLine();
int qutLines = int.Parse(fi... |
namespace SciVacancies.Domain.Core
{
public class ResearchDirection
{
public int Id { get; set; }
public int? ParentId { get; set; }
public string Title { get; set; }
public string TitleEng { get; set; }
public int? Lft { get; set; }
public int? Rgt { get; s... |
using Euler_Logic.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems {
public class Problem501 : ProblemBase {
private PrimeSieveWithPrimeListULong _primes = new PrimeSieveWithPrimeListULong();
private PrimeCount _primeCount = new PrimeCount(... |
using UnityEngine;
public class changeAnim : MonoBehaviour
{
public void ExecuteJumpSound()
{
EventManager.TriggerEvent<jumpSoundEvent, Vector3>(transform.position);
}
public void ExecuteAttackSound()
{
EventManager.TriggerEvent<playerAttackSoundEvent, Vector3>(transform.position);
}
}
|
namespace Bow.Enter.Common
{
/// <summary>
/// 注册API密钥:https://home.openweathermap.org/users/sign_up
/// </summary>
public static class Constants
{
public const string OpenWeatherMapEndpoint = "https://api.openweathermap.org/data/2.5/weather";
public const string OpenWeatherMapAPIKe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode
{
/// <summary>
/// 递归和动态规划(带缓存的递归)
/// </summary>
class DynamicProgramming
{
//static void Main(string[] args)
//{
//hanoi(3,'a','b','... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTO.ITSDTO
{
public partial class FirmaKoliDTO
{
public int Id { get; set; }
public int KoliID { get; set; }
public int isemriId { get; set; }
public in... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace St.Eg.Day3.M4.Ex2.Theories
{
public class TheoryTests
{
#region reference
/*
private readonly I... |
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
namespace lab08_linq
{
public class Feature
{
public string Type { get; set; }
public Geometry Geometry { get; set; }
public Properties Properties { get; set; }
public Feature(string type, Ge... |
using System;
namespace OddTest
{
public class Program
{
public static bool OddTest(int Number)
{
return (Number % 2 == 1);
}
public static void testOddTest()
{
Console.WriteLine($"\t5: is Odd? {OddTest(5)}");
Console.WriteLine($"\t8:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Web.UI;
namespace WebGames
{
/// <summary>
/// A class to represent story text node in xml data file.
/// </summary>
public class... |
using System;
namespace Aria.Core.Interfaces
{
public interface IDisposableServiceProvider : IDisposable, IServiceProvider
{
// Empty methods, used to force service providers to be disposable.
}
} |
using System;
// ReSharper disable once CheckNamespace
namespace Aquarium.Util.Extension.ObjectExtension
{
public static class CharConvertExtension
{
#region ToNullableChar
/// <summary>
/// An object extension method that converts the @this to a nullable character.
/// </... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using DotNetCoreIdentity.Application.CategoryServices.Dtos;
using DotNetCoreIdentity.Domain.Identity;
using DotNetCoreIdentity.Domain.PostTypes;
using DotNetCoreIdentity.EF.Context;
usi... |
using System.Windows.Media;
namespace Crystal.Plot2D.Common
{
public class TransparentLimitsPalette : DecoratorPaletteBase
{
public TransparentLimitsPalette() { }
public TransparentLimitsPalette(IPalette palette) : base(palette) { }
public override Color GetColor(double t)
{
if (t < 0 || t... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.Windows.Forms.DataVisualization.Charting;
using System.Diagnostics;
using Excel = Microsoft.Office.Interop.Excel;
namespace WindowsFormsApplication1
{
p... |
using System;
using System.IO;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using service.Models;
namespace service.Controllers.Management
{
public class FlowstateController : Controller
{
Logmodel log = new Logmodel();
priva... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class GameManager : MonoBehaviour
{
public void Start()
{
if (Input.GetButtonDown("Start"))
Debug.Log("game started");
}
public void Save()
{
... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.ComponentModel;
using System.Text.RegularExpressions;
namespace MinecraftToolsBoxSDK
{
/// <summary>
/// IPBox.xaml 的交互逻辑
/// </summary>
public partial class IPBox : UserControl
{
//
// 摘要:
// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
namespace Zombies3
{
class Cursor : GameObject
{
public Cursor(Game ... |
namespace SuperMario.Entities.Blocks
{
public class IBlock
{
}
}
|
using Unity.Entities;
using Unity.Mathematics;
using Unity.Physics;
using Unity.Physics.Authoring;
using UnityEngine;
// This joint limits the PhysicsBody to the xy plane and only allows for rotation about the z-axis
public class LimitTo2DJoint : MonoBehaviour
{
private RigidTransform worldFromA => new RigidTransform... |
using Pe.Stracon.Politicas.Infraestructura.CommandModel.Base;
using System;
using System.Collections.Generic;
using System.Data.Entity;
namespace Pe.Stracon.Politicas.Infraestructura.Core.Context
{
/// <summary>
/// Proveedor de contexto
/// </summary>
/// <remarks>
/// Creación: GMD 22122014 <b... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Madera;
/// <summary>
/// Description résumée de TestEF
/// </summary>
public class TestEF
{
public TestEF()
{
using (var db = new maderaEntities())
{
var query = from b in db.CLIENT select b... |
using SimpleLogin.Application;
using SimpleLogin.Application.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleLogin.Application
{
public class AppServiceBase<TEntity> : IDisposable, IAppServiceBase<TEntity> where TEntit... |
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
public class KeyBindingHandler : MonoBehaviour, IPointerClickHandler
{
[Serializable]
public class ClickEvent : UnityEvent<PointerEventData> { }
publi... |
using EmberKernel.Services.EventBus;
namespace EmberKernel.Plugins.Models
{
public class EmberInitializedEvent : Event<EmberInitializedEvent>
{
public static readonly EmberInitializedEvent Empty = new EmberInitializedEvent();
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.