text stringlengths 13 6.01M |
|---|
using Microsoft.EntityFrameworkCore;
using Repository.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ArticlesProject.Repository.Interfaces;
using ArticlesProject.DBEntities;
namespace ArticlesProject.Repository.Implementations
{
public class ProductRepository :... |
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 CIS016_2.Week1
{
public partial class ScrollbarsForm : Form
{
pu... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Data;
using System.Xml;
namespace BridgeProject
{
static public class DB
{
static public System.Data.SqlServerCe.SqlCeConnection sqlConnection = null;
static public String connectionStri... |
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 InventoryManager.Data.Models
{
public class Clothes
{
[Key]
public int ... |
using Euler_Logic.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem211 : ProblemBase {
private PrimeSieve _primes;
private Dictionary<ulong, Dictionary<int, ulong>> _pow... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using JustRipeFarm.ClassEntity;
namespace JustRipeFarm
{
public class JobOp
{
public static int GetJobCountFor(bool isToday, string tableName)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameActionManager : MonoBehaviour {
// Singleton //
public static GameActionManager instance { get; protected set;}
void Awake () {
if (instance == null) {
instance = this;
} else if (instance != this) {
Des... |
using System.IO;
using SharpDox.Plugins.Chm.Templates;
using SharpDox.Plugins.Chm.Templates.Sites;
using SharpDox.Plugins.Chm.Templates.Nav;
using System.Collections.Generic;
using System.Linq;
using SharpDox.UML;
using SharpDox.Model.Documentation.Article;
namespace SharpDox.Plugins.Chm.Steps
{
internal class Te... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebTest.Code
{
/// <summary>
/// 帐户管理
/// </summary>
public class AccountManage : CRL.Account.AccountBusiness<AccountManage>
{
public static AccountManage Instance
{
get { ret... |
namespace CarDealer.Data.Interfaces
{
using CarDealer.Models;
public interface ISaleRepository : IRepository<Sale>
{
}
} |
using System;
using System.Threading.Tasks;
namespace WorldTimeAPI
{
internal static class SyncHelper
{
public static void TryInvokeMethodSync(Func<Task> method)
{
var task = Task.Run(async () => await method().ConfigureAwait(false));
task.Wait();
}
pub... |
/***********************************************
*
* This class should only contain instructions for using weapons
* and such by the player
*
* The class is functions is meant to be called by another class,
* This class will act of the assumption that there is no restriction
* on WHEN the player can attack
*... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual
{
/// <summary>
/// Clase que representa la entidad consulta
/// </s... |
using Logger.Interfaces;
using Logger.Messages;
using System;
using System.Collections.Generic;
using System.Text;
namespace Logger.Layouts
{
public class XMLLayout : ILayout
{
//<log>
//<date>3/31/2015 5:33:07 PM</date>
//<level>ERROR</level>
//<message>Error parsing request</... |
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 System.Data.SqlClient;
namespace WindowsFormsApplication1
{
public partial class toptancı : Fo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Text.RegularExpressions;
namespace WebApplication2
{
public partial class WebForm2 : System.Web.UI.Page
{
... |
using Pe.Stracon.SGC.Infraestructura.QueryModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual
{
/// <summary>
/// Representa el objeto Logic de Flujo Aprobación Tipo de C... |
using Entitas;
[Game]
public sealed class MatchedComponent : IComponent
{
} |
using System;
using Entities;
using Newtonsoft.Json;
namespace Repository.DTOs
{
public class UserDTO
{
public int Id { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string Type { get; set; }
public string Name { get; set; }
... |
using System.Collections.Generic;
using HotelBooking.Models;
namespace HotelBooking.ViewModels {
public class RoomViewModel {
public Room Room { get; set; }
public IEnumerable<Reviews> Reviews { get; set; }
public int FullStars { get; set; }
public int EmptyStars { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using Docller.Common;
using Docller.Core.Common;
using Docller.Core.Models;
using Docller.Core.Services;
using StructureMap;
namespace Docller.Controllers
{... |
/* Daniel Mitchel-Slentz
* ReactiveTarget.cs
* This is attached to babmbi.
* the method, ReacToHit gets called by Chutem
*/
using UnityEngine;
using System.Collections;
public class ReactiveTarget : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called onc... |
using System;
public static class Hamming
{
public static int Distance(string s1, string s2)
{
if (s1.Length != s2.Length) throw new ArgumentException();
int hammingDistance = 0;
for (int i = 0; i < s1.Length; i++)
{
if (s1[i] != s2[i]) hammingDistance++;
}... |
/******************************************************************************\
* Copyright (C) Leap Motion, Inc. 2011-2014. *
* Leap Motion proprietary. Licensed under Apache 2.0 *
* Available at http://www.apache.org/licenses/LICENSE-2.0.html ... |
using FunctionalProgramming.Monad.Outlaws;
using System;
namespace FunctionalProgramming.Monad.Transformer
{
public class IoStateTry<TState, TValue>
{
public readonly Io<State<TState, Try<TValue>>> Out;
public IoStateTry(Io<State<TState, Try<TValue>>> io)
{
Out = io;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DemoMVCApplication.Models
{
public class WrapperModel
{
public IEnumerable<Movie> Movies;
public Movie movie;
}
} |
using System;
namespace ObjemStudny
{
class Program
{
static void Main(string[] args)
{
double r;
double h;
Console.WriteLine("Zadej poloměr studny:");
r = ReadLineToDouble();
Console.WriteLine("Zadej hloubku studny:");
h... |
using EddiEddnResponder.Sender;
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using Utilities;
namespace EddiEddnResponder.Schemas
{
[UsedImplicitly]
public class FSSDiscoveryScanSchema : ISchema
{
public List<string> edTypes => new List<string> { "FSSDiscoveryScan" ... |
using Airelax.Domain.Houses.Defines;
namespace Airelax.Application.Houses.Dtos.Request
{
public class UpdateHouseTypeInput
{
public HouseType HouseType { get; set; }
}
} |
using Alabo.Runtime;
namespace Alabo.Tenants.Extensions {
public static class ConnectionStringExtension {
/// <summary>
/// Get master connection string
/// </summary>
/// <param name="connectionString"></param>
/// <returns></returns>
public static string Get... |
using ClientFramework.Request;
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace ClientFramework
{
class Program
{
static void Main(string[] args)
{
ClientManage clientManage = new ClientManage();
clientManage.OnInit();
... |
using Xamarin.Forms;
namespace AsNum.XFControls.Templates {
public partial class DefaultRadioButtonSelectedControlTemplate : ControlTemplate {
public DefaultRadioButtonSelectedControlTemplate() {
InitializeComponent();
}
}
}
|
namespace KartSystem.Common
{
public partial class SelectReportPrintForm : SelectDocumentPrintForm
{
public SelectReportPrintForm(long idDocType) : base(idDocType)
{
InitializeComponent();
IdDocType = idDocType;
}
public override void SaveSettings()
... |
#if NETSTANDARD2_0
using IHostApplicationLifetime = Microsoft.AspNetCore.Hosting.IApplicationLifetime;
#else
using Microsoft.Extensions.Hosting;
#endif
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Sentry;
using Sentry.AspNetCore;
using Sen... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Fields;
using FakeItEasy;
using Newtonsoft.Json.Linq;
using Xunit;
namespace DFC.ServiceTaxonomy.UnitTests.GraphSync.GraphSyncers.Fields.DateTimeFieldGraphSyncerTests
{
public class DateTimeFieldGraphSyncerValidateSyncComponentTestsBas... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RXCO.AzureDevOps.REST.Base
{
public abstract class BaseRestAPIInfo
{
}
}
|
// <copyright file="FeatureRecord.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
namespace WaterTrans.GlyphLoader.OpenType
{
/// <summary>
/// The relationship of scripts, language systems, features, and lookups for substitution and positioning tables.
/// </summary>
public class Featu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Views.InputMethods;
namespace CalCal
{
[Activity(Label = "Ile kalori potrzebujesz?")]
... |
using System;
using System.Data;
using System.Text.RegularExpressions;
#if LINUX
using Mono.Data.Sqlite;
#else
using System.Data.SQLite;
#endif
using System.Collections.Generic;
namespace Server
{
public enum LayerType {
Ground=0,
Blocking=1,
Object=2
}
public struct Coord {
public int X;
public int Y;
... |
namespace PatientWebApp.Auth
{
public static class UserRoles
{
public const string Admin = "Admin";
public const string Patient = "Patient";
public const string Doctor = "Doctor";
public const string Secretary = "Secretary";
public const string Manager = "Manager";
}... |
using FeriaVirtual.Domain.SeedWork.Commands;
namespace FeriaVirtual.Application.Users.Commands.ChangeStatus
{
public class ChangeUserStatusCommand
: Command
{
public System.Guid UserId { get; protected set; }
public int IsActive { get; protected set; }
public ChangeUserStatu... |
using UnityEngine;
using System.Collections;
public class DoctorBehaviour : MonoBehaviour {
public AudioSource [] audioSources;
public bool audioOneTriggered = false;
public bool audioTwoTriggered = false;
public bool faceWaypoint = false;
public Transform[] waypoints;
public int currentWaypoint = 0;
publi... |
using UnityEngine;
public class SEManagerGame :MonoBehaviour
{
public AudioClip HomeButton1;
public AudioClip Button1;
public AudioClip CountDown;
public AudioClip Go;
public GameObject SEXmarkButton;
static public int SEXmark ;
AudioSource audioSource;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TDC_Union.ModelsPush
{
public class PLoginModel
{
public PLoginModel()
{
FName = "Login";
}
public string FName { get; set; }
public... |
using System;
namespace Nusstudios.Models
{
public class ArticleViewModel
{
public ArticleViewModel(string baseurl)
{
BaseURL = baseurl;
BlogSelected = false;
ReferenceSelected = true;
}
public ArticleViewModel(string title, string baseurl, b... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
/// <summary>
/// Get current mute status.
/// </summary>
[LibVlcFunction("libvlc_audio_get_mute")]
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate int IsMute(IntPtr mediaP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography.X509Certificates;
namespace ValidationExtensions.Tests.Main
{
public class BaseTest
{
protected const String certificateNameEC_ACC = @"..\..\support\ec-acc.cer";
protected c... |
using MailKit.Net.Smtp;
using SuiviCompresseur.Notification.Data.Context;
using SuiviCompresseur.Notification.Domain.Interfaces;
using SuiviCompresseur.Notification.Domain.Models;
using SuiviCompresseur.Notification.Domain.Services;
using MimeKit;
using MimeKit.Utils;
using System;
using System.Collections.Generic;
us... |
using jaytwo.Common.Collections;
using jaytwo.Common.Appendix;
using jaytwo.Common.System;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
namespace jaytwo.Common.Http
{
pub... |
namespace BlazorShared.Models.Client
{
public class DeleteClientRequest : BaseRequest
{
public int Id { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
namespace com.zhifez.seagj {
[ System.Serializable ]
public class MachineLink {
public TransmissionMachine tm;
public SateliteDish sat;
public MachineLink ( TransmissionMachine tm, SateliteDish sat ) {
this.t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp7
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Please enter a number.");
string stringinput = Console.ReadLi... |
using Azure;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
using Azure.Storage.Blobs.Specialized;
using BDTest.Maps;
using BDTest.NetCore.Razor.ReportMiddleware.Interfaces;
using BDTest.NetCore.Razor.ReportMiddleware.Models;
using Newtonsoft.Json;
namespace BDTest.ReportGenerator.RazorServer;
public cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum ObjectiveType
{
None,
Destroy,
PositionChild,
Isolate,
Activate
}
[System.Serializable]
public class Objective {
public ObjectiveType type;
public Interactable[] relatedObjects;
public GameObje... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class StateDisableMode : State
{
public StateDisableMode(StateMachine owner) : base(owner)
{
this.owner = owner;
}
public override List<Object> myItems { get { return null; } }
publi... |
using UnityEngine;
using System.Collections;
using System;
public class PlatformMove: MonoBehaviour
{
[SerializeField] private Transform[] waypoints;
[SerializeField] private float speed;
[SerializeField] private bool loop;
[SerializeField] private int timesRepeat;
[SerializeField] priva... |
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT
#if !UNIUM_DISABLE && ( DEVELOPMENT_BUILD || UNITY_EDITOR || UNIUM_ENABLE )
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
namespace gw.proto.http
{
/////////////////////////////////////////... |
using System;
using System.Linq;
using System.Windows.Forms;
using System.Collections.Generic;
using com.Sconit.SmartDevice.SmartDeviceRef;
using System.Web.Services.Protocols;
namespace com.Sconit.SmartDevice
{
public partial class UCPurchaseReturn : UCBase
{
//public event MainForm.ModuleSelectHandl... |
// <copyright file="CharString.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using WaterTrans.GlyphLoader.Geometry;
namespace WaterTrans.GlyphLoader.Internal.OpenType.CFF
{
/// <summary>
/// The Type 2 Charstring Format.
... |
using System;
using System.Collections.Generic;
using ApartmentApps.Api.ViewModels;
using ApartmentApps.Data;
namespace ApartmentApps.Api.BindingModels
{
public class MaintenanceCheckinBindingModel
{
public string StatusId { get; set; }
public DateTime Date { get; set; }
public string C... |
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.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System.Collections.Generic;
using System.Linq;
using Data.Infrastructure;
using Model.Models;
using System;
using Model;
using Data.Models;
using ProjLib.ViewModels;
namespace Service
{
public interface IRolesControllerActionService : IDisposable
{
RolesControllerAction Create(RolesControllerAct... |
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Objects.Characters.Enemies
{
[System.Serializable]
public sealed class PatrolHandler : MonoBehaviour
{
public struct PatrolInfo
{
private Vector2 m_destination;
private Vector2 m_moveDirection... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.CUST
{
[Serializable]
public partial class PubPrintOrder : EntityBase, IAuditable
{
public int Id { get; set; }
public string ExcelTemplate { get; set; }
public string Code { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LitJson;
using System.IO;
using System;
using UnityEngine.UI;
using System.Linq;
public class WebDataManager : MonoBehaviour {
public ScrollRect view; //UI list
public Button submitButton; //Submit button
public... |
namespace Nailhang.Blazor.States
{
public class ModulesIndexState
{
public bool ShowOnlyWithDescription { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
public class DialogData: ScriptableObject
{
[SerializeField]
[TextArea(3, 10)]
private string[] introduction;
[SerializeField]
private Answers[] answers;
public int currentAnswer = 0;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerTools : MonoBehaviour
{
PlayerInputAction controls;
public GameObject PlayerObject;
public GameObject HandLocation;
public GameObject PlayerCamera;
public GameObject CameraBody;
public Material I... |
using System;
using System.Data.SqlClient;
using System.Data;
using System.Windows.Forms;
namespace netflixuygulamasi
{
class Database
{
public static Database nesne;
private string girisYapanKullaniciMail = "";
private string izlenecekFilm = "";
private int[] secim = new int[4]... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace ProjetGl.Models
{
public class Collaboration
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identi... |
using Microsoft.SharePoint;
using BELCORP.GestorDocumental.BE.DDP;
using BELCORP.GestorDocumental.Common;
using BELCORP.GestorDocumental.DA.Comun;
using BELCORP.GestorDocumental.DA.Sharepoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Micr... |
using eTicaretProjesi.BL.Repository;
using eTicaretProjesi.ENT.Model;
using eTicaretProjesi.ENT.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using static eTicaretProjesi.ENT.ViewModel.KategorilerViewModel;
namespace eTicaretProjesi.Controllers
{... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace LighterApi
{
/// <summary>
/// 自定义中间件
/// </summary>
public class TokenValidateMiddleware
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ricky.Infrastructure.Core;
using Ricky.Infrastructure.Core.Generic;
using VnStyle.Services.Business.Models;
using VnStyle.Services.Data;
using VnStyle.Services.Data.Domain;
namespace VnStyle.Servic... |
using UnityEngine;
namespace UnityAtoms
{
/// <summary>
/// Utility methods for IMGUI.
/// </summary>
public static class IMGUIUtils
{
/// <summary>
/// Snip a `Rect` horizontally.
/// </summary>
/// <param name="rect">The rect.</param>
/// <param name="range... |
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OTAKURAO_wasm.Shared
{
public partial class Footer
{
public Footer()
{
}
}
}
|
using Microsoft.EntityFrameworkCore;
namespace PostgresIssue855
{
public class TestContext : DbContext
{
public DbSet<TestClass> MyClasses { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
base.OnConfiguring(optionsBuilder);
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text.RegularExpressions;
using FontAwesome5.Extensions;
namespace FontAwesome5.UWP.Example.ViewModels
{
public class MainViewModel : INotifyPropertyChanged
{
public MainViewModel()
{
... |
using System;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace VoxelSpace {
using IO;
public class MouseLook : IBinaryReadWritable {
public float Sensitivity = 5;
public Vector2 Look;
Point _screenCenter;
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebQLKhoaHoc;
using WebQLKhoaHoc.Models;
namespace WebQLKhoaHoc.Controllers
{
[CustomizeAuthorize(Roles = "1... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace MAS_Końcowy.Model
{
public class Waiter
{
[Key, ForeignKey("Employee")]
public int Id { get; set; }
private Emp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LAB2
{
public class CriteriaSearch
{
private int id;
private string criteria;
public string Criteria
{
get
{
re... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Window_Resurgence : MonoBehaviour
{
private GameObject _shop_Copy;
public Image OK;
void OnEnable()
{
MyKeys.Pause_Game = true;
//根据钻石数判定按钮状态
if (MyKeys.Diamond_Value > MyKeys.ResurgenceCost)
... |
using ConsumeCrude.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
using System.Web.Mvc;
namespace ConsumeCrude.Controllers.mvc
{
public class SampleController : Controller
{
public ActionResult Create()
{
return ... |
using Microsoft.EntityFrameworkCore;
using SnowDAL.DBModels;
using SnowDAL.Repositories.Concrete;
using SnowDAL.Repositories.Interfaces;
using System.Linq;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using SnowDAL.Searching;
using SnowDAL.Extensions;
using SnowDAL.Paging;
using System... |
using Newtonsoft.Json;
namespace GetXRAYTestExcecutionStatusFromJenkins.Entities
{
#region using
#endregion
public class BaseEntity
{
[JsonProperty("self")]
public string Self { get; set; }
}
}
|
namespace DelftTools.Utils
{
public static class IEditableObjectExtensions
{
public static void BeginEdit(this IEditableObject obj, string actionName)
{
obj.BeginEdit(new DefaultEditAction(actionName));
}
}
} |
using System;
namespace PyramidPatterns
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Pattern A");
int number = 6;
for (int i = 1; i <=number; i++)
{
for (int j = 1; j <= i; j++) Console.Write(j + " ");
... |
using Hayaa.DataAccess;
using Hayaa.UserAuth.Service.Core.Config;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.UserAuth.Service.Core.DataAccess
{
class UserSessionDal : CommonDal
{
private static String con = ConfigHelper.Instance.GetConnection(DefineTable.Databas... |
using GucciBazaar.Models;
using Microsoft.AspNet.Identity;
using System;
using System.Linq;
using System.Web.Mvc;
namespace GucciBazaar.Controllers
{
[Authorize(Roles = "User,Editor,Administrator")]
public class ReviewController : Controller
{
private readonly ApplicationDbContext db = new Applica... |
using System.Collections.Generic;
namespace DFC.ServiceTaxonomy.GraphVisualiser.Models.Owl
{
public partial class ClassAttribute
{
public string? Id { get; set; }
public string? Iri { get; set; }
public string? BaseIri { get; set; }
public string? Label { get; set; }
pu... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using RiverPuzzle.Factories;
using RiverPuzzle1.Models;
using System;
namespace RiverPuzzle1.JsonConverters
{
public class CharacterJsonConverter : JsonConverter
{
public override bool CanWrite => false;
public override bool CanConvert(Type o... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridToggleScript : MonoBehaviour {
// Update is called once per frame
void Update () {
if (Input.GetKeyDown("g"))
{
if (transform.position.z == 1) transform.Translate(new Vector3(0, 0, 2));
... |
using AutoFixture;
using AutoFixture.Kernel;
namespace Leprechaun.Tests.Test.SpecimenBuilders.StandardArchitectorValidator
{
public interface ITemplateMetadataSpec : ISpecimenBuilder
{
void Init(IFixture fixture);
}
} |
using Tomelt.UI.Resources;
namespace Tomelt.Widgets {
public class ResourceManifest : IResourceManifestProvider {
public void BuildManifests(ResourceManifestBuilder builder) {
builder.Add().DefineStyle("WidgetsAdmin").SetUrl("tomelt-widgets-admin.css").SetDependencies("~/Themes/TheAdmin/Styles... |
using System;
using com.Sconit.Entity;
namespace com.Sconit.Entity.SI.BAT
{
[Serializable]
public partial class JobParameter : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
public string JobCode { get; set; }
public string Key { get; set; }
public string Value { ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;
[CreateAssetMenu(menuName = "Data/SFXSet")]
public class SFXSet : SerializedScriptableObject
{
public Dictionary<string, List<AudioClip>> sources;
public void Play(string id, AudioSource source)
{
... |
using MyForum.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyForum.Services.Contracts
{
public interface ICommentsService
{
void CreateComment(string content, string threadId, string creatorId);
void Crea... |
using UnityEngine;
using System.Collections;
using System.IO;
using UnityEngine.UI;
using System;
/// <summary>
///
/// </summary>
public class EnvCheckInit : MonoBehaviour
{
public AssetUpdater _assetUpdater;
//public Text statusText;
//public Text descText;
public Slider progressSlider;
//public Image ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.ORD
{
public class DistributionOrderSearchModel : SearchModelBase
{
public string OrderNo { get; set; }
public string Flow { get; set; }
public Int16? Type ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.