text stringlengths 13 6.01M |
|---|
using ParrisConnection.DataLayer.Entities.Profile;
using ParrisConnection.ServiceLayer.Data;
using System.Collections.Generic;
namespace ParrisConnection.ServiceLayer.Models
{
public class ProfileViewModel
{
public ProfilePhotoData ProfilePhoto { get; set; }
public IEnumerable<EmployerData> Em... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MapArcGIS
{
public class WorkSpaceWL : WorkSpace
{
private struct LineData
{
public int... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace UnityStandardAssets.CrossPlatformInput
{
public class IceButton : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
public UnityChanControlScrip... |
using BHLD.Model.Models;
using BHLD.Services;
using BHLD.Web.Infrastructure.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace BHLD.Web.Api
{
[RoutePrefix("api/HuProvince")]
public class HuProvinceController : APIC... |
namespace Codility
{
public class FrogRiverCrossing
{
public static int Find(int x, int[] A)
{
var river = new int?[x + 1];
int sum = 0;
for (int i = 1; i <= x; i++)
sum += i;
for (int minute = 0; minute < A.Length; minute++)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab16
{
class RawDataItem
{
public string Name { get; set; }
public float Price { get; set; }
public int Count { get; set; }
public string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using IFKFormBase;
namespace FKFormBase
{
/// <summary>
/// 数据校验基类
/// </summary>
/// <typeparam name="V"></typeparam>
public class ValidateBase<V> : IValidateBase where V : class
{
... |
using gView.Framework.Carto;
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Geometry;
using gView.Framework.Globalisation;
using gView.Framework.IO;
using gView.Framework.system;
using gView.Framework.UI;
using gView.Framework.UI.Events;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyDev.BL;
using System.Data;
using log4net;
namespace SQMS.Services
{
public class EmergencyEventService : GenericService
{
private static readonly ILog log = LogManager.GetLogger(type... |
using System;
using System.Threading.Tasks;
namespace Howler.Blazor.Components
{
/// <summary>
/// See https://github.com/goldfire/howler.js
/// </summary>
public interface IHowl : IHowlEvents
{
#region Properties
TimeSpan TotalTime { get; }
#endregion
#region Met... |
using Framework.Core.Common;
using Framework.Core.Config;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.Tenant
{
public class TenantDetail : TenantBasePage
{
#region Page Objects
pri... |
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using ContestsPortal.Domain.DataAccess;
using ContestsPortal.Domain.Models;
using ContestsPortal.WebSite.App_Start;
using ContestsPortal.WebSite.ViewModels.Account;
using Microsoft.AspNet.Identity.Owin;
namespace Co... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SelectionCommittee.DAL.Entities
{
public class City
{
[Key]
public int Id { set; get; }
public string Name { get; set; }
[ForeignKey("Re... |
namespace Profiling2.Infrastructure.NHibernateMaps.Conventions
{
#region Using Directives
using FluentNHibernate.Conventions;
#endregion
public class TableNameConvention : IClassConvention
{
public void Apply(FluentNHibernate.Conventions.Instances.IClassInstance instance)
{
... |
using Mettes_Planteskole.Models.Linq;
using Mettes_Planteskole.Models.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Mettes_Planteskole
{
public partial class _default : CustomPage
{
protected vo... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.Wallet.Win.Common;
using GFramework.BlankWindow;
using System.ComponentModel.Composition;
using System.Windows;
name... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SelectorNode : Compositor {
NodeStatus[] nodeStats;
bool allNodesFailed = false;
public SelectorNode(BehaviorTreeController btController) : base(btController) {}
public override NodeStatus Tick()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SnowBLL.Models.Users
{
public class UserFiltrationModel
{
public string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using ToChange.Models;
namespace ToChange.DB_Connections
{
public class DAL
{
public static ToChangeDBModelEntities entity = new ToChangeDBModelEntities();
public static DbSet<Custo... |
using Nac.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using Nac.Common.Control;
using System.Collections.Specialized;
using Nac.Wpf.Common.Control;
using static NacUtils;
using static NacWpfUtils;
using Nac.Wcf.Common;
using System.Collections;
using System.Windows.Data;
using System.IO;... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PROnline.Models.Trainings;
using PROnline.Models;
namespace PROnline.Controllers.Trainings
{
public class TrainingVolunteerController : Control... |
//using System;
//using System.Collections.Generic;
//using System.Data;
//using System.Globalization;
//using System.Text;
//namespace ColumnStore
//{
// /*
// An Experimental Columnar DB using c#
// Author: Rajesh Pillai
// */
// class Database
// {
// public Dictionary<string, Table> Ta... |
namespace _1.CookingProgram
{
using System;
using System.Linq;
class Carrot : IVegetable
{
//interface fields
private string kind;
private double size;
private double weight;
private bool isPeeled;
private bool isGoodToEat;
//properties
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawner : MonoBehaviour
{
[SerializeField] private GameObject enemyPrefab = null;
[SerializeField] private float delay = 3f;
private GameObject enemy;
public float timer = 0f;
void FixedUpdate() {
... |
using UnityEngine;
using System.Collections;
[RequireComponent (typeof (UITexture) )]
public class AllyIndicator : MonoBehaviour {
[SerializeField]
private UITexture texture;
[SerializeField]
private Texture box;
[SerializeField]
private Texture arrow;
#region Transform Cache
private Transform thisTransfor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int uitkomst = Rekensom.minSom(9, 2);
Rekensom som = new Rekensom();
... |
/* Author: Mitchell Spryn (mitchell.spryn@gmail.com)
* There is no warranty with this code. I provide it with the intention of being interesting/helpful, but make no
* guarantees about its correctness or robustness.
* This code is free to use as you please, as long as this header comment is left in all of the fil... |
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using Microsoft.Extensions.ML;
using Microsoft.Extensions.DependencyInjection;
using Swashbuckle.AspNetCore.Swagger;
using Microsoft.ML.Data;
using PredictFunctionsApp;
[assembly: WebJobsStartup(typeof(Startup))]
namespace PredictFunctionsApp
{
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WziumStars.Data;
using WziumStars.Models.ViewModels;
namespace WziumStars.ViewComponents
{
public class MenuViewComponent : ViewComponent
... |
using DChild.Gameplay.Player;
namespace DChild.Gameplay.Environment.Item
{
public class GlidePickup : SkillPickup
{
protected override void ApplySkill(IPlayerSkillEnabler playerSkill)
{
playerSkill.EnableSkill<PlayerGlide>(true);
}
}
} |
using System;
namespace Class02_Problem_of_selection
{
class Program
{
/// <summary>
/// Algorithm about problem of selection.
/// </summary>
/// <param name="a">Array of number</param>
/// <param name="k">The rank of k-number minimum</param>
/// <returns>The ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Translate : MonoBehaviour
{
[SerializeField]
float push = -0.0001f;
[SerializeField]
float maxDist = 5;
public bool movesHorizontally = false;
float startX;
float startY;
void Start() {
startX = transfo... |
// ===============================
// AUTHOR : Guillaume Vachon Bureau
// CREATE DATE : 2018-08-29
//==================================
using System.Collections.Generic;
namespace BehaviourTree
{
/// <summary>
/// Like sequencetask, but randomise the task order
/// </summary>
public class Rand... |
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CYJ.Base.Service.Http.Filters
{
public class BaseExceptionFilterAttribute : ExceptionFilterAttribute, IExceptionFilter
{
public override void OnException(Exc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
[RequireComponent(typeof(Button))]
public class PlayUI : MonoBehaviour
{
public Button playBtn;
public TMP_InputField seedInput;
public string SceneToLoad;
// Start is called before the fi... |
using CarsIsland.MailSender.Infrastructure.Configuration.Interfaces;
using CarsIsland.MailSender.Infrastructure.Services.Mail;
using CarsIsland.MailSender.Infrastructure.Services.Mail.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using SendGrid.Extensions.DependencyInjection;
namespace CarsIsland.MailSe... |
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Requests.OverlappingTrainingDateRequest;
using SFA.DAS.ProviderCommitments.Web.Models.OveralppingTrainingDate;
using System.Threading.Tasks;
namespace SFA.DAS.ProviderCommitments.Web.Mappers.Cohort
{
public cl... |
using System;
using TraceWizard.Entities;
using TraceWizard.Classification;
using TraceWizard.Entities.Adapters.Arff;
using TraceWizard.Environment;
namespace TraceWizard.Classification.Classifiers.NearestNeighbor {
public abstract class NearestNeighborClassifier : Classifier {
public NearestNeighborCl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Empresa.DesignPatterns.Vendas;
namespace Empresa.DesignPatterns.Impostos
{
public class IHIT : TemplateImposto
{
public IHIT(Imposto outroImposto) : base(outroImposto) { }
... |
using System.Data.Entity.ModelConfiguration;
using ServiceDesk.Ticketing.Domain.TaskAggregate;
namespace ServiceDesk.Ticketing.DataAccess.Mappings
{
public class TaskStateMap : EntityTypeConfiguration<TaskState>
{
public TaskStateMap()
{
ToTable("Tasks");
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace BenefitDeduction.Employees.FamilyMembers
{
public interface IEmployeeSpouse: IFamilyMember
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using Uintra.Core.Activity.Models;
using Uintra.Core.Controls.LightboxGallery;
using Uintra.Features.Comments.Services;
using Uintra.Features.Likes;
using Uintra.Features.Tagging.UserTags.Models;
namespace Uintra.Features.News.Models
{
public clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace URl_Project.Models
{
public class UrlContext : DbContext
{
public DbSet<UrlModel> UrlModels { get; set; }
public UrlContext(DbContextOptions<UrlConte... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Input;
using TripLog.Models;
using TripLog.Views;
using Xamarin.Forms;
namespace TripLog.ViewModels
{
public class MainPageViewModel : ViewModelBase
{
private ObservableCollection<TripLogEntry> e... |
using System;
using System.Globalization;
using System.Text;
using JetBrains.Annotations;
namespace iSukces.Code
{
public static class StringExtensions
{
public static string Capitalize(this string x) => x.Substring(0, 1).ToUpper() + x.Substring(1);
/// <summary>
/// Koduje string... |
using System.Collections.Generic;
namespace CollectionsUtility
{
public interface IReadOnlyUniqueList<T>
: IReadOnlyList<T>
{
int IndexOf(T item);
T ItemAt(int index);
}
}
|
using System;
using System.Drawing;
using System.Media;
using System.Windows.Forms;
using AxisPosCore;
namespace AxiPos
{
public partial class FormLogOn : Form, ILogOnView
{
public delegate void dlgSetText(string text);
public FormLogOn(bool showTouchInput)
{
InitializeCom... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.ProviderCommitments.Web.Mappers.Apprentice;
using SFA.DAS.ProviderCommitmen... |
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;
namespace TC
{
public partial class Form1 : Form
{
TC tc = new TC();
public Form1()
{
Ini... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using CsvHelper;
using OrderLibrary.Models;
namespace OrderLibrary
{
public class OrdersProvider : IOrdersFromCsvProvider
{
public IEnumerable<Order> GetOrdersFromCsv(IReader reader... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Snow
{
//Creates a ToolStripMenuItem to include all the history of visited links
public class HistoryToolStrip : ToolStripMenuItem
{
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Snake_Moves
{
class Program
{
static void Main(string[] args)
{
var rowsAndCols = Console.ReadLine().Split().Select(int.Parse).ToArray();
var rows = rowsAndCols[0];
var cols = rowsA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OverloadingOperators
{
class EighthEx
{
private int[] Arr;
public EighthEx(int[] arr)
{
Arr = arr;
}
public static explicit operato... |
using ChipmunkSharp;
using CocosSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChipmunkExample
{
class shatterLayer : ChipmunkDemoLayer
{
public struct WorleyContex
{
public int seed;
public float cellSize;
public int width, height;
public cp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace ProjekatZdravoKorporacija.ModelDTO
{
class ExaminationDTO
{
public int Id { get; set; }
public string Doctor { get; set; }
public string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rwd.Framework.Utility
{
public static class Attributes
{
/// <summary>
/// Gets all custom attributes for a property within the given type
/// </summary>
/// <param name="type"></param... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.Security.Permissions;
namespace DFC.ServiceTaxonomy.ContentApproval.Permissions
{
public class RequestReviewPermissions : IPermissionProvider
{
public static readonly Permission RequestReviewPermission... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Mapping.Contractual
{
/// <summary>
/// Implementación del mapeo de la entidad Flujo Aprobacion
/// </summary>
/// <remarks>
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class TerminalPilot : ShipControl {
protected virtual void Start(){
SortAndTrimWeapons();
}
protected virtual void Update(){
//Back out if our mouse isn't locked
//HACK This might need to be changed later
if ( !Screen.... |
namespace Calculator.Logic.Operations.MyOperations
{
public class Division : DoubleOperation
{
public Division(IOperation operationClass) : base(operationClass)
{
StringToFile = "Division";
Tag = "/";
}
public override void Run()
{
Op... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AppCenter;
using Plugin.Connectivity;
using Welic.App.Helpers.Resources;
using Welic.App.Models.Usuario;
using Welic.App.Services;
using Welic.App.Serv... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Acquiring.Sdk {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.acquiring.sdk']/class[@name='Card']"
[global::Android.Runtime.Register ("ru/tinkoff/acquiring/sdk/Card", DoNotGenerateAcw=true)]
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing.Design;
using System.Windows.Forms.Design;
namespace Kingdee.CAPP.Common.DataGridViewHelp
{
/// <summary>
/// 类型说明:DataGridViewCellStyle属性框扩展
/// 作 者:jason.tang
/// 完成时间:2013-01-17
/// </s... |
using C1.Win.C1FlexGrid;
using Clients.AirMaster;
using Common;
using Common.Log;
using Common.Presentation;
using LFP.Printing;
using SessionSettings;
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.ServiceModel;
using System.Threading;
using System.Windows.Forms;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lux.Framework
{
/// <summary>
/// Represents a two-dimensional vector
/// </summary>
public struct Vector2
{
internal OpenTK.Vector2d OpenTKEquivalent { get { return new OpenTK.Vector2d(X, Y); } }
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Ninject;
using NUnit.Framework;
using SeMo;
using SHA3;
namespace Tests
{
public class WhenAttemptingToGenerateHash : TestContext
{
[Test]
... |
using System.Collections.Generic;
using System.ServiceModel;
using Project2ObjectWCF.DTO;
namespace Project2ObjectWCF.Interfaces
{
[ServiceContract]
interface TagInterface {
[OperationContract]
void AddTag(TagDTO tag);
[OperationContract]
void DeleteCustomTag(string tag);
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
// using UnityEngine.Random;
// using System.Random;
public class GameManager : MonoBehaviour
{
[SerializeField] Transform playerHandTransform,
playerFieldTransform,
... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Lab16
{
class DataStorage
{
public bool isReady
{
get
{
if (rawData == ... |
using UnityEngine;
using System.Collections;
public class WargScript : CoboldoScript {
}
|
using log4net;
using NippoPaymentsApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
namespace NippoPaymentsApi.Identity
{
public class DatabaseUserLoginProvider : ILoginProvider
{
public bool ValidateCredentials(string userN... |
using UnityEngine;
/// <summary>
/// TODO
/// Provides attributes and information of portal
/// </summary>
public class PortalSpawn : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task7_Andrey_and_billiard
{
public class task7_Andrey_and_billiard
{
public static void Main()
{
Dictionary<string, double> menu = ReadProducts();
... |
using System;
using System.Collections.Generic;
using System.Text;
using FactionCombinationAnalysis.FactionCombine.Combiner;
namespace FactionCombinationAnalysis.FactionCombine.Setting
{
public class CombinationProviderSetting_A : CombinationProviderSetting
{
public CombinationProviderSetting_A()
... |
using System.Collections;
using System.Collections.Generic;
using Pixelplacement;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.UI.Extensions;
[RequireComponent(typeof(Image), typeof(NicerOutline))]
public class ImageGlow : MonoBehaviour
{
[SerializeField] Color color;
[SerializeField] float mini... |
using AudioText.Models.DataModels;
using AudioText.Models;
using AudioText.Services;
using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using AudioText.Models.ViewModels;
namespace AudioText.Controllers
{
public class EmailController : Controller
{
[HttpPost]
public async Task<A... |
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 Крестики_Нолики
{
public partial class Form1 : Form
{
bool xTurn... |
using System;
using System.ComponentModel.DataAnnotations;
using PatientsRegistry.Domain;
using PatientsRegistry.Domain.Validation;
namespace PatientsRegistry.Registry
{
public sealed class PatientCreate
{
[Required]
[Name]
public string Name { get; set; }
[Required]
[... |
using System.Collections.Generic;
using PizzaMore.Data;
using PizzaMore.Utility;
namespace Home
{
class Home
{
private static IDictionary<string, string> RequestParameters;
private static Session Session;
private static Header Header = new Header();
private static string Langua... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
using ApartmentApps.Client.Models;
using Microsoft.Rest;
using Newtonsoft.Json.Linq;
namespace Apa... |
using ClaimDi.DataAccess.Entity;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace ClaimDi.DataAccess
{
public class MyContext : DbContext
{
public MyContext(string configurationName)
: base(configurationNa... |
namespace Sentry.Tests.Protocol;
public class DebugImageTests
{
private readonly IDiagnosticLogger _testOutputLogger;
public DebugImageTests(ITestOutputHelper output)
{
_testOutputLogger = new TestOutputDiagnosticLogger(output);
}
[Fact]
public void SerializeObject_AllPropertiesSetToN... |
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
public class ChangeScenePress : MonoBehaviour
{
public string scene = "Zona0";
private void Awake()
{
}
public void OnSubmit()
{
SceneManager.LoadScene(scene);
}
}
|
using Plugin.Settings;
using System;
using System.Collections.Generic;
using System.Text;
namespace NetheusLibrary.Helper
{
public static class LocalStorageHelper
{
public static void StoreInLocalSetting(string key, string val)
{
try
{
CrossSettings.Curr... |
using System;
using FirstCode;
using SecondCode;
using SecondCode.BetterExceptions;
using ThirdCode;
namespace TestApp
{
public class Program
{
public static void Main(string[] args)
{
FirstExamples();
SecondExamples();
ThirdExamples();
FourthExamples();
}
private static void FirstExamples()
... |
using FluentNHibernate.Mapping;
using Sind.Model;
namespace Sind.DAL.Mappings
{
public class GrupoVisaoMap : ClassMap<GrupoVisao>
{
public GrupoVisaoMap()
{
Table("GrupoVisao");
Id(g => g.Id, "Id_GrupoVisao");
Map(g => g.Nome, "Nome");
Map(g => g... |
using System;
using System.Collections.Generic;
using SignInCheckIn.Models.DTO;
namespace SignInCheckIn.Services.Interfaces
{
public interface ISiteService
{
List<CongregationDto> GetAll();
}
}
|
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 _3Layer.BLL;
using _3Layer.DTO;
using System.Threading;
using System.Media;
namespace _3Layer.GUI
{
public partial class Gam... |
using JT808.Protocol.Attributes;
using JT808.Protocol.Extensions;
using JT808.Protocol.Formatters;
using JT808.Protocol.Interfaces;
using JT808.Protocol.MessagePack;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 数据上行透传
/// </summary>
public class JT808_0x0900 : JT808Bodies, IJT808MessagePac... |
using System;
using System.Collections.Generic;
using System.Text;
namespace testMonogame.Commands
{
class NextItemCommand : ICommand
{
IPlayer p;
public NextItemCommand(GameManager g)
{
p = g.getPlayer();
}
public void Execute()
{
p.Next... |
using eMAM.Data;
using eMAM.Data.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace eMAM.Service.Utills
{
public static class DataSeed
{
public static ... |
using System;
using Chapter1;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tester
{
[TestClass]
public class TestChapter1
{
bool expected;
bool actual;
[TestMethod]
public void Testq1_1()
{
Q1dot1 obj = new Q1dot1();
... |
using System.Data.Entity;
using LearningSystem.Models.EntityModels;
using Microsoft.AspNet.Identity.EntityFramework;
namespace LearningSystem.Data
{
public class LearningSystemContext : IdentityDbContext<ApplicationUser>
{
public LearningSystemContext()
: base("LearningSystem")
{
}
public DbSet<Student> ... |
using Comp;
using Dapper;
using Model.IntelligenceDiningTable;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.IntelligenceDiningTable
{
/// <summary>
/// 菜品原料详情
/// </summary>... |
using System;
using System.Collections.Generic;
using Fbtc.Domain.Entities;
using Fbtc.Domain.Interfaces.Services;
using Fbtc.Application.Interfaces;
using prmToolkit.Validation;
using Fbtc.Application.Helper;
namespace Fbtc.Application.Services
{
public class DescontoAnuidadeAtcApplication : IDescontoAnuidadeA... |
using UnityEngine;
public class Music : MonoBehaviour
{
Animator animator;
AudioSource mPlay;
float musicOn = 100.0F;
float musicOff = 0.0F;
private void Start()
{
mPlay = GetComponent<AudioSource>();
}
public void MusicOff()
{
mPlay.volume = musicOff;
}
p... |
namespace Puppeteer.Core.Configuration
{
public enum ConfiguratorValueType
{
BOOL,
INT,
FLOAT,
STRING,
VECTOR2,
VECTOR3,
VECTOR2INT,
VECTOR3INT,
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using LeanEngine.Business;
using LeanEngine.Entity;
namespace Testing.Business
{
[TestFixture]
public class BidItemFlowTest
{
private BidItemFlow bidItemFlow;
private List<ItemFlow>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Utility;
using Telerik.Web.Mvc;
using com.Sconit.Web.Models.SearchModels.MD;
using com.Sconit.Web.Models;
using com.Sconit.Entity.MD;
using com.Sconit.Service;
namespace com.Sconit.Web.Controlle... |
using Cs_Gerencial.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Aplicacao.Interfaces
{
public interface IAppServicoServentiasOutras : IAppServicoBase<ServentiasOutras>
{
ServentiasOutras Obt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.