text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
usi... |
namespace WebApi.Helpers{
public class PresentXException : System.Exception
{
public PresentXException() { }
public PresentXException(string message) : base(message) { }
public PresentXException(string message, System.Exception inner) : base(message, inn... |
using System;
namespace Uintra.Core.MediaToolkit
{
public class ConvertProgressEventArgs : EventArgs
{
public ConvertProgressEventArgs(TimeSpan processed, TimeSpan totalDuration, long? frame, double? fps, int? sizeKb,
double? bitrate)
{
TotalDuration = totalDuration;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace eTicaretProjesi.ENT.Model
{
[Table("Kategoriler")]
public class Kategoriler
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Polaris.Models {
/// <summary>
/// ファイルの状態
/// </summary>
public class FileState {
/// <summary>
/// ctor
/// </summary>
public FileState()
#region
{
}
#endregion
/// ... |
using System;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
namespace Movil_RIDA
{
public partial class PrincipalAbastoPkg : Form
{
AbastoPkg abasto = new AbastoPkg();
public PrincipalAbastoPkg()
{
InitializeComponent();
}
//
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Author: Nathan Hales
/// This is a simple script for a trigger box inside the credits scene. Any cedit object that enters it fades over time. (Alpha fades)
/// </summary>
public class CreditEater : MonoBehaviour {
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems.AdventOfCode.Y2022 {
public class Problem15 : AdventOfCodeBase {
public override string ProblemName => "Advent of Code 2022: 15";
public override stri... |
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using HCore.Web.Exceptions;
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Microsoft.Extensions.Configuration;
using System.Web;
using HCore.Translations.Providers;
using Microsoft.Extensions.DependencyInjection;
using Micro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.BotBuilderSamples.Models
{
public class UserProfile
{
public string Greeted { get; set; } = "not greeted";
public List<string> UtteranceList { get; private set; } = new List<str... |
using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour
{
public bool followPlayer = true;
public float speed = 10f;
public Transform player;
private Transform target;
private Vector3 mousePos;
void Awake ()
{
if (player == null) Debug.LogError("No target Player found atta... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterInput : MonoBehaviour
{
public Character character { get; protected set; }
public Vector2 input { get; set; }
public Vector2 rawInput { get; set; }
private void Awake ()
{
c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;
using System.Data;
using System.Data.Common;
using Testr.Models.Commands;
using Testr.Models.Queries;
namespace Testr.Models
{
public class Repository
{
public T Load<T>(IQuery<T> query)
... |
namespace BlockchainNet.Core.Communication
{
using System.Threading.Tasks;
public interface ICommunicationClient<T> : ICommunication
{
/// <summary>
/// Id сервера для обратной связи
/// </summary>
string ResponceServerId { get; set; }
/// <summary>
/// Аси... |
using System;
using CoreLocation;
using Aquamonix.Mobile.Lib.Utilities;
namespace Aquamonix.Mobile.IOS.Utilities
{
public class LocationUtilityIos : ILocationUtility
{
private static CLLocation _location = null;
public double DistanceInMetersFrom(double latitude, double longitude)
{
double output = -1;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.MDM
{
public class ProductionLineOfProduct
{
public int Ordinal { get; set; }
public int T134LeafID { get; set; }
public string T134Code { get; set; }
public ... |
using System;
namespace ConsoleApp1
{
public class Program
{
static void Main(string[] args)
{
Person p = new Person();
//p.SetName ("Вася");
p.Name = ("Вася");
p.SecondName = ("Пупкин ");
//Console.WriteLine(p.GetName(... |
using ChatSupport.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace ChatSupport.ViewModels
{
public class ChatViewModel
{
[ScaffoldColumn(fa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace csharp_fun
{
public static class OddOccurrencesInArray
{
//A non-empty zero-indexed array A consisting of N integers is given.The array contains an odd number of elements, an... |
using System;
using System.Collections.Generic;
using System.Linq;
using Mastermind.NET.Models;
using Mastermind.NET.Utility;
using Mastermind.NET.Validation;
namespace Mastermind.NET
{
internal class Program
{
/// <summary>
/// Startup and main game loop function.
/// </summary>
/// <param name="... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace Engine
{
public class Bound: BaseComponent
{
public Plane BoundingPlane = new Plane();
public bool Intersect(ModelRenderer modelRenderer)
{
return... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KeyBindingContract
{
}
|
using System.Linq;
using GridMvc;
using Welic.Dominio.Models.Marketplaces.Entityes;
namespace WebApi.Models.Grids
{
public class ListingTypesGrid : Grid<ListingType>
{
public ListingTypesGrid(IQueryable<ListingType> ListingTypes)
: base(ListingTypes)
{
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUDManager : MonoBehaviour {
public Text score;
public Text lives;
public Text enemiesKilled;
public Text time;
void Update () { //Keeps HUD Updated
score.text = "Score: ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MyContacts.WebApi.Infrastructure;
namespace MyContacts.WebApi.Controllers
{
[ApiController]
[Route("api/contacts/{contactId:int}/phones")]
public class PhonesController : ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PaperPlane.API.ProtocolSchema.Internal
{
[System.AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
sealed class BareAttribute : Attribute
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using System.Data.OleDb;
namespace DAO
{
/// <summary>
/// Thanh Phuc
/// </summary>
public class TuKhoaPhuongDAO : AbstractDAO
{
/// <summary>
///
/// </summ... |
using Microsoft.Extensions.DependencyInjection;
namespace DB_CQRS.DB.CommandQueryHandler
{
public static class ConfigureServices
{
public static void AddEFDatabase(this IServiceCollection serviceCollection)
{
serviceCollection.AddTransient<OrderCommandHandlers>();
}
}
}... |
/***********************************************************************
* Module: TypeOfExamination.cs
* Author: Sladjana Savkovic
* Purpose: Definition of the Class TypeOfExamination
***********************************************************************/
using System;
namespace Model.Doctor
{
public enum ... |
using System;
using Microsoft.Framework.Configuration;
using Quartz;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Autofac;
using Npgsql;
using NPoco;
using SciVacancies.Domain.Enums;
using Microsoft.Framework.Logging;
using SciVacancies.Services.Elast... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShowMeDateDataLayer
{
public class ShowMeDateDataLayer
{
public string GetDate()
{
String today = DateTime.Today.ToShortDateString();
return tod... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameStart : MonoBehaviour
{
private float wait_time = 3f;
private void Awake()
{
Invoke("YouCanMove", wait_time);
}
private void YouCanMove()
{
Debug.Log("CanMove");
GameContro... |
using System;
namespace demo2
{
class Solution
{
public static int solution(int[] A)
{
int ans = 0;
for (int i = 1; i <= A.Length; i++)
{
ans = ans + A[i];
}
return ans;
}
static void Main()
{
int []A ={-1,-2,9,7};
Console.Write(solution(A));
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FrecuenciaStrategy
{
class FrecuenciaTrimestral : FrecuenciaEspecifica
{
/**
* Requiere medición si el día de hoy es fin de mes y hace tres meses o más que se realizó la última medición
... |
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.PanGu;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.QueryParsers;
using Lucene.Net.Search;
using Lucene.Net.Store;
using PanGu;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Configuration;
using Umbraco.Core.Logging;
using Umbraco.Web.Editors;
using... |
using Enviosbase.Data;
using Enviosbase.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Enviosbase.Business
{
public class MarcaBusiness
{
public int Create(MarcaModel item)
{
return new ... |
using System;
namespace GenericDataAcessLayer
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
new DataAcessUtil().Search<Person>(new object());
Console.ReadKey();
}
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using SpatialEye.Framework.Geometry;
using SpatialEye.Framework.Units;
namespace Lite
{
/// <summary>
/// The abstract base class for measurers to be used with the corresponding
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.Object
{
[DataContract]
public class APICarBrand
{
[DataMember(Name = "id")]
public string carBrandId { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
// FX_RYLXInfo
[Serializable]
[DataTableInfo("FX_RYLXInfo", "ryid")]
public class FX_RYLXInfo : QueryInfo
{
[DataField("ryid","FX_RYLXInfo",false)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dir
{
class Program
{
static void Main(string[] args)
{
//string s = "i am s dsa fd fewenwqe ds a";
//char[] c = new char[] { };
//c = s.ToCharArray();
//foreach (char i in ... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace WerkWerk
{
using Data;
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddWerk<TContext>(this IServiceCollection services) where TContext : DbContext
{
... |
using SMG.Common.Conditions;
using SMG.Common.Exceptions;
using SMG.Common.Gates;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SMG.Common.Transitions
{
/// <summary>
/// Collects a set of transitions.
/// </summary>
public class Transitio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CercaRotate : MonoBehaviour
{
void Update()
{
if(Input.GetKeyDown(KeyCode.Alpha1))
{
transform.Rotate(0f, 0f, -90f);
}
}
}
|
using System;
using System.Threading.Tasks;
using AutoMapper;
using DataAccess.Roles;
using Entities;
using Microsoft.AspNetCore.Identity;
namespace DataAccess.DbImplementation.Roles
{
public class RemoveRoleFromUserCommand : IRemoveRoleFromUserCommand
{
private readonly IMapper _mapper;
pri... |
using UnityEngine;
using System.Collections;
public class InputEventCtrl : MonoBehaviour {
public static float VerticalVal;
float HorizontalVal;
public static bool IsClickFireBtDown;
public static uint SteerValCur;
public static uint TaBanValCur;
static private InputEventCtrl Instance = null;
//static Game... |
using System;
namespace EngageNet.Exceptions
{
[Serializable]
public class AccountUpgradeNeededException : ResponseException
{
public AccountUpgradeNeededException(int errorCode, string message, Exception inner)
: base(errorCode, message, inner)
{
}
public AccountUpgradeNeededException(int errorCode, s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SimuladorApp
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class DistanciaPage : ContentPage
{
public ... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.WMS
{
[Serializable]
public partial class PickUser : EntityBase, IAuditable
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
[Display(Name = "PickUser_PickGroupCode", ResourceType ... |
using Microsoft.Extensions.Caching.Memory;
using System.Dynamic;
namespace Shared.CachingProvider
{
public interface ICachingProviderService
{
object GetItem(string key);
object GetItem<T>(string key);
void SetItem(string key, string value);
void DeleteItem(string key);
}
... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibModels.common;
namespace LibModels
{
public class BaiViet
{
private int _ID;
private string _TieuDe;
private stri... |
// Copyright (c) Christopher Clayton. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace praxicloud.core.metrics.simpleprovider
{
#region Using Clauses
using System.Threading;
using System.Threading.Tasks;
#endregion
... |
using System;
using Xamarin.Forms;
using UserLogin;
using Views;
namespace SMSAuthentication
{
public class SMSAuthentication : Application {
public SMSAuthentication () {
MainPage = new NavigationPage (new ContactsListView());
}
protected override void OnStart () {
// Handle when your app starts
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public class DocumentDataStatus
{
public bool BookingConfirmationFromProvider { get; set; }
public bool BookingConfirmationToCustomer { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Uintra.Features.Likes.Models
{
public class LikesViewModel
{
public Guid MemberId { get; set; }
public Guid EntityId { get; set; }
public int Count { get; set; }
public bool LikedByCurrentUser { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using AccountOBJ;
namespace MDMUtils
{
class DBUtils
{
private string DBNAME = "mdmdb";
private string DBSERVER = "localhost";
privat... |
using System;
using System.Collections.Generic;
namespace SpaceHosting.Index.Sparnn.Helpers
{
internal static class ArrayExtensions
{
private class PairComparer : IComparer<(int, double)>
{
public int Compare((int, double) x, (int, double) y)
{
return x.I... |
using EPI.Arrays;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Arrays
{
[TestClass]
public class FurthestReachUnitTest
{
[TestMethod]
public void CanReachFurthestArrayItem()
{
FurthestReach.CanReachEnd(new [] {3, 3, 1, 0, 2, 0, 1}).Should().BeTrue()... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Fuzzing.Fuzzers.Impl
{
public class EnumFuzzer : IFuzzer
{
private readonly UnsignedIntegerFuzzer _intFuzzer = new UnsignedIntegerFuzzer();
public Type FuzzedType { get { return null; } }
public object Fuzz(Type type)
{
var val... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LP
{
[CreateAssetMenu(fileName = "New State", menuName = "LittlePrince/Ability/Movement")]
public class Movement : StateData
{
public float Speed;
public float rotSpeed;
public override void Upd... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Kupid
{
public class Chat
{
#region Atributi
protected List<Korisnik> korisnici;
protected List<Poruka> poruke;
DateTime pocetakChata, najnovijaPoruka;
#endregion
#region Properties
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SoundManagerVolume : MonoBehaviour
{
[SerializeField] Slider volumeSlider;
public AudioSource touch;
void Start()
{
if (!PlayerPrefs.HasKey("musicVolume"))
{
P... |
using Microsoft.AspNetCore.Identity;
namespace Justa.Job.Backend.Api.Identity.Models
{
public class ApplicationUser : IdentityUser
{
}
} |
using DocumentsApproval.Events;
using EventLite;
namespace DocumentsApproval.Model
{
public partial class DocumentAggregate : AggregateBase<Document>,
IEventHandler<DocumentCreated>,
IEventHandler<DocumentRenamed>,
IEventHandler<ArtifactsUpdated>,
IEventHandler<DocumentDel... |
namespace ChangeList
{
using System;
using System.Linq;
public class StartUp
{
public static void Main()
{
var numbers = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse)
.... |
using Alabo.Domains.Services;
using Alabo.Industry.Shop.Activitys.Domain.Entities;
namespace Alabo.Industry.Shop.Activitys.Domain.Services
{
public interface IActivityRecordService : IService<ActivityRecord, long>
{
}
} |
using FrHello.NetLib.Core.Security;
namespace ScanRepeatFiles
{
internal class Program
{
static async Task Main(string[] args)
{
var fileNameDic = new Dictionary<string, List<string>>();
var md5Dic = new Dictionary<string, List<string>>();
var di... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ChartComposite
{
public class ChartItem : IChart, IEquatable<ChartItem>
{
public ChartItem(int code, string name, int point)
{
Code = code;
Name = name;
Point = point;
}
... |
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 lab_019
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System.Collections.Generic;
using System.Windows;
using CODE.Framework.Wpf.Mvvm;
namespace CODE.Framework.Wpf.TestBench
{
/// <summary>
/// Interaction logic for ViewActionMenuTest.xaml
/// </summary>
public partial class ViewActionMenuTest : Window
{
public ViewActionMenuTest()
... |
using UnityEngine;
using UnityEngine.Audio;
using System.Collections;
public class AudioVolume : MonoBehaviour
{
public AudioClip clipMusic;
public AudioMixerSnapshot volumeUp;
public AudioMixerSnapshot volumeDown;
public AudioSource soundEffect;
private AudioSource musicSource;
// Use this for... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ApartmentApps.Api.Modules
{
public class DashboardPieViewModel : ComponentViewModel
{
private Type _dataType;
public ChartData[] Data { get; set; }
public class ChartData
{
public string la... |
using System;
using System.Collections.Generic;
namespace EPI.Sorting
{
/// <summary>
/// Design an algorithm that takes as input a set of intervals and outputs their union expressed as a set of disjoint intervals.
/// </summary>
/// <example>
/// {} => open interval, [] => closed interval
///... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.App.Share.Rewards.Domain.Enums
{
/// <summary>
/// 分润触发类型
/// </summary>
[ClassProperty(Name = "分润触发类型")]
public enum TeamlLivenessType
{
/// <summary>
/// 自身
/// </summ... |
using ReactMusicStore.Core.Domain.Entities;
using ReactMusicStore.Core.Domain.Interfaces.Service.Common;
namespace ReactMusicStore.Core.Domain.Interfaces.Service
{
public interface IGenreService : IService<Genre>
{
Genre GetWithAlbums(string genre);
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EaseBrush : Brush
{
public override float[,] CalculateBrushUp(float[,] currentBrushValues)
{
return CSHandler.CalculateWihtShader(currentBrushValues, Value, EasingFunctions.Cubic);
}
publ... |
using System;
using Phenix.Core.Dictionary;
using Phenix.Core.Windows;
using Phenix.Security.Business;
namespace Phenix.Security.Windows.FormClassManage
{
public partial class FormClassManageForm : Phenix.Core.Windows.BaseForm
{
public FormClassManageForm()
{
InitializeComponent();
}
#regio... |
using UnityEngine;
using System.Collections;
public class Health : MonoBehaviour {
public int hp = 100;
private bool ko = false;
public void Damage(int damage) {
hp -= damage;
if (hp <= 0) {
ko = true;
}
}
public bool isKo() {
return ko;
}
public void setKo(bool x) {
ko = x;
}
}
|
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Timer : MonoBehaviour
{
public Text user;
public Text ai;
float timeLeft = 120;
public Text text;
void Update()
{
int user_score = int.Parse(user.text);
int ai_score = int.Parse(ai.text);
... |
using Presenter.Core.Entities;
using Presenter.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Drawing;
using System.I... |
using System;
using System.IO;
using System.Linq;
using FluentAssertions;
using Leprechaun.Configuration;
using Leprechaun.Logging;
using Xunit;
namespace Leprechaun.Tests
{
public class ConfigurationImportPathResolverTests
{
[Fact]
public void ResolveImportPaths_ShouldWorkWithAbsolutePath()
{
var path = P... |
using System;
using System.Data.Entity;
using System.Linq;
using Futbol5.Entities;
using System.Data.Entity.ModelConfiguration;
namespace Futbol5.DAL
{
public class Futbol5Entities : DbContext
{
public Futbol5Entities() : base("name=Futbol5Entities")
{
}
public virtual DbSet<C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrimeNumber
{
/// <summary>
/// Вспомогательный класс, используется для распределения числовых интервалов при многопоточной проверке числа на простоту
/// </summary>
internal c... |
using NRaas.CommonSpace.Options;
using NRaas.MasterControllerSpace.SelectionCriteria;
using Sims3.Gameplay;
using Sims3.Gameplay.Abstracts;
using Sims3.Gameplay.Actors;
using Sims3.Gameplay.Autonomy;
using Sims3.Gameplay.CAS;
using Sims3.Gameplay.Core;
using Sims3.Gameplay.Interactions;
using Sims3.Gameplay.Interfaces... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace test.Models
{
public class Post
{
public long Id { get; set; }
/// <summary>
/// För att få rou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rwd.Framework
{
public static class Dates
{
private static DateTime currentDate = DateTime.Now;
public static DateTime CurrentDate
{
get { return currentDate; }
set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CreditasChallenge.Domain.Entities
{
public abstract class EntityBase
{
public int Id { get; set; }
//TODO: outras propriedades que serão comuns a todas as enti... |
using UnityEngine;
using UnityEditor;
namespace BanSupport
{
[CustomPropertyDrawer(typeof(IntConditionAttribute))]
public class IntConditionPropertyDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
IntConditionAttribute condHAtt = (IntCondit... |
using UnityEngine;
public class InAdvanceCreateField : MonoBehaviour
{
#if UNITY_EDITOR
[SerializeField, Range(1, 8)]
int stageNumber = 1;
void Update()
{
if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter))
{
if (Input.GetKey(KeyCode.RightContro... |
using DFC.ServiceTaxonomy.PageLocation.Models;
using OrchardCore.ContentManagement;
using YesSql.Indexes;
namespace DFC.ServiceTaxonomy.PageLocation.Indexes
{
public class PageLocationPartIndex : MapIndex
{
public string? ContentItemId { get; set; }
public string? Url { get; set; }
}
... |
/******************************************************************************\
* Copyright (C) 2012-2016 Leap Motion, Inc. All rights reserved. *
* Leap Motion proprietary and confidential. Not for distribution. *
* Use subject to the terms of the Leap Motion SDK Agreement available at ... |
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
namespace Simple.Wpf.Composition.Workspaces
{
public partial class WorkspaceHost : UserControl
{
public static readonly DependencyProperty WorkspaceProperty = DependencyProperty.Register("Workspace",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity.Core;
using PagedList;
namespace CNWTT.Models.DAO
{
public class BillDAO
{
//private static bill bill = null;
public static int addBill(bill bill)
{
int id = -1;
... |
using gView.Framework.Data.Fields.FieldDomains;
using gView.Framework.system;
using System;
using System.Windows.Forms;
namespace gView.Framework.Data.Fields.UI.FieldDomains
{
public partial class Control_SimpleValueDomain : UserControl, IInitializeClass
{
private SimpleValuesDomain _domain;
p... |
using UnityEngine;
using System.Collections;
public class StalkerSwitch : MonoBehaviour {
// public GameObject stalker = null;
public bool debugFlag = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter(Collider col){
Ga... |
using System;
namespace Uintra.Features.Notification.Entities.Base
{
public interface IReminderable
{
Guid Id { get; set; }
DateTime StartDate { get; }
}
}
|
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.