text stringlengths 13 6.01M |
|---|
using System;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.CrossOriginPolicies.OpenerPolicy
{
/// <summary>
/// Retains references to newly opened windows or tabs which either don't set COOP or which opt out
/// of isolation by setting a COOP of unsafe-none.
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
public GameObject player;
public GameObject completeLevelUI;
bool gameHasEnded;
int restartDelay = 3;
public GameObject explode;
public ... |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using ZKCloud.Schedules;
namespace ZKCloud.Test.Schedules
{
public class TaskQueueModuleTest
{
[Fact]
public void GetTaskQueueModuleId_Test()
{
var result = TaskQueueModule.GetTaskQueueModuleIds(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ToggleMessage : MonoBehaviour
{
public void toggleTextBox() //toggle pause message visibility
{
if (gameObject.activeSelf == true)
gameObject.SetActive(false);
else
... |
using System;
using System.IO;
namespace CursoCsharp.Api
{
class UsandoPath
{
public static void Executar()
{
var arquivo = @"~/exemplo_path_arquivo.txt".ParseHome();
var pasta = @"~/exemplo_path_pasta".ParseHome();
if (!File.Exists(arquivo))
{
... |
using CYT.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace CYT.Web.DataContext
{
public class CytDb : DbContext
{
public DbSet<Ingredient> Ingredients { get; set; }
public DbSet<Recipe> Recipes { get; set; }
... |
namespace Assets.Scripts.Models.ResourceObjects
{
public class Leather : ResourceObject
{
public Leather()
{
LocalizationName = "leather";
IconName = "leather_icon";
CanBuy = true;
ShopPrice = 7;
}
}
}
|
using FluentValidation;
using SnowBLL.Enums;
using SnowBLL.Models.Routes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SnowBLL.Validators.Routes
{
public class RouteCreateModelValidator : AbstractValidator<RouteCreateModel>
{
public RouteCr... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace ObservableTune
{
public static class AppearStrategyFactory
{
public static IAppearStrategy Create(string strategy){
IAppearStrategy strat = (IAppearStrategy)Assembly.GetAssembly(typeof(IA... |
using System;
using System.Collections.Generic;
using Jypeli;
using Jypeli.Controls;
using Jypeli.Widgets;
public class Koripallo : PhysicsGame
{
#region Muuttujat
int korinSuunta;
bool saakoHeittaa;
bool onHeittamassa = false;
/// <summary>
/// Tähän lisätään viimeisimmät hiiren/kosketuspane... |
using System;
class ExchangeVarValues
{
static void Main()
{
Console.Title = "Exchange Variable Values";
int a = 5;
int b = 10;
Console.WriteLine("a={0}\nb={1}", a, b);
int temp;
temp = a;
a = b;
b = temp;
Console.WriteLine("new a={0}\nne... |
using System;
using System.IO;
using CommandLine;
using System.Linq;
using System.Diagnostics;
using SixLabors.ImageSharp;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Formats.Jpeg;
usi... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace DelftTools.Functions.Tuples
{
//public interface ITuple : IComparable
//{
// IList<Type> ComponentTypes { get; }
// IList Components { get; set; }
//}
//public interface ITuple<T1> : ITuple {}
//publi... |
using Newtonsoft.Json.Linq;
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace MusicAPI.APIs
{
public class CoverArtClient : ICoverArtClient
{
private readonly IApiHelper _ApiHelper;
public CoverArtClient(IApiHelper apiHelper)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lottery.Repository.Entities;
using Lottery.Repository.Interfaces;
namespace Lottery.Repository.Context
{
public class BigLotterySequenceContext : ContextBase<BigLotteryRecordSequence>
{
... |
using System.Collections.Generic;
using Proxynet.Models;
using UsersLib.Entity;
namespace Proxynet.Service.Converters
{
public interface IGroupDtoConverter
{
GroupDto Convert( Group userGroup );
List<GroupDto> Convert( List<Group> groups );
Group Convert( GroupDto group );
Lis... |
namespace MySurveys.Web.Controllers.Base
{
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using AutoMapper;
using Infrastructure.Caching;
using Infrastructure.Mapping;
using Models;
using Ninject;
using Services.Contracts;
... |
namespace WinAppDriver.Modern
{
internal interface IStoreApp : IApplication
{
string PackageName { get; }
string AppUserModelId { get; }
string PackageFamilyName { get; }
string PackageFullName { get; }
string PackageFolderDir { get; }
}
} |
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.TMS;
using com.Sconit.Web.Models;
using com.Sconit.Entity.TMS;
using com.Sconit.Entity.MD;
namespace com.Sconit.Web.Contr... |
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 gsbRapports2019
{
public partial class FormListeFamille : Form
{
... |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class PanelClick : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void OpenWebsite()
{
Application.OpenURL("http://www.qgs... |
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
namespace Hatchet.Tests.HatchetConvertTests.DeserializeTests
{
[TestFixture]
public class DictionaryTests
{
private class DemoClass
{
public Dictionary<string, string> Dict;
public Dem... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace MultiLingualPlayings
{
public class Program
{
static void Main(string[] args)
{
... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Text;
using TraceWizard.Entities;
using TraceWizard.Logging;
using TraceWizard.Logging.Adapters;
using TraceWizard.Entities.Adapters;
using TraceWizard.Environment;
namespace TraceWizard.Entities.Adapters.Arff {
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Machine.Learning
{
static class NeuralNetworkFactory
{
public static NeuralNetwork GenrateNewNetwork(int[] _layout)
{
var result = new NeuralNetwork();
result.Initialize... |
using UnityEngine;
using System.Collections;
[RequireComponent (typeof (UITexture) )]
public class AllyIndicator : MonoBehaviour {
#pragma warning disable 0649
[SerializeField]
private UITexture texture;
[SerializeField]
private Texture box;
[SerializeField]
private Texture arrow;
#pragma warning restore 0... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using trade.client.Marketdata;
using trade.client.Trade;
namespace trade.client
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Pathoschild.Stardew.LookupAnything.Framework.Constants;
using Pathoschild.Stardew.LookupAnything.Framework.DebugFields;
using Pathoschild.Stardew.LookupAnything.Framework.Field... |
using Abp.Application.Services;
using dgPower.KMS.MultiTenancy.Dto;
namespace dgPower.KMS.MultiTenancy
{
public interface ITenantAppService : IAsyncCrudAppService<TenantDto, int, PagedTenantResultRequestDto, CreateTenantDto, TenantDto>
{
}
}
|
using System.Web.Optimization;
namespace ParrisConnection
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bu... |
namespace iSukces.Code
{
public enum OverridingType
{
None,
Virtual,
Abstract,
Override
}
} |
using System.Collections.Generic;
using Assets.Scripts.Models.ResourceObjects;
using Assets.Scripts.Models.ResourceObjects.CraftingResources;
using System;
namespace Assets.Scripts.Models.Weapons
{
public class Bow : Weapon
{
public Bow()
{
WeaponType = WeaponType.Fire;
... |
using System.Threading.Tasks;
using ZendeskSell.LineItems;
using ZendeskSell.Models;
namespace ZendeskSell.Orders
{
public interface IOrderActions
{
Task<ZendeskSellObjectResponse<OrderResponse>> GetByDealIDAsync(int dealID);
Task<ZendeskSellObjectResponse<OrderResponse>> CreateAsync(OrderReq... |
// PieceworkWorker.cs
// Title: IncInc Payroll (Piecework)
// Last Modified: September 26, 2021
// Written By: Devanshi Patel
// Student ID: 100805084
// Adapted from PieceworkWorker by Kyle Chapman, September 2019
//
// This is a class representing individual worker objects. Each stores
// their own na... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Dapper;
using Z.BulkOperations;
using Microsoft.SqlServer.Management.Smo;
using Microsoft.SqlServer.Management.Smo.SqlEnum;
namespace Classes
{
[System.Run... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnableShadows : MonoBehaviour {
private SpriteRenderer sr;
//GetComponent<Renderer>().shadowCastingMode = UnityEngine.Rendering.ShadowCastingMode.On;
//GetComponent<Renderer>().receiveShadows = true;
private voi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace RevStack.IO
{
public class IOFileRespository : IIORepository
{
private readonly IOEnumeratorContext _context;
public IOFileResp... |
//Copyright © 2013 Dagorn Julien (julien.dagorn@gmail.com)
//This work is free. You can redistribute it and/or modify it under the
//terms of the Do What The Fuck You Want To Public License, Version 2,
//as published by Sam Hocevar. See the COPYING file for more details.
using System;
using System.Collect... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
namespace ControlData
{
public class EventHubReadingSource
{
public EventHubReadingSource(Action<IReading> reading)
{
this._reading = rea... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace 成绩管理系统
{
public partial class w5 : UserControl
{
private Student s;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Core.DAL;
using Core.BIZ;
using System.Globalization;
using PagedList;
namespace WebForm.Areas.Admin.Controllers
{
public class ThanhToanNXBController : BaseController
{
#region Private Pr... |
/*
* Additional task if enough time
* Would have to have listener for when an enemy dies
* which would pass enemy ID
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//This is a base class for objectives that make the player fight. ex. kill 5 enemies
//Implement later when we have scr... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Test.API.Data
{
public class GradeConfiguration : IEntityTypeConfiguration<Grade>
{
public void Configu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Senparc.Mvc.Models.RequestModel
{
public class SessionInfo
{
public string UserName { get; set; }
public string ClientKey { get; set; }
public DateTime ExpireTime { get; set; }
}
}
|
using MySql.Data.MySqlClient;
using PROYECTOFINAL.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PROYECTOFINAL.Controllers
{
public class ProductosController : Controller
{
// GET: Productos
public... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
/// <summary>
/// Receives data relevant to the UI and displays it
/// Lives remaining
/// Time?
/// Score?
/// </summary>
public class UIManager : MonoBehaviour
{
//Singleton
public static UIManager UM;
//R... |
using System;
using System.Collections.Generic;
using System.Linq;
using ContentPatcher.Framework.Conditions;
using ContentPatcher.Framework.Constants;
using Pathoschild.Stardew.Common.Utilities;
using StardewValley;
namespace ContentPatcher.Framework.Tokens.ValueProviders
{
/// <summary>A value provider for the p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebAPI.Models;
namespace WebAPI.Interfaces
{
public class IAddress
{
public int address_id;
public int? customer_id;
public int? street_number;
public string street_name;
public s... |
namespace Tomelt.Users.Models {
public static class MessageTypes {
public const string Moderation = "TOMELT_USERS_MODERATION";
public const string Validation = "TOMELT_USERS_VALIDATION";
public const string LostPassword = "TOMELT_USERS_RESETPASSWORD";
}
} |
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 System.Reflection;
namespace Kingdee.CAPP.Common.DataGridViewHelp
{
/// <summary>
/// 类型说明:单元格样式属性设置
/// 作者:jason.ta... |
using PizzaPlace.Models;
using PizzaPlace.Repositories.Interfaces;
using PizzaPlace.Services.Interfaces;
using System;
using System.Collections.Generic;
namespace PizzaPlace.Services
{
public class OfferService : IOfferService
{
private readonly IOfferRepository _offerRepository;
public Offer... |
using System.ComponentModel.DataAnnotations;
namespace Pobs.Web.Models.Account
{
public class VerifyEmailFormModel
{
public int UserId { get; set; }
[Required]
public string EmailVerificationToken { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Minion_Target : MonoBehaviour {
public GameObject target;
// Update is called once per frame
void Update () {
RaycastHit hit;
if (Physics.Raycast(target.transform.position, Vector3.down, out hit, ... |
namespace OpenApiLib.Json.Models
{
public class CreateDemoTraderAccountReqJson : AbstractJson
{
public long CountryId { get; set; }
public string PhoneNumber { get; set; }
public int Leverage { get; set; }
public long Balance { get; set; }
public string DepositCurrency { get; set; }
public string Pas... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TaskPerson
{
class Person
{
//Fields
public string Name;
private int _age;
//Constructor
public Person()
{
Name = "unknown";
_age = 0;
}
public P... |
using UnityEngine;
using System.Collections;
/// <summary>
/// This class is responsible for the dashing movement and setting it off if the object hits a collider.
/// Object must have a rigidbody2d to work.
/// </summary>
public class Dash : MonoBehaviour {
//Variables that can be edited in the editor.
[Seri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Compent.Shared.Search.Elasticsearch.Providers;
using Nest;
namespace Uintra.Core.Search.Providers
{
public class UintraFiltersProvider : FiltersProvider
{
public override AnalysisDescriptor Apply(AnalysisDescrip... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TRPO_labe_6.Models;
namespace TRPO_labe_6_console
{
public class ProductBuilder
{
public Product Build()
{
string name = GetName();
int price = GetP... |
namespace Singleton.Classes
{
public static class Singleton
{
private static Test _instance;
public static Test GetInstance()
{
if (_instance != null) return _instance;
_instance = new Test();
return _instance;
}
}
} |
using Microsoft.EntityFrameworkCore;
using userService.Model;
namespace userService.DBContext
{
public class UserContext : DbContext
{
public UserContext(DbContextOptions<UserContext> options) : base(options)
{
}
public DbSet<User> Users {get; set;}
}
} |
using EventLite.Streams.StreamManager;
using EventLite.Streams.StreamManager.Implementation;
using Microsoft.Extensions.DependencyInjection;
namespace EventLite
{
public static class EventSourcingConfiguration
{
public static IServiceCollection RegisterEventSourcing(this IServiceCollection ser... |
namespace ApartmentApps.Api.Modules
{
public class DashboardTitleViewModel : ComponentViewModel
{
public string Subtitle { get; set; }
public DashboardTitleViewModel(string title, string subTitle, decimal row)
{
Stretch = "col-md-12";
Title = title;
Su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using CreamBell_DMS_WebApps.App_Code;
using System.IO;
using System.Drawing;
using Microsoft.Reporting.WebForms;
using Elmah;
names... |
using Autofac;
using Autofac.Integration.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Vic.SportsStore.Domain.Abstract;
using Vic.SportsStore.Domain.Concrete;
using Vic.SportsStore.Domain.Entities;
using Vic.SportsStore.WebApp.Infrastructure.Abstr... |
//using System;
//using System.Collections.Generic;
//using System.IO;
//using System.Linq;
//using System.Net;
//using System.Security.Cryptography;
//using System.Text;
//using System.Web;
//using Booking.Privat;
//using Newtonsoft.Json;
//using NLog;
//namespace Booking.Models
//{
// public class LiqPayDat... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Entities.CustomValidations
{
class ValidateDateOfBirth : ValidationAttribute
{
public ValidateDateOfBirth(): base(() => "Your age must be greater than 18")
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace GenericCountMethod
{
public class StartUp
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
IList<Box<double>> boxes = new List<Box<double>>();
for (int i = 0; ... |
using System.Collections.Generic;
using System.Linq;
using SimpleRESTChat.DAL.Context;
using SimpleRESTChat.DAL.Repository;
using SimpleRESTChat.DAL.Repository.Interfaces;
using SimpleRESTChat.Entities;
using SimpleRESTChat.Entities.Enumeration;
using SimpleRESTChat.Services.Enumerations;
using SimpleRESTChat.Services... |
using System;
using System.Collections.Generic;
using System.Data.Services;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sparda.Contracts
{
public interface IRealtimeNotifier
{
void EntityChanged<T>(IService service, string editLink, UpdateOperations operations);
... |
using Microsoft.AspNetCore.Http;
using Senparc.Core.Enums;
using Senparc.Core.Models;
using Senparc.Core.Models.DataBaseModel;
using Senparc.Log;
using Senparc.Respository;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Senparc.Service
{
public class Acti... |
using UnityEngine;
public class MPDOrangeForm : SecondaryForm {
MainCharacterDriver driver;
SphereCollider col;
public void Start() {
timeActiveOrig = 4f;
col = gameObject.GetComponent<SphereCollider> ();
}
public override void Fire() {
}
public override void Activate() {
isActive = true;
timeActi... |
using System;
using System.Collections.Generic;
namespace SerializationDemo
{
public class Service
{
private Type _serviceType = null;
public string Name { get; set; }
public List<Operation> Operations { get; } = new List<Operation>();
public bool Match(IMessage rq)
... |
using AlgorithmProblems.Graphs.GraphHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Graphs
{
class AllPathsGivenStartEndVertex
{
/// <summary>
/// This stores the current path during the DFS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTB.Database.Views
{
public class qryUserAktionen : tblUserAktionRel
{
#region Property Declaration tblAktenIntActionType
private string _aktIntActionTypeCaption;
public string AktIntActionT... |
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 ControllerPage
{
public partial class FormOptions : Form
{
public FormOptions(... |
/*
* @author shobhit
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class changeScene : MonoBehaviour {
// to change scene
public void changeMenuScene(string scene)
{
Application.LoadLevel(scene);
}
}
|
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sprint2_Spiderman;
namespace UnitTestSpiderman
{
/// <summary>
/// Summary description for UnitTestSpiderPeople
/// </summary>
[TestClass]
public class UnitTestSpiderPeople
... |
using CosmosDbRepository.Types;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Net;
using Syste... |
namespace com.Sconit.Web.Controllers.EDI
{
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using com.Sconit.Entity.ORD;
using com.Sconit.Service;
using com.Sconit.Web.Models;
using com.Sconit.Web.Util;
using Telerik.Web.Mvc;
using com.Sconit.Entity.SCM;
... |
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
using Microsoft.SharePoint.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
using... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using needle.EditorPatching;
using UnityEditor;
using UnityEngine;
namespace Needle.Demystify
{
public class Patch_Console : EditorPatchProvider
{
public override string DisplayName { get; }
... |
using Alabo.App.Asset.Transfers.Domain.Services;
using Alabo.App.Asset.Transfers.Dtos;
using Alabo.Extensions;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Alabo.Framework.Core.WebUis.Models.Lists;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnota... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Security.Cryptography;
namespace CRL.Business.OnlinePay.Company.Lianlian
{
/**
* 32位MD5摘要算法
* @author shmily
* @date 2012-6-28 下午02:34:45
*/
public sealed class Md5Algorithm {
public Md5Algorithm(){
}
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using WorkScheduleManagement.Data.Entities;
using WorkScheduleManagement.Data.Enums;
namespace WorkScheduleManagement.Persistence.DbInitialization
{
public static class RequestStatusesInitializer
{
pub... |
using System;
namespace Autofac.Extras.AttributeMetadata.Test.ScenarioTypes.WeakTypedMetadataAttributeScenario
{
public interface IWeakTypedScenario
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour {
[SerializeField]
protected float visionRange = 10;
[SerializeField]
protected float maxActionDelay = 1.0f; // The time it takes for the enemy to take a new action [0, maxAttackDelay]
... |
using System;
using System.Collections.Generic;
#nullable disable
namespace Data.Entities
{
public partial class InventoryItem
{
public int LocationId { get; set; }
public int ProductId { get; set; }
public int? Quantity { get; set; }
public virtual Location Loca... |
namespace Properties.Core.Interfaces
{
public interface IPropertyAllocationAndAdvertisingFacade : IPropertyServiceFacade
{
bool AllocateProperty(string propertyReference);
}
} |
using StardewValley;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WarpToFriends.Helpers
{
public static class PlayerHelper
{
public static List<Farmer> GetAllCreatedFarmers()
{
return Game1.getAllFarmers().Where(f => !string.Is... |
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 System.Net;
using System.Net.Cache;
using System.IO;
using System.Threading;
namespace CS_HttpWebResponse_chunked_thread_Timer_s... |
using System;
using System.Text;
namespace irrsa.utils
{
public static class StringUtils
{
public static string Shorten(this string val, int min, int max = 0)
{
if(string.IsNullOrEmpty(val) || val.Length <= Math.Max(min, max))
return val;
var len = 0;
var sb = new StringBuilder();
foreach(var wo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
//librerias
using PdfSharp.Pdf;
using PdfSharp.Drawing;
using System.Threading;
using System.Diagnostics;
using iTextSharp.text;
using iTextSharp.text.pdf;
using iTextSharp.text.html;
using System.IO;
using iTextSharp;
using iTextS... |
using System;
namespace FailureSimulator.Core.Simulator
{
/// <summary>
/// Задача на восстановление
/// </summary>
public class RepairTask
{
/// <summary>
/// Отказавший элемент
/// </summary>
public DestroyableElement Element { get; set; }
/// <summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MIDIDotNet
{
public interface IWin32MIDI
{
uint midiOutGetNumDevs();
uint midiOutGetDevCaps(IntPtr uDeviceID, out InvokeLayer.MIDIOUTCAPS lpMidiOutCaps);
uint midiOutOpe... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenTelemetry.FrontMVC.Models
{
public class AppDbConext : DbContext
{
public AppDbConext(DbContextOptions options) : base(options)
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FastReport;
using KartLib;
using KartLib.Reports;
using KartObjects;
namespace KartSystem
{
public class PrintDiscountCardLabelsReportViewer : BaseReportViewer
{
pub... |
using System;
namespace SDU.ObsApi.Client.Exceptions
{
public class ObsApiException : Exception
{
public ObsApiException(string message)
: base(message)
{
}
public ObsApiException(string message, Exception innerException)
: base(message, innerException)... |
using System;
using System.Linq;
using System.Text;
namespace DistributedCollections
{
public struct MessageId : IComparable<MessageId>, IEquatable<MessageId>
{
public MessageId(long timestamp, long sequenceNumber)
{
Timestamp = timestamp;
SequenceNumber = seq... |
using ScriptableObjectFramework.Events.UnityEvents;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace ScriptableObjectFramework.Systems.SceneManagement
{
[CreateAssetMenu(fileName = "NewSceneManager", menuName = "Scriptable Objects/Systems/... |
using ClassLibraryAandelen.basis;
using ClassLibraryAandelen.classes;
using System;
using System.Collections.ObjectModel;
namespace WpfAandelenBeheer.viewmodels
{
public class PortefeuillesWindowViewModel : BaseUserControl
{
#region fields
AandelenRepo repo;
//Stelt de text van de text... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.