text stringlengths 13 6.01M |
|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Threading.Tasks;
namespace DebuggerTests
{
public class EvaluateTestsClass
{
public class TestEvaluate
{
public int a;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZC_IT_TimeTracking.BusinessEntities.Model
{
public class GoalMasters
{
public GoalMasters()
{
this.GoalRule = new HashSet<GoalRule>();
this.Reso... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Conjure.Controls.AgGrid
{
public class GetRowsResult
{
public bool Success { get; set; }
public int? LastRow { get; set; }
public object[] BlockRows { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using DelftTools.Utils.Aop;
using DelftTools.Utils.Aop.NotifyCollectionChange;
using DelftTools.Utils.Aop.NotifyPropertyChange;
using DelftTools.Utils.Collections;
using DelftTools.Utils.Collections.Generic;
using GeoAPI.Extensions.Feature;
using GeoAPI.Extensions.Networ... |
using System;
using System.Linq;
using Ardalis.Specification;
using FrontDesk.Core.Aggregates;
namespace FrontDesk.Core.Specifications
{
public class ScheduleForDateAndClinicSpecification : Specification<Schedule>
{
public ScheduleForDateAndClinicSpecification(int clinicId, DateTime date)
{
Query
... |
using System;
namespace Aquamonix.Mobile.Lib.Domain
{
//HARDCODED
//TODO:* add a lookup function for these; instead of parsing the numeric value, do a lookup in app metadata
public enum SeverityLevel
{
Missing = -1,
None = 0,
Normal,
Low,
Medium,
High,
Extreme
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.IO;
namespace PhotographyEvent.Administration
{
// This class is for showing Event details to users
public partial class EventDetails : Sys... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using Spotfire.Dxp.Application;
using Spotfire.Dxp.Data;
using Spotfire.Dxp.Application.Extension;
using Spotfire.Dxp.Application.Layout;
using Spotfire.Dxp.Framework.ApplicationModel;
using Spotfire.Dxp.Fr... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using Malee.Hive.Util;
/**
* @author Chris Foulston
*/
namespace Malee.Hive.Core {
public abstract class GameBehaviour : MonoBehaviour {
//TODO, this could be optimized by moving to the Awake method
private Transform... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public Animator animFader;
private bool fadesound = false;
public AudioSource musica;
public float soundFadespeed = 0.3f;
private bool nodata;
... |
namespace FoodPricer.Core.Order.Dessert
{
public class NormalDessert : IDessert
{
public double Price => 2;
}
} |
using Caliburn.Micro;
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
using System.Windows.Input;
using Xamarin.Forms;
namespace RRExpress.Seller.ViewModels {
[Regist(InstanceMode.Singleton)]
public class MyGoodsViewModel : BaseVM {
public override string Title {
get {
... |
using Focuswin.SP.Base.Utility;
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YFVIC.DMS.Model.Models.Common;
using YFVIC.DMS.Model.Models.Settings;
using YFVIC.DMS.Model.Models.HR;
using Microsoft.SharePoint.Adminis... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawner : MonoBehaviour
{
#region Variables
#region Components
#endregion
#region Public Variables
#endregion
#region Private Variables
#region Serializable Variables
[SerializeFi... |
namespace DChild.Gameplay.Objects
{
public interface IHealth
{
bool isEmpty { get; }
void Damage(int damage);
void Heal(int value);
}
} |
using System.Web.Mvc;
namespace AttendanceWebApp.Controllers
{
public class GatePassAdviceController : Controller
{
// Generate Gate Pass Advice
public ActionResult GenerateGPAdvice() => Session["EmpUnqId"] != null && Session["UserRole"] != null ? View() : (ActionResult)RedirectToAction("Index... |
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using GodMorgon.Models;
/**
* Création d'un database pour toutes les cartes
* Elle se load en récupérant toutes les cartes(scriptables objects) du dossier Resources/Cards
* Elle permet de récupérer les classes dérivées de... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
using ChipmunkSharp;
using Microsoft.Xna.Framework.Input;
using System.Diagnostics;
namespace ChipmunkExample
{
public class CCMaxScene : CCScene
{
public CCLayer InformationLayer;
public CC... |
using Crystal.Plot2D.DataSources;
using System.Windows;
using System.Windows.Media;
namespace Crystal.Plot2D
{
/// <summary>
/// Class represents a series of markers.
/// </summary>
public class MarkerPointsGraph : PointsGraphBase
{
/// <summary>
/// Initializes a new instance of the <see cref="Mark... |
using AutoTests.Framework.Core.Steps;
using BoDi;
using TechTalk.SpecFlow.Bindings;
using TechTalk.SpecFlow.Configuration;
namespace AutoTests.Framework.Tests.UnitTests
{
public abstract class UnitTestBase
{
protected Application Application { get; }
protected Assert Assert { get; }
p... |
using System;
using System.Collections.ObjectModel;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Xml.Linq;
namespace CODE.Framework.Services.Server.Contracts
{
/// <summary>
/// Interface used for self-hosted client access policy definitions
/// </summary>
[ServiceContract]
... |
using RiverPuzzle1.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RiverPuzzle1.Services
{
public interface IGameService
{
IList<Game> GetGames();
Task<Game> GetGame(int id);
Task<Game> CreateAsync();
Task<Game>... |
using ShapesGraphics.Models.Shapes;
using System.Collections.Generic;
using OpenTK.Graphics.OpenGL;
namespace ShapesGraphics.Graphics
{
public class RectangleDrawer : BaseDrawer<Rectangle>
{
public override void Draw(Rectangle rectangle)
{
GL.ClearColor(0f, 1f, 0f, 1.0f);
... |
using System.Web.Mvc;
using Hangfire;
using Profiling2.Domain.Contracts;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Contracts.Tasks.Sources;
using Profiling2.Infrastructure.Util;
namespace Profiling2.Web.Mvc.Areas.System.Controllers
{
public class BackgroundController : SystemBaseController
... |
using BitByByte.UI;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SynchronizedActor : MonoBehaviour {
private ulong m_nextAction = 0;
public event System.Action<bool> OnTurnStatusChange;
private Entity m_myEntity;
public EntityStatistic... |
using System.Windows.Forms;
using DelftTools.Shell.Gui.Swf.Controls.Tests.Table.TestClasses;
using DelftTools.TestUtils;
using NUnit.Framework;
namespace DelftTools.Controls.Swf.Test.Table
{
[TestFixture]
public class FileNameUITypeEditorTests
{
[Test]
[Category(TestCategory.WindowsForms)]
... |
using Common.Data;
using Common.Exceptions;
using Common.Extensions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;
namespace Entity
{
[DataContract]
public partial class SystemTrackQLocations : IMappable
{
#region Constructors
... |
using AutoMapper;
namespace ServiceLayer.Translations
{
public static partial class Translations
{
public static Models.Genre ToModel(this DAL.Genre genre, IMapper mapper)
{
return mapper.Map<DAL.Genre, Models.Genre>(genre);
}
public static DAL.Genre ToEntity(this ... |
using App.Core.Interfaces.Dto.Requests;
using App.Core.Interfaces.Dto.Responses;
using App.Core.Interfaces.Services;
using Microsoft.AspNetCore.Mvc;
namespace App.Web.Controllers
{
[Route("api/v1/user")]
[Produces("application/json")]
public class ProfileController : Controller
{
protected IPr... |
using System.Text.Json;
using Xunit;
using NewtonsoftJson = Newtonsoft.Json.JsonConvert;
using SystemJson = System.Text.Json.JsonSerializer;
namespace NStandard.Test.Json
{
public class JsonTests
{
private readonly JsonSerializerOptions _options = Any.Create(() =>
{
var options = n... |
using UnityEngine;
using System.Collections.Generic;
using DChild.Gameplay.Player.Inventories;
using System.Data;
using DChild.Databases.Content;
using Sirenix.OdinInspector;
namespace DChild.Databases
{
[System.Serializable]
public struct ArmorData : IInventoryData
{
[SerializeField]
priv... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Character2 : MonoBehaviour
{
// Prevent character interaction unless game starts
public GameObject gameControllerObj;
public ArenaCountDownStart gameCountDownScript;
// Is the attack range touching the opponent
pu... |
using System;
using ApplicationServices.Services.Implementations;
using DomainModel.Entity.DomainServices;
using FinoProject.Controller;
using Infrostructure.Enums;
using Infrostructure.ExtensionMethods;
using Repository.Repository.Read.Implementations;
using Repository.Repository.Write.Implementations;
namespace Fin... |
namespace DChild.Databases
{
public enum Rarity
{
Common = 1,
Rare,
Legendary,
_COUNT
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.OracleClient;
using System.Windows.Forms;
using System.Text;
using System.Web;
using System.Configuration;
/// <summary>
/// Classe para conexão com o Banco de Dados
/// </summary>
namespace Classes.Dal
{
... |
using BLL.Dto.BankSpecificExpenseModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace BLL.Helpers
{
public class PrivatHelper
{
public async Task<IEnumerable<PrivatApiExpense>> GetR... |
using UnityEngine;
using System.Collections;
public class CharacterMover : MonoBehaviour
{
public float moveSpeed;
protected Animator animator;
void Start()
{
animator = GetComponent<Animator>();
}
void Update()
{
float horizontalAxis = Input.GetAxis("Horizontal");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.PrintModel.INV;
using NPOI.SS.UserModel;
namespace com.Sconit.Utility.Report.Operator
{
public class RepBarCodePurchaseA4Operator : ReportBase
{
private static readonly int PAGE_DETAIL_ROW_COUNT = 9;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebTest
{
public partial class SqlTransaction : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
p... |
using Domain.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System.IO;
namespace Infra.Context
{
public class DBContext : DbContext
{
public IConfigurationRoot Configuration { get; set; }
public DbSet<Client> Clients { get; set; }
public ... |
using LoowooTech.Stock.Common;
using LoowooTech.Stock.Tool;
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Threading.Tasks;
namespace LoowooTech.Stock.Rules
{
public class TableHeart
{
private const string DCDYTB = "DCDYTB";
public stat... |
using System.Collections.Generic;
namespace libairvidproto.types
{
public class BitratesValue: KeyValueBase
{
public BitratesValue(string key, List<string> bitrates) : base(key)
{
Value = bitrates;
}
public BitratesValue(string key, string bitrate)
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SecureNetRestApiSDK.Api.Controllers;
using SecureNetRestApiSDK.Api.Models;
using SecureNetRestApiSDK.Api.Requests;
using SecureNetRestApiSDK.Api.Responses;
using SNET.Core;
namespace SecureNetRestApiSDK_UnitTest.Controllers
{
[TestClass]
public class B... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Курсач.Models;
using System.Data.Entity;
using System.Web.Security;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using System.Net.Http;
using System.Globalization;
using System.Sec... |
namespace gView.Framework.Symbology
{
public enum SymbolSmoothing
{
None = GraphicsEngine.SmoothingMode.None,
AntiAlias = GraphicsEngine.SmoothingMode.AntiAlias
}
public enum TextSymbolAlignment { rightAlignOver, Over, leftAlignOver, rightAlignCenter, Center, leftAlignCenter, rightAlig... |
// <copyright file="AccountController.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Admin.Controllers
{
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
u... |
using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media.Animation;
using System.Windows.Threading;
using SecurityPlusUI.Model;
namespace SecurityPlusUI.View
{
/// <summary>
/// Interaction logic for NotificationWindow.xaml
/// </summary>
public partial class Notifica... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
namespace WebRole1
{
public class Term : TableEntity
{
public Term(string date, string term, string title, string text)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Platform
{
public enum PlatformType
{
normal,
moving,
sequential,
dissolve,
switch_a,
switch_b
}
public PlatformType type;
public Vecto... |
namespace SoftUni
{
using SoftUni.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ViewModels;
class Program
{
static void Main(string[] args)
{
SoftUniContext context = new S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IRAP_MaterialRequestImport
{
public class TParams
{
private static TParams _instance = null;
public static TParams Instance
{
get
... |
using Domain.Contracts;
using Domain.Repositories;
using Infrastructure.Repositories;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Infrastructure.Base
{
... |
namespace EFVP_Example
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("product")]
public partial class product
{
[System.Diagnostics.CodeA... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using GalaSoft.MvvmLight;
using JeopardySimulator.Ui.Commands;
using JeopardySimulator.Ui.Commands.Base;
using JeopardySimulator.Ui.Controls.ViewModels;
using JeopardySimulator.Ui.Messages;
using JeopardySimulator.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class WaveSystem : MonoBehaviour
{
public Wave[] waves;
public int currentWaveIndex = 0;
public int enemiesKilled;
// Start is called before the first frame update
void Start(... |
using System;
using CoreGraphics;
using Foundation;
using UIKit;
namespace Aquamonix.Mobile.IOS.CustomUI
{
public partial class ListofprogrmasTableCell : UITableViewCell
{
public static readonly NSString Key = new NSString("ListofprogrmasTableCell");
public static readonly UINib Nib;
... |
using System;
using System.Data;
using MySql.Data.MySqlClient;
using System.Net;
using System.Collections;
using System.Configuration;
namespace PROnline.DataAccess
{
/// <summary>
/// 连接数据库并提供访问数据库的方法
/// </summary>
public class SqlHelper
{
public MySqlConnection conn;
... |
using System;
using System.Collections.Generic;
namespace Demineur
{
/// <summary>
/// Grille représente le plateau de jeu.
/// Elle contient des cases de type Case.
/// Case[,] : champs est le tableau 2D [Lignes x Colonnes]
/// Int : nbBombeGrille contient le nombre de bombe que la grille contien... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _4._3_LINQ
{
class Program
{
static void Main(string[] args)
{
Student s = new Student();
var students = s.listaEstudante;
var studentQuery2 = from studentb in s.listaEstudante gr... |
namespace PayRentAndUse_V3.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class propnameupdated : DbMigration
{
public override void Up()
{
AddColumn("dbo.AdminClasses", "AdminPassword", c => c.String(nullable: false));
AddColu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using SportsLink;
using System.Linq.Expressions;
using System.Data.Linq;
using Linq... |
namespace VehiclesInfoModels
{
public class MotorVehicle : Vehicle
{
public int NumberOfEngines { get; set; }
public string EngineType { get; set; }
}
} |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Nac.Common {
public abstract partial class NacLogger : IDisposable {
private const int cDefaultFlushCount = 10;
... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Mime;
using System.Net.Security;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ApartmentApps.Client;
using... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.ORD
{
public partial class RccpPlanLog
{
#region O/R Mapping Properties
#endregion
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual
{
/// <summary>
/// Representa el objeto request de Hoja de Ruta
/// </summary>
/// <remarks>
/// Creación : ... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
/// <summary>
/// StudentName: Suvashin
/// Student Number: 19003564
/// Module: PROG6212
/// Task: Task1
/// Seme... |
using System;
using System.Collections.Generic;
namespace GrpcServer.Repository.DBModels
{
public partial class Sales
{
public int Id { get; set; }
public int? CustomerId { get; set; }
public int ProductId { get; set; }
public DateTime SaleDate { get; set; }
public vir... |
namespace MyQueue
{
public interface IMyQueue
{
void Add(int value);
void Remove(int value);
int GetValue(int position);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace wsApiEPayment.Models.Affipay
{
public class ResponseCancel
{
public string status { get; set; }
public string requestId { get; set; }
public string Date { get; set; }
public string Ti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StockTracking
{
public class isUser
{
public static int Permissison { get; set; }
}
}
|
namespace BattleEngine.Output
{
public class OutputEvent
{
public int tick;
}
}
|
// Tính Thép thep phương cạnh dài vẫn chưa chuẩn, cần sửa lại
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DATN_Hoa_Yambi.Models;
using Newtonsoft.Json;
namespace DATN_Hoa_Yambi.Controllers
{
public class TinhToanController : Controller
... |
using System;
using System.Linq;
namespace _05.Reverse_Number
{
class ReverseNumber
{
static void Main()
{
string input = Console.ReadLine();
Console.WriteLine(Reversed(input));
}
static double Reversed(string input)
{
return double.Parse(new string(input.Reverse().ToArray()));
}
}
}
|
namespace BootLoader.Device
{
public class Packet
{
public byte[] DataBytes { get; set ; }
public string OkResponse { get; set; }
public string BadResponse { get; set; }
public int WaitResponseTimeout { get; set; }
public int RetryCount { get; set; }
public int ... |
using Chloe.Configuration;
using Chloe.Configuration.Contracts;
using Chloe.Data;
using Chloe.Data.Contracts;
using Chloe.Metal;
using Chloe.Metal.Contracts;
using Chloe.NBAClient.Contracts;
using Chloe.Services;
using Chloe.Services.Contracts;
using Chloe.ViewComponents.PlayerComponent;
using Chloe.ViewComponents.Play... |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Reflection;
using Phenix.Core.Data;
using Phenix.Core.IO;
using Phenix.Core.Mapping;
using Phenix.Core.Net;
using Phenix.Core.Security;
using Phenix.Core.SyncCollections;... |
using GardenControlRepositories.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace GardenControlRepositories
{
public class GardenControlContext : DbContext
{
public GardenControlContext(DbContextOptions<GardenControlCo... |
using System.Collections.Generic;
namespace Euler_Logic.Problems {
public class Problem186 : ProblemBase {
private ulong _pm = 0;
private ulong _perc = 0;
/*
The key realization here is that although there might be lots of different isolated networks,
all we care a... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace PlanMGMT.Converter
{
/// <summary>
///
/// </summary>
public class RunToStateConverter : IValueConverter
{
public object Convert(object value... |
using System.ComponentModel.DataAnnotations;
namespace Profiling2.Web.Mvc.Areas.Sources.Controllers.ViewModels
{
public class SourceAuthorViewModel
{
public int Id { get; set; }
[Required(ErrorMessage = "An author name is required.")]
public string Author { get; set; }
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ClavierScript : MonoBehaviour
{
public Vector3 inc;
private float increment = 0.0001f;
// Start is called before the first frame update
void Start()
{
inc = Vector3.zero;
}
// Update is ca... |
using Battleship.Logic.Models;
using System;
namespace Battleship.Logic.Interfaces
{
public interface IPlayer
{
IBoard Board { get; }
/// <summary>
/// Call this method when a cell is bombed
/// </summary>
/// <returns>The Result of the Bombing: Miss, Hit, Sink, AllShi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace ControlInventario.Models
{
public class Products
{
public int Id { get; set; }
public int ProductsCode { get; set; }
public string Products... |
namespace Sentry.Tests.Helpers.Reflection;
internal static class TypeExtensions
{
public static void AssertImmutable(this Type type)
{
if (type.IsPrimitive ||
type == typeof(string) ||
type == typeof(DateTimeOffset) ||
type == typeof(DateTime) ||
type.IsE... |
using Nancy;
using Scrabbles;
using System.Collections.Generic;
using System;
using System.Linq;
namespace Project
{
public class HomeModule : NancyModule
{
public HomeModule()
{
Get["/"] = _ =>{
Scrabble newScrabble = new Scrabble("");
return View ["index.cshtml", newScrabble];
};
... |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
namespace Justa.Job.Backend.Api.Application.MediatR.Handlers
{
public abstract class ActionResultRequestHandler<TRequest> :
... |
using GlobalGoalGame.Models.Trees;
using System;
using System.Collections.Generic;
using System.Text;
namespace GlobalGoalGame.Models.Misc
{
public class Statistics
{
//STATIC STATISTICS
public static float Money = 5000;
public static float TotalOxygenProduced = 0f;
public static float OxygenPerYear = 0... |
using System;
namespace State
{
public class BusinessLoanProcessor : ILoanProcessor
{
public decimal CalculatePremium(string username, int interval)
{
System.Console.WriteLine($"Calculating premium for Business Loan for {username}");
return 1000.00m;
}
p... |
using System.ComponentModel.DataAnnotations;
namespace valentines.Models
{
public class Candy
{
[Required]
public int Id { get; set; }
[Required]
public string Name { get; set; }
[Required]
public string Type { get; set; }
[Required]
public float ... |
namespace ImageSearchWPF.Utils
{
public class ConstantsUtility
{
public const string NoRecordFoundErrorMessageString = "No Records Found";
public const string EmptySearchStringErrorMessage = "Empty string or only spaces in Search string are not allowed";
public const string LinkTy... |
using System;
using System.Linq;
using log4net;
using Lucene.Net.Documents;
using Profiling2.Domain.Contracts.Search;
using Profiling2.Domain.Extensions;
using Profiling2.Domain.Prf.Events;
using Profiling2.Domain.Prf.Sources;
using Profiling2.Infrastructure.Search.IndexWriters;
namespace Profiling2.Infrastructure.Se... |
using Tomelt.ContentManagement;
namespace Tomelt.Themes.Models {
/// <summary>
/// When attached to a Content Type and rendered
/// it will prevent the theme from being applied
/// </summary>
public class DisableThemePart : ContentPart {
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;
using Microsoft.Ajax.Utilities;
using System.Web.Script.Serialization;
namespace WebApplication11.Models
{
public class sm9Class
{
public int Id { get; set; }
public string Responsable {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DmxController.Common.ServerException
{
public class ServerExceptionWrapper
{
/// <summary>
/// Code de l'exception
/// </summary>
private int code;
... |
using UnityEngine;
using TMPro;
public class TextManager : MonoBehaviour
{
public TextMeshProUGUI titleText;
public TextMeshProUGUI pointsText;
public GameObject titleScreen;
public GameObject points;
bool hidden = false;
int pointValue = 0;
int pIncrement = 0;
int qDecrement = 0;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace LoanAPound.Db.Model
{
public class LoanProvider
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
pu... |
using Quark.Contexts;
using Quark.Spells;
using Quark.Utilities;
using UnityEngine;
namespace Quark.Targeting
{
public interface IRanged
{
float CastRange
{
get;
}
}
public class TargetMacro
{
/// <summary>
/// On targeting succession
//... |
using System;
using SourceAFIS.Simple;
namespace NewPatientCare
{
public class Verifier
{
List<MyPerson>
public Verifier ()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DelftTools.Utils.Collections;
using DelftTools.Utils.Collections.Generic;
using DelftTools.Utils.Workflow;
namespace DelftTools.Utils.Threading
{
public interface IActivityRunner
{
/// <summary>
/// All... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.