text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class newPlayer : MonoBehaviour {
public MainGame CONFIG;
private GameObject vehicle;
private CapsuleCollider selfCollider;
private VEHICLE_TYPE vehicleType = VEHICLE_TYPE.None;
private SmoothFollowScript followCamera;
private PlayerWeapon p... |
using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.Configs;
using Assets.Scripts.Core.Helpers;
using Assets.Scripts.Models;
using UnityEngine;
namespace Assets.Scripts.Units
{
public class MobsSpawnController : MonoBehaviour
{
[SerializeField]
private int playerId... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System.Web.UI.WebControls;
#endregion
namespace DotNetNuke.UI.WebControls
{
public delegate void DNNDataGridCheckedColumnEvent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API_Layer.Samples;
using BusinessLaag.managers;
using BusinessLaag.models;
using DataLaag;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace API_Layer.Controllers
{
[Route("api/Continent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DB_Test.Domain
{
public class Medical
{
public string MedicNo;
public string Limitation;
public DateTime ExDate;
public string Class;
public str... |
namespace OCP.AppFramework.OCS
{
/**
* Class OCSBadRequestException
*
* @package OCP\AppFramework
* @since 9.1.0
*/
class OCSBadRequestException : OCSException {
/**
* OCSBadRequestException constructor.
*
* @param string message
* @param Exception|null previous
* @since 9.1.0
... |
using System;
namespace LePapeoGenNHibernate.Enumerated.LePapeo
{
public enum DiaSemanaEnum { lunes=1, martes=2, miercoles=3, jueves=4, viernes=5, sabado=6, domingo=7 };
}
|
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using Syst... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Restaurant_System
{
public class Water : Drink
{
private const decimal Price = 1.5M;
public Water(string name, int servingSize, string brand) : base(name, servingSize,... |
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Media;
using System;
namespace Experiment
{
public class Listener : Java.Lang.Object, MediaPlayer.IOnCompletionListener
{
private Action action;
public Listener(Action action)
{
this.action = action;
}
public void OnCompletion... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class SOTemplateEditor : EditorWindow
{
bool init = false;
int pathlength;
int oldPathlength;
Vector2 scrollPosition = Vector2.zero;
List<StatTemplate> templates = new List<StatTemplate>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Solicitud
{
public interface ITasaInteresDao : IGenericDao<crmTasaInteres>
{
/// <summary>
/// Permite obtener la tasa de interes por default para el cr... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using System.IO;
namespace DotNetNuke.Services.FileSystem
{
/// <summary>
/// Do not implement. This interface... |
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;
namespace jumpHelper
{
public class FormationSorter : IComparer<string>
{
public int Compa... |
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using SimpleTalkMongoDb.Configuration;
using SimpleTalkMongoDb.Pocos;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleTalkMongoDb.Aggregation
{
internal static class AggregationUnwind
{
public static ... |
using System;
namespace NineAnimeApi.Models
{
public class Episode
{
public string Id
{
get;
set;
}
public string Name
{
get;
set;
}
public string Server
{
get;
set;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using YzkSoftWare.DataModel;
namespace YzkSoftWare
{
public static class PropertyExtendDescription
{
/// <summary>
... |
using System;
using System.Collections.Generic;
namespace AddressBook
{
public class AddressBook
{
/// <summary>
/// Stores and Maintain a List Of Contacts Provided By User
/// </summary>
private List<Contact> _listContact = new List<Contact>();
/// <summary>
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PayrollCalculator
{
class PayrollCalculator
{
static void Main(string[] args)
{
Console.WriteLine("This application will figure out how many hours you need ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AlgorithmsChapter1;
using System.Collections.Generic;
using System.IO;
namespace AlgorithmTest
{
[TestClass]
public class Chapter1Test
{
[TestMethod]
public void Test_1_1_9_PrintBinary()
{
_1_1_9_Pr... |
using System.Collections.Generic;
namespace Plus.Communication.Packets.Outgoing.Sound
{
internal class SoundSettingsComposer : MessageComposer
{
public IEnumerable<int> Volumes { get; }
public bool ChatPreference { get; }
public bool InviteStatus { get; }
public bool F... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests
{
public class TestClass2 : IEquatable<TestClass2>
{
public TestClass2() { }
public TestClass2(Random rand)
{
Int = rand.Next();
Str = rand.Next().ToString();
}
public... |
using System;
namespace Aula_4
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Agora eu estou livre da maldição!");
}
}
}
|
namespace FactoryMethod.GsmConglomerate
{
public abstract class Gsm
{
public int BatteryLife { get; set; }
public int Weight { get; set; }
public int Height { get; set; }
public int Width { get; set; }
public string Name { get; set; }
public abstract void St... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication3
{
enum Post
{
Programmer = 300,
Director = 240,
Manager = 270
}
class Accauntant
{
public bool AskForBonus(Post worker,... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class WorldScenceManager : RobotSceneManager
{
public override void playerTapped(GameObject player)
{
}
public override void robotTapped(GameObject robot)
{
List<GameObject> list =... |
using System;
using System.Linq;
using System.Windows.Forms;
namespace Wc3Engine
{
public class GUIModule
{
internal const int MAX_ABILITY_LEVEL = 100;
//private Wc3Engine Handle;
private static int[,] lvl = new int[8, MAX_ABILITY_LEVEL];
//private static string[] tip = n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NationControls : MonoBehaviour {
private void OnMouseEnter()
{
GameObject.Find("Controller").GetComponent<UIController>().HoverNation(gameObject);
}
private void OnMouseExit()
{
GameObject... |
namespace BirthdayGreetings
{
public interface IEmailSender
{
void Send(Greeting greeting);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyBeamSpell : EnemySpellProjectile
{
[Tooltip("How long until this beam should become active in seconds")]
public float m_fBeamActiveTimer;
[Tooltip("How long this should stay active in seconds, if it is a be... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_LightmapsModeLegacy : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.LightmapsModeLegacy");
LuaObject.addMember(l, 0, "Single");
LuaObject.addMember(l, 1, "Dual");
LuaObject.addMember(l, 2, "Dire... |
using System;
using System.IO;
using System.Linq;
using WeatherService;
using System.Diagnostics;
using System.Threading.Tasks;
using WeatherMvcClient.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using System.Text.Json;
u... |
using PDV.DAO.Atributos;
namespace PDV.DAO.GridViewModels
{
public class ServicoGridViewModel
{
[CampoTabela(nameof(IDServico))]
public decimal IDServico { get; set; }
[CampoTabela(nameof(Descricao))]
public string Descricao { get; set; }
[CampoTabela(nameof(Categor... |
#region Copyright notice
/******************************************************************************
* Copyright (C) 2013 Colin Angus Mackay
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in t... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using AorBaseUtility;
using UnityEngine;
namespace AorFramework.core
{
public class JConfigParmsAttribute : Attribute{}
/// <summary>
/// JSON /... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
using System.Web.UI;
using System.Web.Security;
using System.Web.UI.WebControls;
public partial class AddUser : System.Web.UI.Page
{
string obj_Authent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Transformer;
namespace Parsers
{
public class CitiParser : IParser
{
public void ParseFile(string fileLocation)
{
}
}
}
|
namespace Task01_JediMeditation
{
using System;
using System.Collections.Generic;
public class Startup
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
var data = Console.ReadLine().Split(' ');
var masters = new HashSet<string>();... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Globalization;
using System.Threading;
using Microsoft.Extensions.DependencyInjection;
using DotNetNuke.Common... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
namespace WebApplication27
{
/// <summary>
/// Summary description for WebService1
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlayTennis.Model;
using PlayTennis.Model.Dto;
namespace PlayTennis.Bll
{
public class PurposeCommunicationService : BaseService<PurposeCommunication, Guid>
{
public PurposeCommunic... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SmoothMoveSwipe : MonoBehaviour {
private Vector3 startTouchPosition, endTouchPosition;
private Vector3 startRocketPosition, endRocketPosition;
private float flyTime;
private float flightDuration = 0.1f;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Pada1.BBCore.Tasks;
using Pada1.BBCore;
using BBUnity.Actions;
[Action("CanAttackCheck")]
public class CanAttackCheck : GOAction
{
[InParam("WaitTime")]
public float waitTime;
[OutParam("waitTimeDone")]
public bool ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using CapaDatos;
using CapaEntidades;
namespace CapaNegocio
{
public class N_Empleado
{
//Objeto de capa datos
readonly D_Empleado Obj = new D_Empleado();
... |
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 diyetisyenproje
{
public partial class AdminScreen : Form
{
public AdminScreen... |
using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace OmniSharp.Extensions.LanguageServer.Protocol
{
public static class ServiceConfigurationExtensions
{
/// <summary>
/// Registers a injected config... |
using Omdnet.Entitites;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Omdnet.Dal.Base
{
public class RepositoryBase<T> : IRepositoryBase<T> where T : BaseEntity
{
protected ApplicationContext _context { get; set; }
... |
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 System.IO;
using YodaSpeak.Droid;
using YodaSpeak.Interfaces;
using Xamarin.Forms;
using SQLite;
usi... |
// ReSharper disable InconsistentNaming
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using EasyNetQ.Topology;
using NUnit.Framework;
namespace EasyNetQ.Tests.Integration
{
[TestFixture, Explicit]
public class AdvancedApiTransientQueueTests
{
private IBus ... |
using KPI.Model.DAO;
using KPI.Model.ViewModel;
using MvcBreadCrumbs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace KPI.Web.Controllers
{
[BreadCrumb(Clear = true)]
public class AdminKPILevelController : BaseC... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Break : MonoBehaviour {
private bool touchingChar;
private bool audioPlaying = true;
private Player reflection;
IEnumerator Destroy() {
yield return new WaitForSeconds(0.5f);
Destroy(this.GetComponent<BoxCollider2D... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using TravelExpertsWebApp.App_Code;
using TravelExpertsWebApp.Model;
namespace TravelExpertsWebAp... |
using BPiaoBao.AppServices.Contracts.Cashbag;
using BPiaoBao.AppServices.Contracts.SystemSetting;
using BPiaoBao.AppServices.DataContracts.SystemSetting;
using JoveZhao.Framework;
namespace BPiaoBao.Client.UIExt.Communicate
{
/// <summary>
/// 客户端通信代理对象(抽象需要重复调用的通信代码)
/// </summary>
public class Comm... |
namespace UserVoiceSystem.Data.Models
{
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Common.Models;
public class Author : BaseModel<int>
{
[MaxLength(50)]
public string UserId { get; set; }
... |
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
public class LayouterSuperStripes : Layouter
{
public string mainParameter = "";
public float mMinValue = 0;
public float mMaxValue = 0;
public int mCount = 0;
public float mDelta =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 5
namespace IsGivenNumLowerOrBigger
{
public class Program
{
static void Main(string[] args)
{
int[] arrayNums = FillArray();
Console.Wr... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
#endregion
namespace DotNetNuke.Entities.Urls
{
[Serializable]
public class PathSizes
{
public int Max... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Step1")]
public class Step1 : StepBase
{
public override void OnAwake()
{
base.OnAwake();
Debug.Log("Step1 OnAwake");
}
public override void OnUpdate()
{
base.OnUpda... |
namespace Goop.Wpf.Controls
{
using Goop.Wpf;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using Cmd = RoutedComm... |
using AutoFixture;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Agenda.Repositories.Test
{
public class BaseICtor<T> where T : class
{
protected readonly Fixture _fixture;
protected readonly Mock<T> _mo... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace OLinqProvider
{
public class OQuery<T>:IOrderedQueryable<T>, IOQuery
{
private readonly QueryProvider _provider;
private readonly Expression _expression;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using MeetingRoomBot.Models;
using System.Net.Http;
using System.Diagnostics;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Dialogs.Internals;
using Autofac;
using Microsoft.Bot.Connect... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Chat.ViewModels
{
public class RestRoom
{
public long Id { get; set; }
public string Name { get; set; }
public DateTime? CreateDate { get; set; }
public bool IsActive { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace NetCode.Util
{
public static class Primitive
{
private static string[] SIPrefix = { "", "K", "M", "G", "T", "P", "E", "Z", "Y" };
public static string SIFormat(double value, string suffix, bool useBinaryPow... |
using System;
using System.Diagnostics;
namespace 泛型
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
int a = 1;
string str = "2";
Object o = 3;
DateTime date = DateTime.Now;
{
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_Physics : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Physics o = new Physics();
LuaObject.pushValue(l, true);
LuaObject.pushValue(l, ... |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace MVVMExample.Converter
{
public class CostToBackgroundConverter : DependencyObject, IMultiValueConverter
{
public Brush HighlughtBrush { get; set; }
public... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using UnityCommon;
using UnityEngine;
namespace Naninovel
{
/// <summary>
/// Manages character actors in the orth... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QualificationExaming.Entity
{
/// <summary>
/// 错题表
/// </summary>
public class ErrQuestion
{
/// <summary>
/// 错题id
/// </summary>
... |
using Eventual.EventStore.Core;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace Eventual.EventStore.EntityFrameworkCore
{
public interface IEventStoreDbContext : IUnitOfWork
{
DbSet<Revision> StoredRevisions { get; }
}
}
|
using Newtonsoft.Json.Linq;
using OscGuiControl;
using OscGuiControl.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 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 AzmanSys
{
public partial class FlightsForm : Form
{
FlightsDbConn mysqlConn;
... |
using Logs.Authentication;
using Logs.Authentication.Contracts;
using Ninject.Modules;
namespace Logs.Web.App_Start.NinjectModules
{
public class AuthNinjectModule : NinjectModule
{
public override void Load()
{
this.Bind<IAuthenticationProvider>().To<AuthenticationProvider>().InSi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AracKiralama
{
class Car
{
public int sn;
public string brand;
public string model;
public string color;
public string year;
public bool automatic;
public decimal price;
... |
using Microsoft.AspNetCore.Mvc;
using ProConstructionsManagment.Core.Entities;
using ProConstructionsManagment.Core.Enums;
using ProConstructionsManagment.Core.Interfaces;
using System;
using System.Threading.Tasks;
namespace ProConstructionsManagment.Web.Controllers
{
[Route("api/v1/")]
public class Employee... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.... |
namespace VehiclesController
{
public class SelfServiceFacilities : IWashService
{
public void Wash(out string logs)
{
logs = @"Self-service wash facilities has been chosen.
This service is assigned to a car by default.
The customer does the washing, including pressurized <jet wash... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeleeAttack : MonoBehaviour
{
Vector3 position = new Vector3();
public float lifetime = 1.0f;
public GameObject fxPrefab;
public float delay = 0.3f;
// Start is called before the first frame update
voi... |
using MrHai.Core.Data.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MrHai.Common.GlobalConfig
{
/// <summary>
/// 全局配置操作基类
/// </summary>
public abstract class GlobalConfigBase
{
protected IGlobal... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using lianda.Component;
namesp... |
using DataIngress.Models;
using DataIngress.Controllers;
namespace DataIngress
{
public class ControllerHelper
{
public int Counter { get; set; }
public void AddAppRecord(AppRecord appRecord)
{
AppRecordsController controller = new AppRecordsController();
var r... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ContosoUniversity.ViewModels
{
public class EnrollmentSearch : IValidatableObject
{
[Display]
public string Nama { get; set; }
[Display]
... |
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Operations;
namespace Meziantou.Analyzer.Rules;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class DoNotRaiseNotImplementedExceptionAnalyzer : DiagnosticAnalyzer
{
... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Kit
{
public class EnterKeyTraversal
{
public static bool GetIsEnabled(DependencyObject obj)
{
return (bool)obj.GetValue(IsEnabledProperty);
}
public static void... |
using Money.ViewModels.Companies;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Money.ViewModels.Fronts
{
public class CreateFrontViewModel
{
public string Name { get; set; }
public string CompanyName { get; set; }... |
using System;
using System.Collections.Generic;
#nullable disable
namespace dk.via.ftc.businesslayer.Models
{
public partial class Effect
{
public string EffectsId { get; set; }
public string[] Positive { get; set; }
public string[] Negative { get; set; }
public string[] Medic... |
// Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Autofac;
using Avalonia;
#if !_CORERT
using Avalonia.X11;
#endif
using Avalonia.Logging.Serilog;
using Core2D.UI.Avalonia.Modules;
using Core2D... |
using App.Entity.AttibutesProperty;
using System.Collections.Generic;
using System.Windows.Forms;
namespace App.Utilities.Controls
{
public class GridControl : DataGridView
{
#region Variables
/// <summary>
/// Gets the message.
/// </summary>
/// <value>
/// Th... |
using BPiaoBao.Common.Enums;
using JoveZhao.Framework.DDD;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Models.Insurance
{
public class InsurancePurchaseByBussinessman : EntityBase, IAggregationRoot
{
/// <summary>
... |
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SmartRecord.Services.Call
{
public interface ICallRecorder
{
Task<bool> StartRecording();
Task<bool> StopRecording();
Task<bool> PauseRecording();
Task<bool> ResumeRecording();
}
}
|
using BL.Models;
using System.Threading;
using System.Threading.Tasks;
namespace BL.Managers.Interfaces
{
public interface ISenderManager
{
Task SendAsync(JobModel job, CancellationToken token);
}
}
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Blog.Query.Model;
namespace Blog.Query
{
public interface IBlogQuery
{
Task<IEnumerable<BlogDto>> GetAll();
Task<BlogDto> Get(Guid id);
}
} |
using System;
namespace FirstSample
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("This course section is:\tOA03");
string myName = "Dennis Inthavong";
Console.WriteLine($"This name is p... |
// By: Patrick Warren
// Program 2
// CIS 200-76
// Fall 2017
// Due: 10/23/2017
/*
* Holds the letter form class. You will be able to add a previously stored origin address and desitination
* address in order to ship. You will also need to enter a fixed cost for this shipment.
* This fixed cost will be ... |
using Course.Context;
using Course.View;
using NLog;
using System;
using System.Collections;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Threading;
namespace Course
{
/// <summary>
/// Логика взаимодействия для App.xaml
/// </summary>
public partial class App ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace UrTLibrary.Bsp.Elements
{
public class Texture : BspElement
{
public char[] Name;
public int SurfaceFlags;
public int ContentsFlags;
public Texture()
{
... |
namespace HCL.Academy.Model
{
public class BGVStatus
{
public int BGVStatusId { get; set; }
public string BGVStatusName { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Uygulama_Elektronik
{
abstract class Television : Electronic
{
public DisplayConnection DisplayConnection { get; set; }
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
using InstagramMVC.Attributes;
namespace InstagramMVC.Models
{
public class AppUserMetadata
{
public int USER_ID { get; set; }
[Display(Name = "Логин")]
[Required(ErrorMessage = "Укажите логин!")]
[NoRegionalKey]
... |
using FluentAssertions;
using Newtonsoft.Json;
using OmniSharp.Extensions.LanguageServer.Protocol;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters;
using Xunit;
using Xunit.Abstractions;
namespace Lsp.Tests
{
public class AbsoluteUriConverterTests
{
private readonly ITestOu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.