text stringlengths 13 6.01M |
|---|
using Ghost.Utility;
using System;
using System.Collections.Generic;
using System.Threading;
namespace Ghost.Async
{
public sealed class Consumer : ProducerConsumerBase
{
private class ConsumerContext : ProducerConsumerBase.Context
{
private ConditionVariable condition;
public Action<List<object>> bkgBatc... |
using System.Collections.Generic;
using System.ComponentModel;
using OPAM.Interface;
using System.Linq;
using OPAM.Model;
using OPAM.Common;
namespace OPAM.ViewModel
{
public class AreaGridViewModel : INotifyPropertyChanged
{
#region field
/// <summary>
/// This field is for the Page T... |
namespace Forum.Data
{
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using Forum.Data.Models;
public interface IForumDbContext
{
IDbSet<User> Users { get; set; }
IDbSet<Article> Articles { get; set; }
IDbSet<Like> Likes { get; set; }
IDbSet<... |
using PublicClass;
using System;
using System.Collections.Generic;
using System.Text;
namespace 泛型
{
public static class GenericTest
{
//基类约束
public static void ShowPeople<T>(T t) where T:People{
Console.WriteLine($"ID:{t.ID},Name:{t.Name}");
}
//接口约束
publi... |
using Espades.Domain.Contracts.UnitOfWork;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
namespace Espades.Infrastructure.UnitiesOfWork
{
public class EFUnitOfWorkFactory : IUnitOfWorkFactory
{
private readonly IConfiguration _configuration;
public EFUnitOfWor... |
//
// 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.Modules
{
/// ---------------------------------------------------------------... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Library
{
public class GetWeather
{
public static string searchURL = "https://www.metaweather.com/api/location/search/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using Random = UnityEngine.Random;
/// <summary>
/// L'important, c'est les valeurs.
/// </summary>
[System.Serializable]
public class ScaleValue
{
[System.Serializable]
public class Tupple
{
[Seria... |
using System;
using System.Collections;
using UnityEngine;
namespace RO
{
[CustomLuaClass, RequireComponent(typeof(UITexture))]
public class RenderQByUI : MonoBehaviour
{
public bool excute;
public int RenderQ;
private UITexture pic;
private GameObject child;
private Renderer catchRender;
[ContextM... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TimeCountDown : MonoBehaviour {
public bool isCanTrigger; //心判断是否进入区域用
public Text TimeText; //倒计时
public bool isCountDown; //开始倒计时
public float LiveTime; /... |
namespace ISP._3_after
{
public interface IWorker
{
void Work();
}
}
|
using L7.Domain;
using Microsoft.EntityFrameworkCore;
namespace L7.Persistance
{
public class ShopContext : DbContext
{
public ShopContext(DbContextOptions<ShopContext> options)
: base(options)
{
Database.Migrate();
}
public DbSet<Product> Products { ge... |
using System;
namespace exe_22
{
class Program
{
static void Main(string[] args)
{
Console.Clear();
Console.WriteLine("======* Soma matriz *======");
System.Console.Write("Aperte enter para a magia acontecer: ");
Console.ReadLine();... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using YourCommonTools;
using YourNetworkingTools;
namespace YourRemoteAssistance
{
/******************************************
*
* IItemObjectListView
*
* Interface of the items in the list of objects
... |
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEditor;
using UnityEngine;
using UnityEngine.Bindings;
using Newtonsoft.Json;
public static class PackageManager
{
sta... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace City_Center.Page.SlideMenu
{
public partial class PruebaGrid : ContentPage
{
public PruebaGrid()
{
InitializeComponent();
}
}
}
|
//
// 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;
using System.Collections.Generic;
using System.Data;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
namespace DotNe... |
using CoreTweet;
using Newtonsoft.Json;
using NicoLiveAlertTwitterWPF.ListViewClass;
using NicoLiveAlertTwitterWPF.niconico;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace NicoLiv... |
using JWT.Models.Derived;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JWT.Services
{
public interface IExamService
{
Task<List<ExamDto>> GetExamsAsync();
Task<ExamDto> GetExamAsync(Guid id);
}
}
|
using FakeXrmEasy;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xrm.Sdk;
using System;
namespace FakeItEasyTestPlugin365.Tests
{
[TestClass]
public class ExamplePlugin3Tests
{
[TestMethod]
public void FakeXrmEasy_plugin_preimage()
{
//Arrange
... |
using Cogent.IoC.Generators.Models;
using Microsoft.CodeAnalysis;
namespace Cogent.IoC.Generators
{
internal class AspNetCoreContainerClassContentGenerator
{
private readonly GeneratorExecutionContext _context;
private readonly RegistrationSymbols _registrationSymbols;
publi... |
using Cinema.Data.Models;
using Cinema.Data.Repositories;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
namespace Cinema.Tests.Data.Services.Tests.SeatService
{
[TestFixture]
public class GetBookedSeatsAsStringShould
{
[Test]
public void CallFilmScreeningRepoGetByIdWi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Accounting.Entity
{
public class SalesReturn
{
public SalesReturn() { }
#region Fields
private int nReturnMID;
private int nSalesInvoiceID;
private string strInvoiceNo;
... |
using System.Collections.Generic;
using CloneDeploy_Entities;
using CloneDeploy_Entities.DTOs;
using RestSharp;
namespace CloneDeploy_ApiCalls
{
public class UserGroupAPI : BaseAPI
{
private readonly ApiRequest _apiRequest;
public UserGroupAPI(string resource) : base(resource)
{
... |
//using DAL.Interface.DTO;
//using DAL.Interface.Repository;
//using System;
//using System.Collections.Generic;
//namespace DAL.Interfacies.Repository
//{
// public interface IUsersToRoleRepository : IRepository<DalUsersToRole>
// {
// }
//}
|
using System;
using MediatR;
using Realeyes.Application.DTOs;
namespace Realeyes.Application.Sessions.Commands
{
public class CreateSessionCommand :IRequest<SessionDTO>
{
public CreateSessionCommand(Guid? surveryId)
{
SurveryId = surveryId;
}
public Guid? SurveryId... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
/// <summary>
/// Clase estatica donde se almacenan los listados y variables necesarias para distintas pantallas en la aplicacion, contiene metodos de extension y coleccion... |
using System.Collections.Generic;
namespace Augury.Base
{
public interface ILanguageModel
{
double Evaluate(IReadOnlyList<string> nGram);
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace DriveMgr.BLL
{
public class PeriodsBLL
{
private static readonly DriveMgr.IDAL.IPeriodsDAL dal = DriveMgr.DALFactory.Factory.GetPeriodsDAL();
/// <summary>
/// 得到一个对象实体
... |
using IntegradorZeusPDV.DB;
using IntegradorZeusPDV.DB.DB.Controller;
using IntegradorZeusPDV.DB.DB.Utils;
using IntegradorZeusPDV.MODEL.ClassesPDV;
using System.Data;
namespace IntegradorZeusPDV.CONTROLLER.Funcoes
{
public class FuncoesProduto
{
public static bool Salvar(Produto Pro)
{
... |
namespace from_DB.Models
{
using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using MySql.Data.Entity;
using MySql.Data.MySqlClient;
public partial class forumModel : DbContext
{
public forumModel()
: base("... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MongoDB.Driver;
namespace FunctionCore.Helpers
{
public class ContactInfoItemHelper : DBHelper
{
private IMongoCollection<ContactInfo> collection = null;
public ContactInfoItemHelper(MongoDBConnectionInfo d... |
using System;
namespace Nmli.WithOffsets
{
public interface IMultOffsets<T> : CollectionAgnostic.ITest<OA<T>> { }
public interface IMultOffsets : IMultOffsets<float>, IMultOffsets<double> { }
unsafe public class MklWithOffsets : IMultOffsets
{
void TestMultiDim()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PowerShapeDotNet.Enums;
using PowerShapeDotNet.Macros;
namespace PowerShapeDotNet.Objects
{
/// <summary>
/// class for Arc Type Objects
/// </summary>
public class PSDNObjectSurface : PSDNObjectBase
{
... |
using ChesterDevs.Core.Aspnet.App.RemoteData.EventData;
using ChesterDevs.Core.Aspnet.App.RemoteData.YouTube;
using ChesterDevs.Core.Aspnet.Models.ViewModels;
namespace ChesterDevs.Core.Aspnet.App.PageHelpers
{
public interface IHomeHelper
{
HomeViewModel LoadViewModel();
}
public class HomeH... |
using Android.Content;
using Xamarin.Forms;
using MCCForms.Droid;
[assembly: Xamarin.Forms.Dependency (typeof (DeviceAndAppInformation_Droid))] //How to use in Forms project: DependencyService.Get<IDeviceAndAppInformation> ().GetOperationSystemVersionNumber();
namespace MCCForms.Droid
{
public class DeviceAndAppI... |
namespace Belot.AI.DummyPlayer
{
using System.Collections.Generic;
using Belot.Engine;
using Belot.Engine.Cards;
using Belot.Engine.Game;
using Belot.Engine.GameMechanics;
using Belot.Engine.Players;
public class DummyPlayer : IPlayer
{
public BidType GetBid(PlayerGetBidContex... |
using System;
class MainClass
{
public static void Main ()
{
//number in Hex -> Decimal
int number = 0xfe;
Console.WriteLine(number);
//Number in Decimal -> Hex
int number254 = 254;
Console.WriteLine ("{0:X}",number254);
}
} |
using UnityEngine;
public class CarHead : MonoBehaviour {
[SerializeField]
private Transform car;
[SerializeField]
private Vector2 pitchMinMax = new Vector2(-30, 50);
[SerializeField]
private float rotationSmoothTime = 0.2f;
[SerializeField]
private float rotateSpeed = 1.5f;
[Seri... |
using Xamarin.Forms;
namespace App1
{
public class Frame2 : Frame
{
public float CornerRadius { get; set; }
public bool Overflow { get; set; }
public float ShadowRadius { get; set; }
public Color ShadowColor { get; set; }
public float ShadowOpacity { get; set; }
... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades
{
public class Municipio
{
[CampoTabela("IDMUNICIPIO")]
[MaxLength(18)]
public decimal IDMunicipio { get; set; } = -1;
[CampoTabela("IDUNIDADEFEDERATIVA")]
[MaxLength(18)]
public decimal IDUnidadeFederativa {... |
using People.Service;
using PersonLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace People.Service
{
public class PersonService: IPersonService
{
public ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace LuigiApp.Product.Interactors
{
public interface IProductInteractor
{
Task<List<Models.Product>> All();
Task<Models.Product> Get(int id);
Task<Models.Product> Get(string code);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using XPowerAPI.Controllers;
using XPowerAPI.Models;
using XPowerAPI.Models.Params;
using XPowerAPI.Repository;
using XPowerAPI.Services.Security.Account;
using XPowerAPI.Logging;
using System.Data.Common;
using Microsoft.... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FuzzyLogic.Model
{
class Heat:AbstractFuzzyfication<ChartItems.ChartItem3Degree>
{
public Heat() { }
public Heat(int Min,int Max,i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
using utilities;
using System.Data;
using System.Web;
using System.Web.Services;
using System.Xml;
using System.Net;
using System.Data.SqlClient;
using TRT_BL.TaxiEmpDetails;
using TRT_BL.TaxiSharepoint;
... |
namespace Websites
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Website
{
private string host;
private string domain;
private List<string> queries;
public string Host
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArticleSubmitTool.Models
{
public abstract class AModel
{
public long Id { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Xml;
using System.Xml.Serialization;
using ws_seta.Models;
namespace ws_seta.Util
{
public class UtilValidator
{
public static string aNull(string valor)
{
if (valor =... |
namespace AjLisp.Primitives
{
using System;
using System.Collections.Generic;
using System.Text;
using AjLisp.Language;
public class FSubrDefine : FSubr
{
public override object Execute(List arguments, ValueEnvironment environment)
{
Identifier atom;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace KingdomJoy.Models
{
public class UserEditViewModel
{
public string Id { get; set; }
[Required]
[Display(Name = "First Name")]
public stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StatsMain1
{
class Program
{
static void Main(string[] args)
{
//parameters
double expiry = 1.0;
double strike = 50.0;
double spot = 49.0;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class EscenaMasRapido : MonoBehaviour
{
public float TiempoDeEspera;
public int NumeroRandom;
void Start()
{
NumeroRandom = Random.Range(1, 9);
}
void Update()
... |
using HotellbookingEF.Data;
using HotellbookingEF.Enum;
using HotellbookingEF.Exceptions;
using HotellbookingEF.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReferenceConvention.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ----------------------------------------------------------------------------... |
namespace WQMField.ViewModel
{
using Model;
using System.Collections.Generic;
using System.Collections.ObjectModel;
/// <summary>
/// This class contains properties that a View can data bind to.
/// <para>
/// See http://www.galasoft.ch/mvvm
/// </para>
/// </summary>
public cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Restorani
{
public class Restoran
{
public Restoran()
{
etikete = new List<Tag>();
ikonica = "";
}
private String oznaka;
public String Oznaka
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Task16.cs" company="">
//
// </copyright>
// <summary>
// The task 16.
// </summary>
// --------------------------------------------------------------------------------------... |
using SO.Urba.Models.ValueObjects;
using SO.Utility.Classes;
using SO.Utility.Models.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SO.Urba.Models.ViewMo... |
namespace AquaServiceSPA.Models
{
public class ConstValues
{
public const string DIGITS_DOUBLE_PRECISION_PATTERN =
"^[0-9]{0,2}[,.]{1}[0-9]{1,2}$|^[0-9]{1,2}[,.]{1}[0-9]{0,2}$|^[0-9]{1,2}$";
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CommonCore.World
{
public class BlankSceneController : BaseSceneController
{
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using Karkas.Ornek.TypeLibrary;
using Karkas.Ornek.TypeLibrary.Ornekler;
using Karkas.Ornek.Dal.Ornekler;
using Karkas.Core.DataUtil;
namespace Karkas.Ornek.Bs.Ornekler
{
public parti... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Xml;
using System.Net;
using InvoiceClient.Properties;
using Utility;
using Model.Schema.TXN;
using InvoiceClient.Helper;
using InvoiceClient.TransferManagement;
namespace Invoi... |
using JigneshPractical.Model;
using JigneshPractical.Repository;
using JigneshPractical.Utilis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
namespace JigneshPractical.Controllers
{
public class HomeController : Controlle... |
using System.Collections.Generic; using System;
using System.Text;
namespace BrainDuelsLib.view
{
public interface LabelControl : TextControl
{
}
}
|
namespace litecart_tests
{
public class Price
{
public Price(double cost, string currencyCode)
{
Cost = cost;
Currency = new Currency(currencyCode);
}
public double Cost { get; set; }
public double CostIncTax { get; set; }
public Currenc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
class SpawnButton : OnTouch
{
public GameObject spawnPrefab;
public Transform spawnRangeBottomLeft;
public Transform spawnRangeTopRight;
protected override void Touch()
{
var spawnObj... |
using System;
using System.Collections.Generic;
#nullable disable
namespace senai_CZBooks.webapi.Domains
{
public partial class Livro
{
public int IdLivro { get; set; }
public int? IdUsuario { get; set; }
public int? IdCategoria { get; set; }
public string Titulo { get; set; }... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Linq;
using System.Linq;
using Syste... |
using Newtonsoft.Json;
namespace MailerQ.RestApi
{
/// <summary>
/// Represent a model of OutgoingMessage to inject in the MailerQ Rest API
/// </summary>
[JsonObject(
NamingStrategyType = typeof(LowercaseNamingStrategy),
ItemNullValueHandling = NullValueHandling.Ignore
)]
publ... |
using GraphQLSampleAuthenticationAPI.Data;
using GraphQLSampleAuthenticationAPI.Data.Entities;
using GraphQLSampleAuthenticationAPI.InputTypes;
using GraphQLSampleAuthenticationAPI.Models;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using Sy... |
using Hayalpc.Library.Common.Enums;
using Hayalpc.Library.Common.Results;
using Hayalpc.Library.Log;
using Hayalpc.Library.Repository.Interfaces;
using Microsoft.Extensions.Caching.Memory;
using Hayalpc.Fatura.Data;
using Hayalpc.Fatura.Data.Models;
using Hayalpc.Fatura.Panel.Internal.Services.Interfaces;
using System... |
using System.Drawing;
using CoreText;
using Foundation;
using UIKit;
using Size = OmniGui.Geometry.Size;
namespace OmniGui.iOS
{
public class iOSTextEngine : ITextEngine
{
public Size Measure(FormattedText formattedText)
{
var width = formattedText.Constraint.Width;
var... |
using System.Collections.Concurrent;
using System.Linq;
using GistManager.Mvvm.Commands.Async.AsyncRelayCommand;
namespace GistManager.Mvvm.Commands.Async
{
public class AsyncOperationStatusManager : BindableBase, IAsyncOperationStatusManager
{
private readonly ConcurrentQueue<IAsyncOperation>... |
// -----------------------------------------------------------------------
// <copyright file="CSharpProxyGetKeyHashValueCodeWriter.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license info... |
using UnityEditor;
using UnityEngine;
[CustomPropertyDrawer(typeof(EnumsFlagsAttribute))]
public class EnumsFlagsAttributeDrawer : PropertyDrawer {
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
property.intValue = EditorGUI.MaskField(position, property.intV... |
using NUnit.Framework;
namespace TypicalInterviewQuestions.Tests
{
[TestFixture]
public class RemoveDuplicateCharactersFromStringTests
{
[TestCase("Mad", "Mad")]
[TestCase("One", "One")]
[TestCase("Watch", "Watch")]
[TestCase("", "")]
public void RemoveDuplicates_Wh... |
using Bindable.Linq.Tests.TestLanguage.Helpers;
using NUnit.Framework;
namespace Bindable.Linq.Tests.Behaviour.Iterators
{
/// <summary>
/// Contains unit tests for the <see cref="T:OrderByIterator`1"/> class.
/// </summary>
[TestFixture]
public class OrderByBehaviour : TestFixture
{
... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
using System;
using Models;
using UnityEngine;
using Zenject;
namespace Controllers
{
public sealed class ResourceWallet : MonoBehaviour
{
[Inject]
private StorageKeeper storageKeeper;
public event Action<Resource> ResourceAmountOrCapacityUpdated;
private void OnEnable(... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using UrTLibrary.Server.Exceptions;
using UrTLibrary.Server.Repositories;
using UrTLibrary.Utils.Web;
namespace UrTLibrary.Ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using EXCHNG.ExchngWebApp.Models;
using EXCHNG.ExchngWebApp.Providers.Contracts;
using EXCHNG.ExchngWebApp.Providers.Helpers;
namespace EXCHNG.ExchngWebApp.Providers.Compononents
{
public class XmlCurrencyProvider ... |
using System.Collections.Generic;
namespace PermissionSystem
{
public class JsonUser
{
public string steamId { get; set; }
public string group { get; set; }
public List<string> roles { get; set; }
public JsonUserOverrides overrides { get; set; }
public List<JsonMetadata> metadata { get; set; }
... |
// ********************************************************************
// GoStone.cs - contains public enum GoColour and public class GoStone
//
// Written by Jonathan Melcher on 14/09/2015
// Last updated 16/09/2015
// ********************************************************************
namespace Go
{
// **... |
using SearchFood.Common;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace SearchFood.View
{
public sealed partial class Create_Connexion : Page
{
private NavigationHelper navigationHelper;
private ObservableDictionary defaultViewModel = new ObservableDictionary(... |
using System;
using Flunt.Validations;
namespace Aurora.Domain.Entities
{
public class User : BaseEntity<int, User>
{
public User(int id, string name, DateTime birthDate, string cpf) : base(id)
{
AddNotifications(
ValidateName(name),
ValidateBirthDat... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace Uxnet.Web.Module.Common
{
public partial c... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VKDesktop.Core;
namespace VKDesktop.Models
{
public class TrayTooltip : INotifyPropertyChanged
{
public string State
{
get
... |
using System.Threading.Tasks;
using Meziantou.Analyzer.Rules;
using TestHelper;
using Xunit;
namespace Meziantou.Analyzer.Test.Rules;
public sealed class OptimizeLinqUsageAnalyzerUseCastInsteadOfSelectTests
{
private static ProjectBuilder CreateProjectBuilder()
{
return new ProjectBuilder()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.OleDb;
namespace Proje
{
class UrunEkle:Client
{
private string urunad;
private int miktar;
private string tur;
private int fiyat;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pacu : MonoBehaviour {
public AudioSource[] sounds = new AudioSource[5];
public GameObject[] explosions = new GameObject[2];
public GameObject enemyBullet;
public GameObject shieldPowerUp;
public static ... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace InfiniteMeals.NewUI
{
public partial class RefundPage : ContentPage
{
public RefundPage()
{
InitializeComponent();
}
public void onTap(object sender, EventArgs e)
{
}
... |
using System.Collections.Generic;
using UnityEngine;
public class UIStatisticsDeathmatchMode : MonoBehaviour
{
#region Test
#if UNITY_EDITOR
[SerializeField] bool m_Test;
[ContextMenu("TestAdd")]
void TestAdd()
{
Add();
}
[ContextMenu("TestRemove")]
void TestRemove()
{
... |
using System;
using Binding;
using JetBrains.Annotations;
using Purchasing;
using UI;
using UnityEngine;
#if UNITY_PURCHASING
using UnityEngine.Purchasing;
#endif
namespace Ads.Ui
{
public class PremiumHandler : Controller<PremiumHandler>
#if UNITY_PURCHASING
, IStoreListener
#endif
{
#if UNITY_PUR... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using ArticleApp.Models;
namespace ArticleApp.Controllers
{
public class ArticlesController : Controller
{
private ArticleContext db... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Shell;
using System.Windows.Threading;
using Microsoft.Practices.Prism;
using Microsoft.Practices.Prism.Events;
using Microsof... |
using System;
namespace Dcl
{
public class DclBoxEntity : DclEntity
{
public string Color { get; set; }
public string Material { get; set; }
public bool WithCollisions { get; set; }
public DclBoxEntity()
{
this.Tag = TAG_BOX;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HZGZDL.YZFJKGZXFXY.DEL {
public class TransMMDal:BaseDal<Model.Trans_Manufactory_Model>,IBaseDal<Model.Trans_Manufactory_Model> {
}
}
|
using System;
using doob.Reflectensions;
using doob.Reflectensions.JsonConverters;
namespace doob.Scripter.Module.Http
{
public class Converter
{
private static readonly Lazy<Json> lazyJson = new Lazy<Json>(() => new Json()
.RegisterJsonConverter<ExpandoObjectConverter>(0)
);
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
/// <summary>
/// Descripción breve de db_derivados
/// </summary>
public class db_clinica
{
SqlConnection conn;
DataTable dt;
SqlDataReader dr;
SqlDataAdapter da;
D... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.