text stringlengths 13 6.01M |
|---|
using UnityEngine;
namespace UnityGPPhysics
{
/// <summary>Structure used to get information back from a raycast. Note: the interface of this class is based on the Unity Scripting API.</summary>
/// <author>Michael Jones, Tomasz Mackow</summary>
public struct RaycastHit
{
/// <summary>The barycentric coordinate... |
using DataAnnotationsExtensions.ClientValidation;
[assembly: WebActivator.PreApplicationStartMethod(typeof(Docller.Core.App_Start.RegisterClientValidationExtensions), "Start")]
namespace Docller.Core.App_Start {
public static class RegisterClientValidationExtensions {
public static void Start() {
... |
using System.Collections.Generic;
using System.Linq;
using Profiling2.Domain.Extensions;
using Profiling2.Domain.Prf.Careers;
using Profiling2.Domain.Prf.Events;
using Profiling2.Domain.Prf.Organizations;
using Profiling2.Domain.Prf.Persons;
using Profiling2.Domain.Prf.Responsibility;
using Profiling2.Domain.Prf.Sugge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace myScriptureJournal.Models
{
public class scripturemodel
{
public string book { get; set; }
public int chapter { get; set; }
public int section { get; set; }
public string ... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PruebaA
{
public class CircularPanel : Panel
{
protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Gra... |
using Lanches_Mac.Models;
using System.Collections.Generic;
namespace Lanches_Mac.Repositories
{
public interface ICategoriaRepository
{
IEnumerable<Categoria> Categorias { get; }
}
}
|
using System.Linq;
using System.Threading.Tasks;
using AutoMapper.QueryableExtensions;
using DataAccess.Roles;
using DB;
using Microsoft.EntityFrameworkCore;
using ViewModel;
using ViewModel.Roles;
namespace DataAccess.DbImplementation.Roles
{
public class RolesListQuery : IRolesListQuery
{
private re... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using 面向对象;
namespace oop_exec
{
class Program
{
static void Main(string[] args)
{
Ticket t1 = new Ticket(150);
t1.Res();
Console.ReadKey();
}
}
}
|
namespace SAAS.FrameWork
{
public class ApiMessageHelper
{
/// <summary>
/// 服务请求对象
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="obj"></param>
/// <returns></returns>
public static ApiRequestModel<T> SetRequest<T>(T obj)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Web;
using System.Web.Mvc;
using System.IO;
using FileHelpers;
using CAPCO.Areas.Admin.Models;
using CAPCO.Infrastructure.Data;
using CAPCO.Infrastructure.Domain;
using System.Text;
using CA... |
using System;
using System.IO;
using System.Reflection;
using Newtonsoft.Json;
using test_automation_useful_features.Helpers;
namespace ExaLinkRebatesAndFees.Utility.CommonHelpers
{
public static class JsonHelper
{
/// <summary>
/// Serializes object into JSON string without null values
... |
using System;
using System.Drawing;
using System.Windows.Forms;
using EuriborSharp.CustonEventArgs;
using EuriborSharp.Enums;
using EuriborSharp.Interfaces;
namespace EuriborSharp.Views
{
public partial class MainForm : Form, IMainForm
{
public event EventHandler<BooleanEventArg> LineSmoothChanged;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using GDS.Entity;
using SqlSugar;
namespace GDS.Dal
{
public class ImplBaseData : ImplDaoBase<BaseData>, IBaseDataDao<BaseData>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab_6
{
class Program
{
static void Main(string[] args)
{
//Declaration of variables and methods:
string input = ValidInput();
strin... |
/* 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 gView.Framework.Symbology;
using System.Collections.Generic;
namespace gView.Framework.Carto
{
public interface IRenderer
{
List<ISymbol> Symbols { get; }
bool Combine(IRenderer renderer);
}
} |
using DGSWeb.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace DGSWeb.Validations
{
public class DateTimeAttribute : ValidationAttribute
{
protected override ValidationResult IsValid(objec... |
using System;
using System.Collections.Generic;
using System.Text;
namespace System
{
public class URLUri : Uri
{
public const string URL_URI_PREFIX = "http";
public URLUri(string uri) : base(uri)
{
if (!uri.StartsWith(URL_URI_PREFIX, StringComparison.InvariantCultureIgnor... |
namespace MetroBlog.Web.ViewModels
{
using System;
using System.Collections.Generic;
/// <summary>
/// Defines a view model for post summaries
/// </summary>
public class PostSummaryViewModel
{
/// <summary>
/// Creates a new instance of the <see cref="PostSummaryViewModel"... |
using Alabo.Domains.Entities;
using Alabo.Domains.Services;
using Alabo.Users.Entities;
namespace Alabo.Data.People.Users.Domain.Services
{
/// <summary>
/// 后台用户操作接口
/// </summary>
public interface IUserAdminService : IService
{
ServiceResult UpdateUser(User user);
bool Updat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.EntityFrameworkCore.Update;
using Microsoft.... |
namespace SubC.Attachments {
public enum PositionBehavior {
DoNothing,
Snap
}
public enum RotationBehavior {
DoNothing,
LookAt,
LookAt2D,
LookDirection,
Snap
}
public enum MoveMethod {
Translate,
SetPhysics,
MovePhysics
}
public enum Rotate... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Jypeli.Controls;
using Jypeli.Effects;
namespace Jypeli
{
public partial class Game
{
/// <summary>
/// Kerrokset, joilla pelioliot viihtyvät.
/// </summary>
public SynchronousLis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MegaMan.Common;
namespace MegaMan.Engine
{
/// <summary>
/// This is used for scenes and menus that don't get their entity container from gameplay
/// </summary>
public class SceneEntities : IEntityContainer
... |
using UnityEngine;
namespace DChild.Gameplay.Physics
{
public interface IGravity2D
{
float gravityScale { get; set; }
void SetAngle(Vector2 direction);
void AddGravity(float scale);
}
}
|
var TARGET = Argument ("target", Argument ("t", "Default"));
var VERSION = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
var CONFIG = Argument("configuration", EnvironmentVariable ("CONFIGURATION") ?? "Release");
var SLN = "./Swank.sln";
Task("Libraries").Does(()=>
{
NuGetRestore ... |
using System;
using System.Drawing;
using System.Linq;
using UnityEngine;
public class GameController : MonoBehaviour
{
public GameObject WallPrefab;
public GameObject IndestructibleWallPrefab;
public GameObject BombPrefab;
public float DefaultTimer;
public int Size;
public ParticleSystem Part... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.PrintModel.ORD;
namespace com.Sconit.Utility.Report.Operator
{
public class RepPickListOrderOperator : RepTemplate1
{
public RepPickListOrderOperator()
{
//明细部分的行数
thi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pjank.BossaAPI.DTO
{
/// <summary>
/// Typ wyliczeniowy używany w obiektach transportowych do przekazywania
/// (między modułami biblioteki) informacji o rodzaju zastosowanej w zleceniu ceny.
/// </summary>
... |
using System;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Data/StringData")]
public class StringData : DataItem<StringItem, string>, ISerializationCallbackReceiver
{
public void OnAfterDeserialize()
{
int count = 1;
m_dic.Clear();
foreach (var item... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace DAL.Models
{
public partial class MenuCalculatorContext : DbContext
{
public MenuCalculatorContext()
{
}
public MenuCalculatorContext(DbContextOptions<MenuCalculatorConte... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BinarySearchTreeVisualizer
{
class RedBlackTree
{
protected RBNode root;
protected List<int> output;
public RBNode Root { get { return this.root; } }
public List<int> Output { get { return this.output;... |
namespace SmartyStreets
{
using System;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
public class NativeSender : ISender
{
private static readonly Version AssemblyVersion = typeof(NativeSender).Assembly.Get... |
using System;
using System.Data.Entity.ModelConfiguration;
namespace ClaimDi.DataAccess.Entity
{
public class AppSecret
{
public int ID { get; set; }
public string user_key { get; set; }
public string user_secret { get; set; }
public string app_id { get; set; }
public b... |
//Array Counter
public void ArrayCounter(List<string> passInList)
{
//using SortedDictionary instead of Dictionary to sort Keys; does add overheard though
SortedDictionary<int, int> myDictionary = new SortedDictionary<int, int>();
foreach (string s in passInList)
... |
// 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 System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Entities
{
public class BlockTrans
{... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using System.Reflection;
using System.Threading;
using DevExpress.XtraEditors;
using DevExpress.XtraVerticalGrid.Rows;
... |
using System;
namespace DelegateDemo
{
public class TransactionProcess
{
public static void informBank(string message)
{
//do something
Console.WriteLine($"{message} debited from bank");
}
public static void informStore(string message)
{
... |
using UnityAtoms.BaseAtoms;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Variable Instancer of type `Vector3`. Inherits from `AtomVariableInstancer<Vector3Variable, Vector3Pair, Vector3, Vector3Event, Vector3PairEvent, Vector3Vector3Function>`.
/// </summary>
[EditorIcon(... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace SbdProjekto.Migrations
{
public partial class doubleToDecimal : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<decimal>(
name: "Cena",
... |
using Backend.Model.Users;
using System.Collections.Generic;
namespace IntegrationAdaptersPharmacySystemService.Service
{
public interface IPatientService
{
List<Patient> ViewPatients();
}
}
|
using System;
using System.IO;
using System.Globalization;
using System.Text.RegularExpressions;
public delegate void SplitProgress(float done);
class FFMPEGOutputParser
{
static Regex DurationRegex = new Regex(
@"\ *Duration: (?<hour>\d\d):(?<min>\d\d):(?<sec>\d\d).(?<csec>\d\d)",
RegexOptions.C... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AppointmentManagement.Entities.Concrete.Procedure
{
public class uspCreateOrderAsnHeader
{
public Guid OrderAsnHeaderID { get; set; }
public string ContainerTypeCode { get; set; }
public int BoxQuantity { get;... |
using System;
namespace E4
{
class Program
{
static void Main(string[] args)
{
TragaLibros Jimmy = new TragaLibros();
TragaLibros Joseph = new TragaLibros();
TragaLibros Juan = new TragaLibros();
string opcion = "";
stri... |
namespace LikDemo.Models
{
public class InvoiceResource
{
public string Type { get; set; }
public InvoiceAttributes Attributes { get; set; }
public InvoiceRelationships Relationships { get; set; }
public Identification[] Included { get; set; }
public string Id { get; set... |
using GraphicalEditor.Constants;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphicalEditor.Service
{
public class GenericHTTPService
{
protected RestClient GetClient()
{
var client ... |
using RabbitMQ.Client;
using System.Threading.Tasks;
namespace VenteApi.Models
{
public class ConnexionSingleton
{
private static IConnection _connection;
/// <summary>
/// cree une connexion singleton
/// </summary>
/// <param name="hostName"></param>
/// <para... |
using AirTr.Classes;
using AirTr.Interfaces;
using AirTr.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using static AirTr.Util.Helpers;
namespace AirTr
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _2.OpenClosedPrinciple.Interface
{
public interface ICustomer
{
void GetCustomer(int CustomerId);
void SaveCustomer(string CustomerId);
void UpdateCustomer(string CustomerName, int CustomerI... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HW2
{
public class Profile
{
private string name;
public string Name
{
set
{
name = value;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.Threading.Tasks;
using System.Globalization;
namespace EC2Remocon.Models {
class DateTimeConverter : IValueConverter {
public object Convert(object value, Type targetType... |
using System.Collections.Generic;
using System.Linq;
using Fingo.Auth.DbAccess.Models.Statuses;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Infrastructure.ExtensionMethods;
using Fingo.Auth.Domain.Models.ProjectModels;
using Fingo.Auth.Domain.Projects.Interfaces;
namespace Fingo.Auth.Doma... |
using DamianTourBackend.Api.Controllers;
using DamianTourBackend.Api.Hubs;
using DamianTourBackend.Core.Entities;
using DamianTourBackend.Core.Interfaces;
using DamianTourBackend.Infrastructure.Mailer;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extension... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class OptionsMenuMenager : MonoBehaviour
{
public GameObject Phone;
public GameObject Joystick;
public void BackToMenu(string backTo)
{
SceneManager.... |
using System;
using System.IO;
namespace OpenHMDNet
{
public class Utility
{
public static bool isLinux()
{
return true;
}
public enum Platform
{
LINUX,
WINDOWS,
MAC,
UNKNOWN,
}
public static ... |
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace CODE.Framework.Wpf.Controls
{
/// <summary>
/// Tree view with additional features
/// </summary>
public class TreeViewEx : TreeView
{
/// <summary>
/// Initializes a... |
using SharpArch.Web.Mvc.JsonNet;
using System.Web.Mvc;
namespace Profiling2.Web.Mvc.Areas.API.Controllers
{
[BasicAuthentication]
public class BaseApiController : Controller
{
public JsonNetResult JsonNet(object data)
{
// Try to avoid IIS overwriting our custom error text with... |
using System;
using AppKit;
using Foundation;
using System.Collections.Generic;
namespace ResilienceClasses
{
public class ComboBoxStringListDataSource : NSComboBoxDataSource
{
readonly List<string> source;
public ComboBoxStringListDataSource(List<string> source)
{
this.so... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using XH.Domain.Catalogs;
namespace XH.APIs.WebAPI.Models.Catalogs
{
[DataContract]
public class CreateRegionRequest: CreateOrUpdateRegionRequest
{
}
} |
using Claudia.Interop;
using Claudia.Services;
using Claudia.Utility;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace пирамида
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int chislo = 1;
int red = 1;
... |
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Conditions.Guards;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Infrastructure.Data.Extensions;
using Properties.Infrastructure.Data.Interfaces;
namespace Properties.Infrastructure.Data
{
publ... |
using BattleEngine.Engine;
namespace BattleEngine.Providers
{
public class BattleCommands : BattleCommandsProvider
{
}
}
|
using Euler_Logic.Helpers;
using System.Collections.Generic;
namespace Euler_Logic.Problems {
public class Problem250 : ProblemBase {
/*
This problem can be solved quite similarly to problem 249 using a DP solution. First we convert the entire set
of 1^1, 2^2, 3^3, etc to remainder... |
using UnityEngine;
using System.Collections;
public static class Layers {
public const int PLAYER_LAYER = 8;
public const int PLATFORM_LAYER = 9;
public const int BLOCKS_LAYER = 10;
public const int PORTAL_LAYER = 12;
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using api = ex2_API.Models;
using dal = ex2_DAL.Models;
namespace ex2_API.Mappers
{
public static class PersonMappers
{
public static dal.Person ToDal(this api.PersonApi api)
{
dal.Pers... |
using System;
namespace NeuralNetLibrary.components.activators
{
[Serializable]
public class SigmoidActivation : ActivationFunction
{
public double Equation(double weight)
{
return 1 / (1 + Math.Exp(-weight));
}
public double Derivative(double weight)
{... |
namespace RosPurcell.Web.Infrastructure.Contexts
{
using System;
using System.Collections.Specialized;
using System.Web;
public class PageContext : IPageContext
{
private readonly IHttpContext _httpContext;
public PageContext(IHttpContext httpContext)
{
_httpCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FrecuenciaStrategy
{
class FrecuenciaSemanal : FrecuenciaEspecifica
{
public override bool RequiereMedicion(DateTime ultimaMedicion)
{
return DayOfWeek.Friday == DateTime.Now.... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Project371
{
/// <summary>
/// Base class for a camera object
/// </summary>
abstract class Camera : Entity
{
public Camera(string name) : base(name)
{
}
... |
using CoreLib.Models;
using DatabaseDAL.DataAccess;
using HRM.Authentication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HRM.Controllers
{
public class ChangePasswordController : Controller
{
// GET: ChangePassword
[Requ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.Bridge.Example1
{
public class Client
{
public void ClientCode(View view)
{
var result = view.Show();
Console.WriteLine(result);
}
}
}
|
using Airelax.Domain.Houses.Defines;
namespace Airelax.Application.ManageHouses.Request
{
public class HouseStatusInput
{
public HouseStatus Status { get; set; }
}
} |
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace IronAHK.Rusty
{
partial class Core
{
private class GuiInfo
{
public GuiInfo()
{
Controls = new Stack<Control>();
}
public char Delimiter
{
get;
set;
}
public Font Font
{
get;
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using TriangleNet;
using TriangleNet.Geometry;
using TriangleNet.Data;
using TriangleNet.Tools;
public class RestClientTest : MonoBehaviour
{
public Material _material;
public float _visibleRadio; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using FIMMonitoring.Common;
using FIMMonitoring.Domain.Repositories.IRepositories;
using FIMMonitoring.Domain.ViewModels.WCF;
namespace FIMMonitoring.Domain.Repositories
{
public class ImportErrorRepository : AdvBaseRepository<ImportError>, IImpor... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FinalExams
{
public class Hero
{
public string Name { get; set; }
public int Hp { get; set; }
public int Mp { get; set; }
public Hero(string name, int hp, int mp)
{
t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AnyTest.IDataRepository;
using AnyTest.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using System.Security.Claims;
using Microsoft.AspNetC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Security;
using WebMatrix.WebData;
namespace LearningRace
{
// Note: For instructions on enabling IIS6 or IIS7... |
namespace ANSI
{
public static class Motion
{
static string CursorUp(int n) => $"\x1b[{n}A";
static string CursorDown(int n) => $"\x1b[{n}B";
static string CursorForward(int n) => $"\x1b[{n}C";
static string CursorBack(int n) => $"\x1b[{n}D";
static string CursorNextL... |
namespace Intelecom.SmsGateway.Client.Models
{
/// <summary>
/// Originator settings.
/// </summary>
public class OriginatorSettings
{
/// <summary>
/// Depends on the OriginatorType. Example: +4799999999, Intelecom, 1960.
/// </summary>
public string Originator { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XH.Queries.Categories.Dtos
{
public class CategoryOverviewDto
{
public string Id { get; set; }
public string Name { get; set; }
public string Code { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using jaytwo.Common.Extensions;
using System.Collections.Specialized;
using System.Text.RegularExpressions;
namespace jaytwo.Common.Futures.Http
{
public static class HttpAuthenticati... |
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... |
using System.Collections.Generic;
using System.Linq;
namespace Atc.Rest.Options
{
/// <summary>
/// Copy and fill out the AzureAd section into the project User Secrets.
/// </summary>
/// <code>
/// {
/// "Authorization": {
/// /*
/// This will be used to set the Authority o... |
using Carmotub.Model;
using Carmotub.ViewModel;
using Carmotub.Views.Controls;
using System;
using System.Collections.Generic;
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... |
using gView.Framework.Data;
using gView.Framework.Geometry;
using System;
using System.Collections.Generic;
namespace gView.Framework.Network.Build
{
public class NetworkNodes
{
private GridIndex<List<NetworkNode>> _grid;
private int _nodeIdSequence = 0;
public NetworkNodes(IEnvelope ... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
public class ConfigImportProcessor : AssetPostprocessor
{
public static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
... |
using DamianTourBackend.Application;
using DamianTourBackend.Application.UpdateRoute;
using DamianTourBackend.Core.Entities;
using DamianTourBackend.Core.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using Sys... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FitApp.Services
{
public class WorkoutService
{
public string W1 { get; set; }
public string T1 { get; set; }
}
}
|
using FeriaVirtual.Domain.SeedWork.Events;
using System.Collections.Generic;
namespace FeriaVirtual.Domain.Models.Users.Events
{
public class UserWasDisabled
: DomainEventBase
{
public UserWasDisabled()
: base() { }
public UserWasDisabled
(DomainEventId eventI... |
namespace Register.Model.DatabaseModel
{
public class District : BaseModel
{
public string Name { get; set; }
public virtual City City { get; set; }
}
} |
using Autofac;
using cyrka.api.common._modules;
using cyrka.api.domain._modules;
using cyrka.api.infra._modules;
using cyrka.api.web._modules;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Micr... |
using DXF.Utils;
namespace DXF.Header
{
/// <summary>
/// Define la version del archivo DXF.
/// </summary>
public enum DxfVersion
{
[StringValue("AC1009")]AutoCad12,
[StringValue("AC1012")]AutoCad13,
[StringValue("AC1014")]AutoCad14,
[StringValue("AC1015"... |
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
namespace HTB.v2.intranetx.progress.atlas
{
partial class SyncExec : System.Web.UI.Page
{
public static decimal GetSalesByEmployeeInternal(int id, i... |
using FailureSimulator.Core.Graph;
namespace FailureSimulator.Core.Simulator
{
/// <summary>
/// Элемент, который может выходить из строя и восстанавливаться.
/// Используется при расчете надежности
/// </summary>
public class DestroyableElement
{
/// <summary>
/// Интенсивност... |
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Internal
{
public class Logger : ILogger
{
public Logger()
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.I... |
using System;
using System.Collections.Generic;
using Kattis.IO;
public class Program
{
const int MAX_TILES = 10000;
static public bool[] fallen;
static public Dictionary<int, List<int>> adj;
static public void countFallen(int next){
if(!fallen[next]){
fallen[next] = true;
foreach(int i in adj[next]){
... |
#nullable enable
// ReSharper disable PossibleNullReferenceException
// ReSharper disable PossibleMultipleEnumeration
// ReSharper disable UnusedMember.Local
// ReSharper disable UnusedParameter.Local
// ReSharper disable AssignNullToNotNullAttribute
namespace Serilog.Tests;
/// <summary>
/// The goal of these tests... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoArchivos
{
class IndiceSecundario_SubBloque
{
//
private long dirsubbloque;
//
private long dirInfo;
//
public IndiceSecundario... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.