text stringlengths 13 6.01M |
|---|
namespace Daren.Baker.Bjss.Assignment.Infrastructure.Providers
{
internal interface IJsonFileProvider<T>
{
T Get(string file, string section);
}
}
|
using Android.App;
using Android.Content;
using Firebase.Iid;
using Plugin.Toasts;
using System;
using Xamarin.Forms;
namespace StaffBusser.Droid
{
[Service]
[BroadcastReceiver]
[IntentFilter(new[] { "com.google.firebase.INSTANCE_ID_EVENT" })]
public class MyFirebaseIIDService : FirebaseInstanceIdServ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sweepstakes
{
class MarketingFirm
{
private readonly ISweepstakesManager _sweepstakesManager;
public bool stillWorking;
public MarketingFirm(string st... |
namespace Kit.Controls.CrossBrush
{
public abstract class Color
{
public abstract double R { get; set; }
public abstract double G { get; set; }
public abstract double B { get; set; }
public abstract double A { get; set; }
public static string Transparent => "#00F... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace solution1.Rapport
{
public partial class UserCrt_statistique : UserControl
{
public UserCrt_statistique()
... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Epsagon.Dotnet.Core;
using Jaeger;
using Jaeger.Reporters;
using Jaeger.Samplers;
using Jaeger.Senders;
using OpenTracing.Util;
namespace Epsagon.Dotnet.Tracing.OpenTracingJaeger {
public class JaegerTracer {
public static In... |
using BarcodeLib;
using DataMatrix.net;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Etiqueta.NET.Core
{
public class CorreiosTag
{
#region Properties... |
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using AutoMapper.Execution;
namespace AutoMapper
{
using System;
public class NullReferenceExceptionSwallowingResolver : IMemberResolver
{
private readonly IMemberResolver _inner;
private static readonly Ex... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SMSEntities.SMSDBEntities
{
public class Incidents
{
//`incidents``incidentid``reportdate``natureofincident``dateofincident``locationid``particularsofpersons``briefdescription``remarksandactionstaken`
... |
using Assets.Scripts.Enemies.Interfaces;
using Assets.Scripts.Utilities;
using Assets.Scripts.Weapons.Interfaces;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Scripts.Weapons.ScatterSeeker {
public class ScatterSeekerBehaviour : MonoBehaviour {
GameObject bullet;
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QA_Assignment1
{
public class Rectangle
{
private int length;
private int width;
public Rectangle()
{
this.Length = 1;
this.Wid... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Deployer2._0.Models.PowerCLIHelper
{
public class DeployableEnvironmentVM
{
public string Name { get; set; }
public string CPUNum { get; set; }
public string Memory { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
namespace MediCalcToGo.View
{
public partial class ABCD2View : StateSavin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using BarCrawl.Data;
using BarCrawl.Models;
using System.Security.Claims;
namespace BarCrawl.Controllers
{
... |
using UnityEngine;
using System.Collections;
public class GoToLevelButtonScript : MonoBehaviour
{
public string NextLevel = "";
public Clickable cl = null;
void Awake()
{
if(cl == null)
cl = gameObject.GetComponent<Clickable>();
if(cl == null)
cl = gameObject.AddComponent<Clickable>();
cl.action += ... |
using Envision.MDM.Location.Domain.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace Envision.MDM.Location.Domain.AggregatesModel
{
public class CompanyInfo : Entity, IAggregateRoot
{
public int CompanyId { get; set; }
public string CompanyName { get; set; }
... |
using iTextSharp.text;
namespace SVN.Pdf.Components
{
public class SvnBorder
{
public int? BorderWidth { get; }
public int? BorderWidthTop { get; }
public int? BorderWidthRight { get; }
public int? BorderWidthBottom { get; }
public int? BorderWidthLeft { get; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TaskMan.Domains.ViewModels
{
public class SaveProjectTaskViewModel
{
public int TaskId { get; set; }
[Required]
pub... |
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter01.Listing01_12
{
class MiracleMax
{
static void Main()
{
// ...
string requirements, max;
requirements = max = "It would take a miracle.";
// ...
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class ScoreDisplayer : MonoBehaviour
{
[SerializeField] TMPro.TextMeshProUGUI m_text;
[SerializeField] string m_start = "Score : ";
void Update()
{
m_text.text = m_start + GameStateManager.Insta... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace EvilC
{
public class EvilCompiler
{
private TokenParser tk;
private BinaryCode code;
private Token t;
private class Function {
public int address;
public int max_local_data_size;
public List<DataType> parameters;
... |
using Microsoft.Azure.Cosmos.Table;
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// Structure of the Azure Table Storage
/// </summary>
namespace Storage {
internal class TableTelemetryEntity : TableEntity {
public TableTelemetryEntity() {
}
public ... |
using System;
using System.Collections.Generic;
#nullable disable
namespace API.Models
{
public partial class Khoa
{
public Khoa()
{
Nganhdaotaos = new HashSet<Nganhdaotao>();
}
public string MaKhoa { get; set; }
public string TenKhoa { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CQRS_Write_Domain.Commands
{
public interface ICommandSender
{
void RegisterCommandHandlers(ICommandHandler commandHandler);
void Send<T>(T command) where T : ICommand;
}
}
|
using ScribblersSharp;
using System.Collections.Generic;
using System.Text;
using TMPro;
using UnityEngine;
using UnityEngine.Events;
/// <summary>
/// Scribble.rs Pad controllers namespace
/// </summary>
namespace ScribblersPad.Controllers
{
/// <summary>
/// A class that describes a word hint controller scr... |
using Hospital.Entity;
using Microsoft.EntityFrameworkCore;
namespace Hospital.Repository.Context
{
public class ApplicationDbContext:DbContext
{
public DbSet<Paciente> pacientes {get;set;}
public DbSet<Consulta> consultas {get;set;}
//Creador para que funcione
public Applicati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayAgain : MonoBehaviour
{
// Start is called before the first frame update
public void PlayAgainPin()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex ... |
using Minecraft4Dev.Web.Models;
using Minecraft4Dev.Web.Persistence;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
namespace Minecraft4Dev.Web.Services
{
publ... |
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace Grundstrom.Pages
{
public class PdfPage : ContentPage
{
public PdfPage()
{
Padding = new Thickness(0, 20, 0, 0);
Content = new StackLayout
{
... |
using BPiaoBao.AppServices.ConsoContracts.SystemSetting.DataObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
namespace BPiaoBao.AppServices.ConsoContracts.SystemSetting
{
[ServiceContract]
public interface IConsoNoticeService
{
... |
using System;
namespace TaskHandler
{
public class User:Task
{
public String Name { get; set; }
private int Id;
public Task _Task { get; set; }
public User()
{
}
public User(String name, int id)
{
this.Name = name;
this.I... |
using System;
using System.Collections.Generic;
using System.Linq;
using Blog.Application.Queries.Model;
using Blog.Web.Models;
namespace Blog.Web.Mappers
{
public class Mapper
{
public static IEnumerable<BlogViewModel> Map(IEnumerable<BlogDto> data)
{
var res = new List<BlogViewMo... |
using Aqueduct.SitecoreLib.DataAccess;
using Aqueduct.SitecoreLib.Examples.SampleApplication.Business.Domain;
using Aqueduct.SitecoreLib.Examples.SampleApplication.Business.Domain.Widgets;
using Aqueduct.SitecoreLib.Examples.SampleApplication.DataAccess.Resolvers;
namespace Aqueduct.SitecoreLib.Examples.SampleAp... |
namespace E03_Enigmanation
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Enigmanation
{
public static void Main(string[] args)
{
string input = Console.ReadLine().Trim();
List<string> expression = new List<string>();
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_AssetBundleCreateRequest : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
AssetBundleCreateRequest o = new AssetBundleCreateRequest();
LuaOb... |
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Meziantou.Analyzer.Rules;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class DoNotThrow... |
using VoxConnections.JWT.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace VoxConnections.JWT.Context
{
public class VoxContext : DbContext
{
public VoxContext(DbContextOptions<VoxContext> options) : ... |
/*Write a program that finds the most frequent number in an array. Example:
* {4, 1, 1, 4, 2, 3, 4, 4, 1, 2, 4, 9, 3} > 4 (5 times)
*/
using System;
using System.Collections.Generic;
class MostFrequentNumberInArray
{
static void Main()
{
Console.Write("Please enter array lenght: ");
... |
namespace Plus.Communication.Packets.Outgoing.Rooms.Furni
{
internal class UpdateMagicTileComposer : MessageComposer
{
public int ItemId { get; }
public int Decimal { get; }
public UpdateMagicTileComposer(int itemId, int @decimal)
: base(ServerPacketHeader.UpdateMag... |
using System;
using System.Web.Mvc;
using Logs.Authentication.Contracts;
using Logs.Common;
using Logs.Models;
using Logs.Services.Contracts;
using Logs.Web.Infrastructure.Factories;
using Logs.Web.Models.Profile;
namespace Logs.Web.Controllers
{
public class ProfileController : Controller
{
private r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
//Task 18
namespace DateAndTimeParse
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter 2 dates in format: day.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HandsOn27.Models;
using HandsOn27.Filter;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore.Internal;
namespace... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public static class MiniGameHelper
{
/// <summary>
/// Инстанциирует объект нужного типа
/// </summary>
/// <typeparam name="T">Тип объекта</typeparam>
/// <param name="Path">Путь к префабу</param>
/// <param name="... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlobalDevelopment.SocialNetworks.Facebook.Models
{
public class FacebookExperience
{
/// <summary>
/// ID.
/// </summar... |
namespace Athena.Import.Extractors {
public class CommentExtractor {
public static string Extract(string text) {
if (text == "'-" || text == "-" || string.IsNullOrEmpty(text)) {
return null;
}
return text.Trim();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Deployer2._0.Models;
using vmware.samples.common;
using System.Web.UI.WebControls;
using System.Threading.Tasks;
namespace Deployer2._0
{
public class ListVirtualMachines : SamplesBase
{
BulletedList bulletedLis... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
namespace QuestomAssets.AssetOps
{
public class AssetOpManager : IDisposable
{
private ConcurrentQueue<AssetOp> _opQueue = new Co... |
/// <summary>
/// Token response.
/// Used to parse values to an object when getting tokens from an OpenID Connect Identity Server
/// </summary>
using SQLite;
using Newtonsoft.Json;
namespace MCCForms
{
public class TokenResponse
{
[JsonIgnore]
[PrimaryKey]
public int Id {
get;
set;
}
[JsonPrope... |
using mytry.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace mytry.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class EventVolunteerList... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace Athena.EnumLocalizations {
public class EnumSorter {
public static List<TEnum> GetSortedByDescriptions<TEnum>() where TEnum : Enum {
return Enum.GetValues(typeof(TEnum)).Cast<TEnum>()
... |
using System;
using UnityEngine;
namespace UnityUIPlayables
{
[Serializable]
public class CanvasGroupAnimationBehaviour : AnimationBehaviour
{
[SerializeField] private CanvasGroupAnimationValue _startValue;
[SerializeField] private CanvasGroupAnimationValue _endValue;
public Canvas... |
using SharpPcap.Packets;
using System;
using System.Collections;
using System.Net;
using System.Windows.Forms;
namespace TrafficDissector.UI.PacketHeadersUserControls
{
internal partial class IPv4HeaderUserControl : BaseHeaderUserControl
{
#region Constructor
public IPv4HeaderUserControl()
... |
using System.Threading.Tasks;
using iCopy.ExternalServices.Model;
namespace iCopy.ExternalServices.Mail
{
public interface IMailService
{
Task SendMailAsync(MailMessage message);
}
}
|
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NetFabric.Hyperlinq
{
public static partial class ReadOnlyListExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Option<TSource> First<TList, TSource>(this TList ... |
using ApiCatalogoJogos.Exceptions;
using ApiCatalogoJogos.InputModel;
using ApiCatalogoJogos.Services;
using ApiCatalogoJogos.ViewModel;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
namespace ApiCatalogoJogos... |
using JetBrains.Annotations;
using System;
using Volo.Abp.Domain.Entities;
namespace Nm.Reservation
{
/// <summary>
/// 时间段
/// </summary>
public class ReservationPeriod : Entity<Guid>
{
/// <summary>
/// 开始时间
/// </summary>
public DateTime StartTime
... |
using System;
using System.Collections.Generic;
namespace Tsu.CLI.Commands
{
/// <summary>
/// The base command manager class.
/// </summary>
public abstract class BaseCommandManager
{
/// <summary>
/// The commands registered in this command manager.
/// </summary>
... |
using System;
using System.IO;
using System.Reactive.Linq;
namespace loggerApp.Extensions
{
public static class FileSystemWatcherExtensions // http://neue.cc/2011/07/06_332.html
{
public static IObservable<FileSystemEventArgs> CreatedAsObservable(this FileSystemWatcher watcher)
{
r... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TrashCollectorApp.Data.Migrations
{
public partial class v10 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "AspNetRoles",
ke... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace Steganography
{
public class BMPEncoder : BMP
{
private byte[] data;
private Quality quality;
private byte[] encImage;
public ... |
using MooshakPP.Models.Entities;
using System.Collections.Generic;
namespace MooshakPP.Models.ViewModels
{
public class ManageCourseViewModel
{
public List<Course> courses{ get; set; }
public Course newCourse { get; set; }
//currently selected
public Course currentCourse { get... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace WebStartProcess.Controllers
{
[Route("process/[action]/{id?}")]
public class ProcessController : Controller... |
namespace ns9
{
using ns10;
using System;
internal interface Interface3
{
void imethod_1(Enum5[] enum5_0, object[] object_0);
}
}
|
namespace XShare.Services.Data.Contracts
{
using System;
using System.Linq;
using XShare.Data.Models;
public interface IAccidentService
{
IQueryable<Accident> AllAccident();
Accident CreateAccident(
string location,
string picture,
string descri... |
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 EntidadesClase7;//agrego la biblioteca de clases que agregamos.(sirve para no escribir más codigo al... |
// -----------------------------------------------------------------------
// <copyright file="BayesianOptimizerProxy.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// <... |
using console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace ConsoleTestProj
{
/// <summary>
///This is a test class for _073_WordSearchTest and is intended
///to contain all _073_WordSearchTest Unit Tests
///</summary>
[Tes... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class WorldGenerator : MonoBehaviour {
public bool removeIslands = true;
public bool randomSeed = true;
public int seed = 0;
public int smoothCycles = 4;
public enum worldTypes{Normal, Island, Smooth};
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlienEngine
{
/// <summary>
/// Light Component.
/// </summary>
public class Light : Component
{
/// <summary>
/// The type of this light.
/// </sum... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Localization.Settings;
public class ChangeLanguage : MonoBehaviour
{
int index = 0;
bool init = false;
// Start is called before the first frame update
void Init()
{
index = 0;
UnityEng... |
using System.Reflection;
namespace OmniGui
{
using System;
using Zafiro.PropertySystem.Attached;
using Zafiro.PropertySystem.Standard;
public abstract class ExtendedObject : IPropertyHost
{
public void SetValue(AttachedProperty property, object value)
{
OmniGuiPlatform.... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.Collections.Internal;
using NUnit.Framework;
namespace DotNetNuke.Tests.Core.Collections
{
[TestFixture]
public class ReaderWri... |
using System.Windows.Input;
namespace Swiddler.Commands
{
public static class MiscCommands
{
public static RoutedCommand QuickConnect { get; } = new RoutedCommand(nameof(QuickConnect), typeof(MiscCommands));
public static RoutedCommand Send { get; } = new RoutedCommand(nameof(Send), typeof(Mis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 9
namespace Point_Inside_Circle_Outside_Triangle
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter x: ");
int x = int.Parse... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NationContainer : MonoBehaviour {
private Object[] natArray;
public List<Nation> nationList = new List<Nation>();
private void Start()
{
natArray = Resources.LoadAll("Nations", typeof(Nation));
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
public float abilityProbability = 0.5f;
public SpriteRenderer sprite;
public bool isFacingRight = false;
public Animator animator;
private Movement movement;
private Ability abil... |
using Objectivity.Test.Automation.Common.Types;
namespace Objectivity.Test.Automation.Tests.Angular.PageObjects
{
using System.Globalization;
using NLog;
using Objectivity.Test.Automation.Common;
using Objectivity.Test.Automation.Common.Extensions;
using Objectivity.Test.Automation.Tests.PageObjec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace GameSimulationN.Models.ViewModel
{
public class GoldCoinViewModel
{
public int GoldCoins { get; set; }
}
} |
using System;
namespace Simpler.Tests.Core.Mocks
{
public class MockFirstAttribute : EventsAttribute
{
public override void BeforeExecute(Task task)
{
((MockTaskWithAttributes)task).CallbackQueue.Enqueue("First.Before");
}
public override void AfterExecute(Task task... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageManager : MonoBehaviour {
public int damage;
public GameObject dust;
public GameObject drop1;
public GameObject drop2;
public int health;
void OnTriggerEnter2D(Collider2D other)
{
i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test2._1._1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("梦想还是要有的,万一实现了呢!");
Console.WriteLine(" ... |
using HacktoberfestProject.Web.Models.Enums;
namespace HacktoberfestProject.Web.Models.DTOs
{
public class PullRequest
{
public int PrId { get; set; }
public string Url { get; set; }
public PrStatus? Status { get; set; }
public PullRequest(int prId, string url, PrStatus? status = null)
{
P... |
using AutoMapper;
using Fundamentals.DomainModel;
using Fundamentals.Models.Authorization;
using Fundamentals.Models.DTO;
using Microsoft.AspNet.Identity.EntityFramework;
namespace Fundamentals
{
public class MappingProfile : Profile
{
public MappingProfile()
{
Mapper.CreateMap<Movi... |
using System.Collections.Generic;
using UnityEngine;
namespace Unity_Dialogue
{
public class DialogueState : MonoBehavior
{
// Dict(npcName, dialogueTreeState)
public Dictionary<string, string> stateDict;
// TO DO: Add save/load methods (serialization)
/* It saves on start now,... |
using DataAccess.Entity;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess.Repository
{
public class TasksRepository : BaseRepository<Taask>
{
public TasksRepository(string filePath) : base(filePath... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFP.Persistencia.Dao;
using SFP.Persistencia.Model;
using PROJECT.SERV.Model.Adm;
namespace SERV.Dao.Adm
{
public class TCP_Adm_AreaNivelDao : BaseDa... |
using System;
namespace Publicon.Infrastructure.DTOs
{
public class PublicationFieldToManipulateDTO
{
public Guid FieldId { get; set; }
public string Value { get; set; }
}
}
|
using Business.DataModel;
using CommonLibrary.Helpers.WebAPIs;
using System;
using System.Collections.Generic;
using System.Text;
namespace Business.Services
{
public class SystemStatusManager : BaseWebAPI<SystemStatus>
{
public SystemStatusManager()
: base()
{
isCollec... |
using System;
using System.Collections.Generic;
using System.Text;
using MySql.Data.MySqlClient;
namespace RevisoHomework.model2
{
public class DBconnector
{
public static DBconnector dBconnector = new DBconnector();
private DBconnector() { }
public static DBconnector getInstance() {
... |
using System.Linq;
using System.Runtime.InteropServices;
using FuzzyLogic.Operations;
using FuzzyLogic.Sets;
namespace FuzzyLogic.PropertiesOperations
{
public class CommutativityUnion : IBinaryProperty
{
public bool Operate(Set set1, Set set2)
{
var leftPart = Operation.Union(set... |
using System;
using System.Collections.Generic;
using System.Net.Sockets;
namespace Game.Network
{
public class BaseClient
{
protected DynamicBufferManager Handler;
public DateTime ConnectDateTime { get; protected set; }
public DateTime ActiveDateTime { get; protected set; }
pub... |
using AdventOfCode2019;
using NUnit.Framework;
namespace AdventOfCode2019Tests
{
public class Day01Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Part1()
{
var component = 100756;
var fuel = Day01.GetFuelForModule(com... |
namespace TridevLoader.EventBus {
/// <summary>
/// Standard non-cancellable event implementation. Suitable for most use cases.
/// </summary>
public class EventStandard : EventBase {
public override bool IsCancellable() {
return false;
}
public override bool IsCance... |
using System;
using System.Collections.Generic;
using System.Linq;
using GraphQL.DataLoader;
using GraphQL.Types;
using Microsoft.AspNetCore.Identity;
namespace app
{
public class AuthorType : ObjectGraphType<Author>
{
public AuthorType(ApplicationDbContext db, IDataLoaderContextAccessor accessor,... |
using System.Web.Mvc;
namespace Sayhi.Areas.FormalSysManagement
{
public class FormalSysManagementAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "FormalSysManagement";
}
}
public overr... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_Collision : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Collision o = new Collision();
LuaObject.pushValue(l, true);
LuaObject.pushVal... |
using System;
using System.Collections.Generic;
using System.Text;
using PnrAnalysis.Model;
namespace PnrAnalysis
{
/// <summary>
/// Pnr实体信息
/// </summary>
///
[Serializable]
public class PnrModel
{
/// <summary>
/// 传入编码
/// </summary>
public string Pnr = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KPI.Model.Abstract
{
public class General : IGeneral
{
public General()
{
this.CreatedTime = DateTime.Now;
}
public int ID { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : Unit
{
float counter;
Transform closestTarget = null;
public override void Refresh()
{
counter -= Time.deltaTime;
base.PhysicsRefresh();
if (counter <= 0 || closestTarget == null... |
using System.Threading;
using System.Threading.Tasks;
using LubyClocker.Application.BoundedContexts.Developers.ViewModels;
using LubyClocker.CrossCuting.Shared;
using LubyClocker.CrossCuting.Shared.Exceptions;
using LubyClocker.Infra.Data.Context;
using MediatR;
namespace LubyClocker.Application.BoundedContexts.Develo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.