answer
stringlengths 15
1.25M
|
|---|
'use strict';
const path = require('path');
const jwt = require('jsonwebtoken');
const AuthConfig = require(path.resolve('./config')).Auth;
const jwtSecret = AuthConfig.jwt.secret;
const tokenExpirePeriod = AuthConfig.jwt.tokenExpirePeriod;
function generateToken(payLoad) {
const isObject = (typeof payLoad === 'object');
if (payLoad) {
if (isObject) {
return new Promise((resolve, reject) => {
jwt.sign(payLoad, jwtSecret, { expiresIn: tokenExpirePeriod }, (error, token) => {
if (error) {
reject(error);
} else {
resolve(token);
}
});
})
} else {
const error = new TypeError('Token Payload Must Be An Object');
return Promise.reject(error);
}
} else {
const error = new Error('Token Payload Should Not Be Empty');
return Promise.reject(error);
}
}
function verifyToken(token) {
if (token) {
return new Promise((resolve, reject) => {
jwt.verify(token, jwtSecret, (error, decodedToken) => {
if (error) {
reject(error);
} else {
resolve(decodedToken);
}
});
})
} else {
const error = new Error('Token Should Not Be Empty');
return Promise.reject(error);
}
}
module.exports = {
generate: generateToken,
verify: verifyToken
};
|
html {
background-color: white;
}
ul{
display: inline-block;
}
.listone{
margin-left: 75px;
}
.listtwo{
margin-left: 50px;
}
li{
margin-bottom: 10px;
}
p{
font-size: 10px;
margin:0px;
}
h1 p{
text-align: center;
font-weight: bold;
}
h1{
border-bottom: 1px solid black;
padding-bottom: 10px;
}
div{
border-bottom: 1px solid black;
padding-bottom: 20px;
padding-top: 20px;
text-align: center;
}
/*
Reflect
What is important to know when linking an external file (like a stylesheet) to an HTML file?
What tricks did you use to help you with positioning? How hard was it to get the site as you wanted it?
What CSS did you use to modify the element style (like size, color, etc.)
Did you modify the HTML to include classes or ids? If so, which did you choose and why? If you didn't, how would you know which one to add to your HTML?
When you compared your site to the actual code base, which do you think had cleaner code that followed best practices and why?
*/
|
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ASN1Enumerated.java
#ifndef <API key>
#define <API key>
#include "J2ObjC_header.h"
#include "org/apache/harmony/security/asn1/ASN1Primitive.h"
@class <API key>;
@class <API key>;
/*!
@author Stepan M. Mishura
@version $Revision$
*/
/*!
@brief This class represents ASN.1 Enumerated type.
*/
@interface <API key> : <API key>
#pragma mark Public
/*!
@brief Constructs ASN.1 Enumerated type
The constructor is provided for inheritance purposes
when there is a need to create a custom ASN.1 Enumerated type.
To get a default implementation it is recommended to use
getInstance() method.
*/
- (instancetype)init;
- (id)<API key>:(<API key> *)inArg;
- (void)<API key>:(<API key> *)outArg;
/*!
@brief Extracts array of bytes from BER input stream.
@return array of bytes
*/
- (id)<API key>:(<API key> *)inArg;
/*!
@brief Returns ASN.1 Enumerated type default implementation
The default implementation works with encoding
that is represented as byte array.
@return ASN.1 Enumerated type default implementation
*/
+ (<API key> *)getInstance;
- (void)<API key>:(<API key> *)outArg;
@end
J2OBJC_STATIC_INIT(<API key>)
FOUNDATION_EXPORT void <API key>(<API key> *self);
FOUNDATION_EXPORT <API key> *<API key>() NS_RETURNS_RETAINED;
FOUNDATION_EXPORT <API key> *<API key>();
<API key>(<API key>)
#endif // <API key>
|
<!-- START REVOLUTION SLIDER 5.0 -->
<div id="slider_container" class="rev_slider_wrapper">
<div id="rev-slider" class="rev_slider" data-version="5.0">
<ul>
<li data-transition="slideremovedown">
<!-- MAIN IMAGE -->
<img src="<?php echo $this->common->theme_link(); ?>img/slider/revolution/slider01.jpg" alt="" width="1920" height="600">
<!-- LAYER NR. 1 -->
<div class="tp-caption captionHeadline3 text-shadow"
id="slide-51-layer-1"
data-x="['left','left','left','left']" data-hoffset="['80','80','80','80']"
data-y="['top','top','top','top']" data-voffset="['180','180','180','180']"
data-width="504"
data-height="133"
data-whitespace="normal"
data-transform_idle="o:1;"
data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;s:1500;e:Power3.easeInOut;"
data-transform_out="y:[100%];s:1000;s:1000;"
data-mask_in="x:0px;y:0px;s:inherit;e:inherit;"
data-mask_out="x:inherit;y:inherit;s:inherit;e:inherit;"
data-start="500"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 5; white-space: normal;">
Lulusan dijamin Kerja
</div>
<!-- LAYER NR. 2 -->
<div class="tp-caption captionButtonlink"
id="slide-400-layer-3"
data-x="['left','left','left','left']" data-hoffset="['85','85','85','85']"
data-y="['top','top','top','top']" data-voffset="['355','355','355','355']"
data-width="['auto','auto','auto','auto']"
data-height="['auto','auto','auto','auto']"
data-transform_idle="o:1;"
data-transform_in="x:right;s:2000;e:Power4.easeInOut;"
data-transform_out="s:1000;e:Power2.easeInOut;s:1000;e:Power2.easeInOut;"
data-start="700"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 6; white-space: nowrap;"><a href="#" class="btn btn-primary btn-icon">Learn more <i class="fa fa-link"></i></a>
</div>
<!-- <div class="tp-caption"
id="slide-400-layer-4"
data-x="['right','right','right','right']" data-hoffset="['200','200','150','200']"
data-y="['bottom','bottom','bottom','bottom']" data-voffset="['0','0','0','0']"
data-transform_idle="o:1;"
data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;s:1500;e:Power3.easeInOut;"
data-transform_out="y:[100%];s:1000;s:1000;"
data-start="2500"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 6; white-space: nowrap;">
<img src="<?php echo $this->common->theme_link(); ?>img/slider/revolution/workerno1.png" class="img-Construction" width="400" alt="">
</div>
</li>
<li data-transition="slideremovedown">
<!-- MAIN IMAGE -->
<img src="<?php echo $this->common->theme_link(); ?>img/slider/revolution/slider02.jpg" alt="" width="1920" height="600">
<!-- LAYER NR. 1 -->
<div class="tp-caption captionHeadline3 text-shadow"
id="slide-51-layer-1"
data-x="['left','left','left','left']" data-hoffset="['80','80','80','80']"
data-y="['top','top','top','top']" data-voffset="['180','180','180','180']"
data-width="700"
data-height="133"
data-whitespace="normal"
data-transform_idle="o:1;"
data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;s:1500;e:Power3.easeInOut;"
data-transform_out="y:[100%];s:1000;s:1000;"
data-mask_in="x:0px;y:0px;s:inherit;e:inherit;"
data-mask_out="x:inherit;y:inherit;s:inherit;e:inherit;"
data-start="500"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 5; white-space: normal;">
Fasilitas belajar lengkap
</div>
<!-- LAYER NR. 2 -->
<div class="tp-caption captionButtonlink"
id="slide-400-layer-3"
data-x="['left','left','left','left']" data-hoffset="['85','85','85','85']"
data-y="['top','top','top','top']" data-voffset="['355','355','355','355']"
data-width="['auto','auto','auto','auto']"
data-height="['auto','auto','auto','auto']"
data-transform_idle="o:1;"
data-transform_in="x:right;s:2000;e:Power4.easeInOut;"
data-transform_out="s:1000;e:Power2.easeInOut;s:1000;e:Power2.easeInOut;"
data-start="700"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 6; white-space: nowrap;"><a href="#" class="btn btn-primary btn-icon">Learn more <i class="fa fa-link"></i></a>
</div>
<div class="tp-caption"
id="slide-400-layer-4"
data-x="['right','right','right','right']" data-hoffset="['200','200','150','200']"
data-y="['bottom','bottom','bottom','bottom']" data-voffset="['0','0','0','0']"
data-transform_idle="o:1;"
data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;s:1500;e:Power3.easeInOut;"
data-transform_out="y:[100%];s:1000;s:1000;"
data-start="2500"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 6; white-space: nowrap;">
<img src="<?php echo $this->common->theme_link(); ?>img/slider/revolution/fitur01.png" class="img-Construction" width="400" alt="">
</div>
</li>
<li data-transition="slideremovedown">
<!-- MAIN IMAGE -->
<img src="<?php echo $this->common->theme_link(); ?>img/slider/revolution/slider03.jpg" alt="" width="1920" height="600">
<!-- LAYER NR. 1 -->
<div class="tp-caption captionHeadline3 text-shadow"
id="slide-51-layer-1"
data-x="['left','left','left','left']" data-hoffset="['80','80','80','80']"
data-y="['top','top','top','top']" data-voffset="['180','180','180','180']"
data-width="700"
data-height="133"
data-whitespace="normal"
data-transform_idle="o:1;"
data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;s:1500;e:Power3.easeInOut;"
data-transform_out="y:[100%];s:1000;s:1000;"
data-mask_in="x:0px;y:0px;s:inherit;e:inherit;"
data-mask_out="x:inherit;y:inherit;s:inherit;e:inherit;"
data-start="500"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 5; white-space: normal;">
Agen Langsung Cruiseline
</div>
<!-- LAYER NR. 2 -->
<div class="tp-caption captionButtonlink"
id="slide-400-layer-3"
data-x="['left','left','left','left']" data-hoffset="['85','85','85','85']"
data-y="['top','top','top','top']" data-voffset="['355','355','355','355']"
data-width="['auto','auto','auto','auto']"
data-height="['auto','auto','auto','auto']"
data-transform_idle="o:1;"
data-transform_in="x:right;s:2000;e:Power4.easeInOut;"
data-transform_out="s:1000;e:Power2.easeInOut;s:1000;e:Power2.easeInOut;"
data-start="700"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 6; white-space: nowrap;"><a href="#" class="btn btn-primary btn-icon">Learn more <i class="fa fa-link"></i></a>
</div>
<div class="tp-caption"
id="slide-400-layer-4"
data-x="['right','right','right','right']" data-hoffset="['200','200','150','200']"
data-y="['bottom','bottom','bottom','bottom']" data-voffset="['0','0','0','0']"
data-transform_idle="o:1;"
data-transform_in="y:[100%];z:0;rX:0deg;rY:0;rZ:0;sX:1;sY:1;skX:0;skY:0;s:1500;e:Power3.easeInOut;"
data-transform_out="y:[100%];s:1000;s:1000;"
data-start="2500"
data-splitin="none"
data-splitout="none"
<API key>="on"
style="z-index: 6; white-space: nowrap;">
<img src="<?php echo $this->common->theme_link(); ?>img/slider/revolution/fitur02.png" class="img-Construction" width="400" alt="">
</div>
</li>
</ul>
</div><!-- END REVOLUTION SLIDER -->
</div>
<!-- END OF SLIDER WRAPPER -->
<!-- Start contain wrapp -->
<div class="contain-wrapp gray-container padding-clear margin-mintop85 <API key>">
<div class="container">
<div class="icon-wrapp">
<div class="icon-boxline">
<i class="fa fa-home fa-3x fa-primary"></i>
<h5>Lulusan Dijamin Siap Kerja</h5>
<p>
Dengan dididik dan dilatih oleh instruktur berpengalaman luas di dalam dan luar negeri serta didukung oleh sarana yang lengkap serya kurikulum yang up to date dalam menjamin lulusan bosssignalfx siap kerja.
</p>
</div>
<div class="icon-boxline">
<i class="fa fa-wrench fa-3x fa-primary"></i>
<h5>Recruitmen Supporting Cruiseline</h5>
<p>
Poltenkas Denpasar adalah salah satu kampus yang ditunjuk sebagai Rekruitmen Supporting Partner untuk Royal Carribean Cruiseline, Carnival Cruiseline, dan MSC Cruiseline.
</p>
</div>
<div class="icon-boxline">
<i class="fa fa-group fa-3x fa-primary"></i>
<h5>Pendidikan Berkualitas dengan Harga Terjangkau</h5>
<p>
Dengan biaya kuliah yang terjangkau dan transparan. bosssignalfx mampu memberikan pendidikan bermutu tinggi dan tambahan keahlian seperti Fruit Carving, Bar Flair, Barista, Winecology, Banquet Service, Pastry Bakery, Event Organizer, E-Commerce.
</p>
</div>
</div>
</div>
</div>
<!-- End contain wrapp -->
<div class="clearfix"></div>
<!-- Start contain wrapp -->
<div class="contain-wrapp gray-container padding-bot40">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="section-heading">
<h3>Build Your Future with Us!</h3>
<p>Doctus salutatus est ea, postea doming veritus in nec, sanctus fierent antiopam no pro</p>
<i class="fa fa-rocket"></i>
</div>
</div>
</div>
<div class="row marginbot30">
<div class="col-md-8 col-md-offset-2 text-center">
<p>
Quod assum persecuti ne eum. Et eam paulo menandri dissentiet. Mei eu altera offendit accusamus. Mel te sint verear deseruisse, cu graece disputando quo. Zril putent mel et, eam quot accusam ea. Quo voluptatibus signiferumque te, in partem argumentum honestatis duo.
</p>
<p><a href="#" class="btn btn-default">View our profile</a> <a href="#" class="btn btn-primary">View our services</a></p>
</div>
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center">
<img src="<?php echo $this->common->theme_link(); ?>img/group.png" class="img-responsive" alt="" />
<div class="divider margintop-clear"></div>
</div>
</div>
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="col-icon centered">
<i class="fa fa-tablet fa-2x icon-circle icon-bordered"></i>
<h5>Responsive</h5>
<p>
Cu nec salutandi voluptat teros definitionem ad ius, ut eam unumiunanios.
</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="col-icon centered">
<i class="fa fa-magic fa-2x icon-circle icon-bordered"></i>
<h5>Clean</h5>
<p>
Cu nec salutandi voluptat teros definitionem ad ius, ut eam unumiunanios.
</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="col-icon centered">
<i class="fa fa-flask fa-2x icon-circle icon-bordered"></i>
<h5>Bootstrap3</h5>
<p>
Cu nec salutandi voluptat teros definitionem ad ius, ut eam unumiunanios.
</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="col-icon centered">
<i class="fa fa-code fa-2x icon-circle icon-bordered"></i>
<h5>Valid code</h5>
<p>
Cu nec salutandi voluptat teros definitionem ad ius, ut eam unumiunanios.
</p>
</div>
</div>
</div>
</div>
</div>
<!-- End contain wrapp -->
<div class="clearfix"></div>
<!-- Start contain wrapp -->
<div id="portfolio" class="contain-wrapp paddingbot-clear">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="section-heading">
<h3>Galeri Kami</h3>
<p>Adhuc doming placerat sea ut, graeci perfecto scriptorem nam</p>
<i class="fa fa-image"></i>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<!-- Start gallery filter -->
<ul class="filter-items">
<li><a href="#" data-filter="" class="active">All</a></li>
<li><a href="#" data-filter="web">Kampus Activity</a></li>
<li><a href="#" data-filter="graphic">Fasilitas</a></li>
<li><a href="#" data-filter="logo">Belajar Mengajar</a></li>
</ul>
<!-- End gallery filter -->
</div>
</div>
</div>
<!-- Start Images Gallery -->
<div class="fullwidth">
<div id="gallery" class="masonry gallery">
<div class="grid-sizer col-md-3 col-sm-6 col-xs-6"></div>
<!-- Start Gallery 01 -->
<div data-filter="web" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">Vituperatoribus</a></h5>
<a href="#" class="img-categorie">Web design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img13.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 01 -->
<!-- Star Gallery 02 -->
<div data-filter="graphic" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">Vituperatoribus</a></h5>
<a href="#" class="img-categorie">Web design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img14.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 02 -->
<!-- Start Gallery 03 -->
<div data-filter="app" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">Persequeris</a></h5>
<a href="#" class="img-categorie">App design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img15.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 03 -->
<!-- Start Gallery 04 -->
<div data-filter="logo" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">An ancillae</a></h5>
<a href="#" class="img-categorie">logo design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img16.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 04 -->
<!-- Start Gallery 05 -->
<div data-filter="logo" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">Viris copiosae</a></h5>
<a href="#" class="img-categorie">logo design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img17.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 05 -->
<!-- Start Gallery 06 -->
<div data-filter="web" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">Reprimique</a></h5>
<a href="#" class="img-categorie">Web design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img18.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 06 -->
<!-- Start Gallery 07 -->
<div data-filter="graphic" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">Simul labitur</a></h5>
<a href="#" class="img-categorie">Graphic design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img19.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 07 -->
<!-- Start Gallery 08 -->
<div data-filter="app" class="grid-item col-md-3 col-sm-6 col-xs-6">
<div class="img-wrapper">
<div class="img-caption capZoomIn">
<a href="img/gallery/zoom980x980.jpg" data-pretty="prettyPhoto" class="zoomer"><i class="fa fa-search"></i></a>
<h5><a href="portfolio-detail.html">Consetetur</a></h5>
<a href="#" class="img-categorie">App design</a>
</div>
<img src="<?php echo $this->common->theme_link(); ?>img/gallery/380x380/img20.jpg" class="img-fullwidth" alt="" />
</div>
</div>
<!-- End Gallery 08 -->
</div>
<div class="row">
<div class="col-md-12">
<a href="portfolio-alt1.html" class="btn btn-primary btn-lg btn-block">View more Gallery</a>
</div>
</div>
</div>
<!-- End Images Gallery -->
<!-- End contain wrapp -->
<div class="clearfix"></div>
<!-- Start parallax -->
<div class="parallax parallax-two bg3">
<div class="parallax-container padding-bot30">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 owl-column-wrapp">
<div id="testimoni" class="owl-carousel">
<div class="item">
<div class="testimoni-single">
<blockquote class="centered">
Kemampuan Alumni bosssignalfx Dalam Bekerja Tidak Perlu Diragukan Lagi Karena Selain Cekatan Juga Fast Learner, Saya Mencari Staf Yang Seperti Itu Dan Itulah Yang Dibutuhkan Industri Saat Ini.
</blockquote>
<span class="block"><a href="#">Tusan Aryasa</a> - Housekeeper Estate Como Shambhala Executive </span>
<img src="<?php echo $this->common->theme_link(); ?>img/testimoni/tusan.jpg" class="img-circle testimoni-avatar" alt="" />
</div>
</div>
<div class="item">
<div class="testimoni-single">
<blockquote class="centered">
Saya Merekomendasi bosssignalfx Sebagai Tempat Anda Kuliah Perhotelan Karena Terbukti Dari Mahasiswa Yang On The Job Training Di Tempat Kami Menunjukkan Sikap Yang Loyal & Hardworker.
</blockquote>
<span class="block"><a href="#">Sukarmajaya</a> - Executive Chef The Villas, Seminyak </span>
<img src="<?php echo $this->common->theme_link(); ?>img/testimoni/sukarmajaya.jpg" class="img-circle testimoni-avatar" alt="" />
</div>
</div>
<div class="item">
<div class="testimoni-single">
<blockquote class="centered">
Dari Berbagai Kampus Yang Mahasiswanya On The Job Trainng Di Tempat Kami bosssignalfx Selalu Memberikan Mahasiswa Yang Terbaik Dalam Hal Disiplin & Teamwork. Thank’s bosssignalfx.
</blockquote>
<span class="block"><a href="#">Ni Made Restiti</a> - Personnel Manager UN'S Hotel & Restaurant, Legian - Kuta</span>
<img src="<?php echo $this->common->theme_link(); ?>img/testimoni/restiti.jpg" class="img-circle testimoni-avatar" alt="" />
</div>
</div>
<div class="item">
<div class="testimoni-single">
<blockquote class="centered">
Saya Ucapkan Terima Kasih Yang Banyak Kepada bosssignalfx Yang Telah Memberikan Tenaga Training Handal Dan Cepat Beradaptasi Dengan Pola Kerja High Speed Di Beach Club Kami. </blockquote>
<span class="block"><a href="#"> I Made Dwi Artha Pradnya</a> - Asst. Restaurant Manager Potato Head Beach Club Seminyak- Kuta</span>
<img src="<?php echo $this->common->theme_link(); ?>img/testimoni/dwi.jpg" class="img-circle testimoni-avatar" alt="" />
</div>
</div>
<div class="item">
<div class="testimoni-single">
<blockquote class="centered">
bosssignalfx Selalu Mensupport Untuk Tenaga Training Di Hotel Kami, Kami Pilih bosssignalfx Karena Tenaganya Siap Pakai, Disiplin & Memiliki Positive Attitude. </blockquote>
<span class="block"><a href="#">I Made Wirta</a> - Executive Housekeeper Amarterra Villas Bali By Accor, Nusa Dua</span>
<img src="<?php echo $this->common->theme_link(); ?>img/testimoni/wirta.jpg" class="img-circle testimoni-avatar" alt="" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End parallax -->
<div class="clearfix"></div>
<!-- Start cta primary -->
<div class="cta-wrapper cta-primary">
<div class="container">
<div class="row">
<div class="col-md-12">
<h4>Ayo Daftar Sekarang</h4>
<p>Mari bergabung dengan ratusan alumni lain.</p>
<a class="btn" href="#">Daftar Sekarang!</a>
</div>
</div>
</div>
</div>
<!-- End cta primary -->
<div class="clearfix"></div>
|
<?php
namespace AppBundle\Form;
use AppBundle\AppBundle;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\<API key>;
use Symfony\Component\OptionsResolver\OptionsResolver;
class ProductType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(<API key> $builder, array $options)
{
$builder
->add('name')
->add('price')
->add('productType')
;
}
/**
* {@inheritdoc}
*/
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults(array(
'data_class' => 'AppBundle\Entity\Product'
));
}
/**
* {@inheritdoc}
*/
public function getBlockPrefix()
{
return 'appbundle_product';
}
}
|
layout: post
date: 2016-10-16
title: "Sherri Hill Prom Dresses Style 32176 Sleeveless Sweep/Brush Train Aline/Princess"
category: Sherri Hill
tags: [Sherri Hill ,Sherri Hill,Aline/Princess ,Strapless,Sweep/Brush Train,Sleeveless]
Sherri Hill Prom Dresses Style 32176
Just **$399.99**
Sleeveless Sweep/Brush Train Aline/Princess
<table><tr><td>BRANDS</td><td>Sherri Hill</td></tr><tr><td>Silhouette</td><td>Aline/Princess </td></tr><tr><td>Neckline</td><td>Strapless</td></tr><tr><td>Hemline/Train</td><td>Sweep/Brush Train</td></tr><tr><td>Sleeve</td><td>Sleeveless</td></tr></table>
<a href="https:
<!-- break --><a href="https:
Buy it: [https:
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from conans.model import Generator
from conans.client.generators import <API key>
from xml.dom import minidom
from conans.util.files import load
class <API key>(Generator):
@property
def filename(self):
pass
@property
def content(self):
configuration = str(self.conanfile.settings.build_type)
platform = {'x86': 'Win32', 'x86_64': 'x64'}.get(str(self.conanfile.settings.arch))
vsversion = str(self.settings.compiler.version)
# there is also ClCompile.RuntimeLibrary, but it's handling is a bit complicated, so skipping for now
condition = " '$(Configuration)' == '%s' And '$(Platform)' == '%s' And '$(VisualStudioVersion)' == '%s' "\
% (configuration, platform, vsversion + '.0')
name_multi = '<API key>.props'
name_current = ('conanbuildinfo_%s_%s_%s.props' % (configuration, platform, vsversion)).lower()
multi_path = os.path.join(self.output_path, name_multi)
if os.path.isfile(multi_path):
content_multi = load(multi_path)
else:
content_multi = self.template
dom = minidom.parseString(content_multi)
import_node = dom.createElement('Import')
import_node.setAttribute('Condition', condition)
import_node.setAttribute('Project', name_current)
import_group = dom.<API key>('ImportGroup')[0]
children = import_group.<API key>("Import")
for node in children:
if name_current == node.getAttribute("Project") and condition == node.getAttribute("Condition"):
break
else:
import_group.appendChild(import_node)
content_multi = dom.toprettyxml()
content_multi = "\n".join(line for line in content_multi.splitlines() if line.strip())
vs_generator = <API key>(self.conanfile)
content_current = vs_generator.content
return {name_multi: content_multi, name_current: content_current}
|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_slider extends Main_model {
function __construct() {
parent::__construct();
$this->table = array(
'name' => 'tbl_slider',
'coloumn' => array(
'slider_id' => array('id'=>'slider_id', 'label'=>'ID', 'idkey'=>true, 'visible'=>false, 'field_visible'=>true, 'format'=>'HIDDEN'),
'slider_name' => array('id'=>'slider_name', 'label'=>'Slider Name', 'idkey'=>false, 'visible'=>true, 'field_visible'=>true, 'format'=>'TEXT'),
'slider_publish' => array('id'=>'slider_publish', 'label'=>'Date Publish', 'idkey'=>false, 'visible'=>true, 'field_visible'=>true, 'format'=>'TEXT'),
'slider_expire' => array('id'=>'slider_expire', 'label'=>'Date Expired', 'idkey'=>false, 'visible'=>true, 'field_visible'=>true, 'format'=>'TEXT'),
'slider_images' => array('id'=>'slider_images', 'label'=>'Image', 'idkey'=>false, 'visible'=>false, 'field_visible'=>true, 'format'=>'FILE'),
),
'join' =>array(
),
'where' => array(),
'keys' => 'slider_id',
'option_name' => ''
);
}
function fields()
{
$data = array();
return $data;
}
function getlist($params)
{
$list = $this->getListData($params);
$nomor = $params['start'];
$data['records'] = array();
foreach($list['records']->result() as $row):
$actions = '';
$actions .= '<a data-id="'.$row->slider_id.'" data-target="form_modal_slider" data-toggle="modal" class="btn btn-xs btn-success btn-editable"><i class="glyphicon glyphicon-edit"></i>Ubah</a>';
$actions .= '<a data-id="'.$row->slider_id.'" class="btn btn-xs btn-danger btn-removable"><i class="glyphicon glyphicon-trash"></i>Hapus</a>';
$data['records'][] = array(
$nomor+1,
$row->slider_name,
$row->slider_publish,
$row->slider_expire,
$actions
);
$nomor++;
endforeach;
$data['total'] = $list['total'];
$data['total_filter'] = $list['total_filter'];
return $data;
}
}
|
# Digits
- [Data source](https://archive.ics.uci.edu/ml/datasets/Optical+Recognition+of+Handwritten+Digits)
- Train dataset: Samples: 3823 Attributes: 65
- Test dataset: Samples: 1,797 Attributes: 65
- Dont use first column
- Target column: last column (class 0-9)
- Additional preprocessing needed: feature scaling
|
package org.katlas.JavaKh.rows;
import org.katlas.JavaKh.utils.RedBlackIntegerTree;
public class RedBlackIntegerMap<F> extends RedBlackIntegerTree<F> implements MatrixRow<F> {
private static final long serialVersionUID = <API key>;
public void compact() {
}
public void putLast(int key, F f) {
put(key, f);
}
@Override
public void put(int key, F value) {
if(value == null) {
remove(key);
} else {
super.put(key, value);
}
}
}
|
title: DataCite Member Mailing List Subscription
layout: service
# Thank you for subscribing to the DataCite Member Mailing List
This confirms that you have succesfully subscribed to the DataCite Member Mailing List. Please contact info@datacite.org should you have any queries. For further information about our privacy practices please review our Privacy Policy.
|
package com.microsoft.azure.management.mediaservices.v2018_07_01;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The <API key> model.
*/
public class <API key> {
/**
* Unique identifier of the edge device.
*/
@JsonProperty(value = "deviceId")
private String deviceId;
/**
* Get unique identifier of the edge device.
*
* @return the deviceId value
*/
public String deviceId() {
return this.deviceId;
}
/**
* Set unique identifier of the edge device.
*
* @param deviceId the deviceId value to set
* @return the <API key> object itself.
*/
public <API key> withDeviceId(String deviceId) {
this.deviceId = deviceId;
return this;
}
}
|
package com.microsoft.azure.management.apimanagement.v2019_12_01.implementation;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.apimanagement.v2019_12_01.Loggers;
import rx.Completable;
import rx.functions.Func1;
import rx.Observable;
import com.microsoft.azure.Page;
import com.microsoft.azure.management.apimanagement.v2019_12_01.LoggerContract;
class LoggersImpl extends WrapperImpl<LoggersInner> implements Loggers {
private final <API key> manager;
LoggersImpl(<API key> manager) {
super(manager.inner().loggers());
this.manager = manager;
}
public <API key> manager() {
return this.manager;
}
@Override
public LoggerContractImpl define(String name) {
return wrapModel(name);
}
private LoggerContractImpl wrapModel(LoggerContractInner inner) {
return new LoggerContractImpl(inner, manager());
}
private LoggerContractImpl wrapModel(String name) {
return new LoggerContractImpl(name, this.manager());
}
@Override
public Observable<LoggerContract> listByServiceAsync(final String resourceGroupName, final String serviceName) {
LoggersInner client = this.inner();
return client.listByServiceAsync(resourceGroupName, serviceName)
.flatMapIterable(new Func1<Page<LoggerContractInner>, Iterable<LoggerContractInner>>() {
@Override
public Iterable<LoggerContractInner> call(Page<LoggerContractInner> page) {
return page.items();
}
})
.map(new Func1<LoggerContractInner, LoggerContract>() {
@Override
public LoggerContract call(LoggerContractInner inner) {
return new LoggerContractImpl(inner, manager());
}
});
}
@Override
public Completable getEntityTagAsync(String resourceGroupName, String serviceName, String loggerId) {
LoggersInner client = this.inner();
return client.getEntityTagAsync(resourceGroupName, serviceName, loggerId).toCompletable();
}
@Override
public Observable<LoggerContract> getAsync(String resourceGroupName, String serviceName, String loggerId) {
LoggersInner client = this.inner();
return client.getAsync(resourceGroupName, serviceName, loggerId)
.map(new Func1<LoggerContractInner, LoggerContract>() {
@Override
public LoggerContract call(LoggerContractInner inner) {
return new LoggerContractImpl(inner, manager());
}
});
}
@Override
public Completable deleteAsync(String resourceGroupName, String serviceName, String loggerId, String ifMatch) {
LoggersInner client = this.inner();
return client.deleteAsync(resourceGroupName, serviceName, loggerId, ifMatch).toCompletable();
}
}
|
<?php
namespace JamesMannion\ForumBundle\Form\User;
use Symfony\Component\Form\<API key>;
use JamesMannion\ForumBundle\Constants\Label;
use JamesMannion\ForumBundle\Constants\Button;
use JamesMannion\ForumBundle\Constants\Validation;
use Doctrine\ORM\EntityRepository;
use Symfony\Component\Form\AbstractType;
class UserCreateForm extends AbstractType {
private $name = 'userCreateForm';
public function buildForm(<API key> $builder, array $options)
{
$builder->add(
'username',
'text',
array(
'mapped' => true,
'required' => true,
'label' => Label::<API key>,
'max_length' => 100,
)
)
->add(
'email',
'repeated',
array(
'type' => 'email',
'mapped' => true,
'required' => true,
'max_length' => 100,
'invalid_message' => Validation::<API key>,
'first_options' => array(
'label' => Label::REGISTRATION_EMAIL,
),
'second_options' => array(
'label' => Label::<API key>),
)
)
->add(
'password',
'repeated',
array(
'mapped' => true,
'type' => 'password',
'required' => true,
'max_length' => 100,
'invalid_message' => Validation::<API key>,
'first_options' => array('label' => Label::<API key>),
'second_options' => array('label' => Label::<API key>)
)
)
->add(
'memorableQuestion',
'entity',
array(
'mapped' => true,
'required' => true,
'label' => Label::<API key>,
'class' => '<API key>:MemorableQuestion',
'query_builder' =>
function(EntityRepository $er) {
return $er->createQueryBuilder('q')
->orderBy('q.question', 'ASC');
}
)
)
->add(
'memorableAnswer',
'text',
array(
'mapped' => true,
'required' => true,
'label' => Label::<API key>,
'max_length' => 100,
)
)
->add(
'save',
'submit',
array(
'label' => Button::REGISTRATION_SUBMIT
)
);
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
|
Standalone SearchBox
jsx
const { compose, withProps, lifecycle } = require("recompose");
const {
withScriptjs,
} = require("react-google-maps");
const { StandaloneSearchBox } = require("react-google-maps/lib/components/places/StandaloneSearchBox");
const <API key> = compose(
withProps({
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=<Google Api>&v=3.exp&libraries=geometry,drawing,places",
loadingElement: <div style={{ height: `100%` }} />,
containerElement: <div style={{ height: `400px` }} />,
}),
lifecycle({
componentWillMount() {
const refs = {}
this.setState({
places: [],
onSearchBoxMounted: ref => {
refs.searchBox = ref;
},
onPlacesChanged: () => {
const places = refs.searchBox.getPlaces();
this.setState({
places,
});
},
})
},
}),
withScriptjs
)(props =>
<div <API key>="">
<StandaloneSearchBox
ref={props.onSearchBoxMounted}
bounds={props.bounds}
onPlacesChanged={props.onPlacesChanged}
>
<input
type="text"
placeholder="Customized your placeholder"
style={{
boxSizing: `border-box`,
border: `1px solid transparent`,
width: `240px`,
height: `32px`,
padding: `0 12px`,
borderRadius: `3px`,
boxShadow: `0 2px 6px rgba(0, 0, 0, 0.3)`,
fontSize: `14px`,
outline: `none`,
textOverflow: `ellipses`,
}}
/>
</StandaloneSearchBox>
<ol>
{props.places.map(({ place_id, formatted_address, geometry: { location } }) =>
<li key={place_id}>
{formatted_address}
{" at "}
({location.lat()}, {location.lng()})
</li>
)}
</ol>
</div>
);
<<API key> />
|
slidebox = function (params) {
// Carousel
carousel = function () {
var $carousel = $(params.container).children(".carousel"),
$carouselItem = $(".carousel li"),
$triggerLeft = $(params.leftTrigger),
$triggerRight = $(params.rightTrigger),
total = $carouselItem.length,
current = 0;
var moveLeft = function () {
if ( current > 0 ) {
$carousel.animate({ "left": "+=" + params.length + "px" }, params.speed );
current
}
};
var moveRight = function () {
if ( current < total - 2 ) {
$carousel.animate({ "left": "-=" + params.length + "px" }, params.speed );
current++;
}
};
// Initiliaze moveLeft on trigger click
$triggerLeft.on("click", function () {
moveLeft();
});
// Initiliaze moveRight on trigger click
$triggerRight.on("click", function () {
moveRight();
});
// Initiliaze moveLeft on left keypress
$(document).keydown(function (e){
if (e.keyCode == 37) {
moveLeft();
}
});
// Initiliaze moveRight on right keypress
$(document).keydown(function (e){
if (e.keyCode == 39) {
moveRight();
}
});
},
// Lightbox
lightbox = function () {
var trigger = ".carousel li a";
// Close lightbox when pressing esc key
$(document).keydown(function (e){
if (e.keyCode == 27) {
closeLightbox();
}
});
$(document)
// Close lightbox on any click
.on("click", function () {
closeLightbox();
})
// If clicked on a thumbnail trigger, proceed
.on("click", trigger, function (e) {
var $this = $(this);
// Prevent from clicking through
e.preventDefault();
e.stopPropagation();
// Grab the image URL
dest = $this.attr("href");
// Grab the caption from data attribute
capt = $this.children("img").data("caption");
enlarge(dest, capt);
/* If clicked on an enlarged image, stop propagation
so it doesn't get the close function */
$(document).on("click", ".lightbox img", function (e) {
e.stopPropagation();
});
});
closeLightbox = function () {
$(".lightbox-cont").remove();
$(".lightbox").remove();
},
enlarge = function (dest, capt) {
// Create new DOM elements
$("body").append("<div class='lightbox-cont'></div><div class='lightbox'></div>");
$(".lightbox").html(function () {
return "<img src='" + dest + "'><div class='lightbox-caption'>" + capt + "</div>";
});
}
}
// Initialize functions
carousel();
lightbox();
};
|
<?php
// VIEWS/ETHOS/_POST-CAROUSEL.PHP
// Outputs the post carousel that appears at the top of the masthead.
GLOBAL $<API key>;
$<API key> = get_the_ID();
$is_enabled = x_get_option( '<API key>', '' ) == '1';
$count = x_get_option( '<API key>' );
$display = x_get_option( '<API key>' );
switch ( $display ) {
case 'most-commented' :
$args = array(
'post_type' => 'post',
'posts_per_page' => $count,
'orderby' => 'comment_count',
'order' => 'DESC'
);
break;
case 'random' :
$args = array(
'post_type' => 'post',
'posts_per_page' => $count,
'orderby' => 'rand'
);
break;
case 'featured' :
$args = array(
'post_type' => 'post',
'posts_per_page' => $count,
'orderby' => 'date',
'meta_key' => '<API key>',
'meta_value' => 'on'
);
break;
}
?>
<?php if ( $is_enabled ) : ?>
<ul class="x-post-carousel unstyled">
<?php $wp_query = new WP_Query( $args ); ?>
<?php if ( $wp_query->have_posts() ) : ?>
<?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
<li class="<API key>">
<?php x_ethos_entry_cover( 'post-carousel' ); ?>
</li>
<?php endwhile; ?>
<?php endif; ?>
<?php wp_reset_query(); ?>
<script>
jQuery(document).ready(function() {
jQuery('.x-post-carousel').slick({
speed : 500,
slide : 'li',
slidesToShow : <?php echo x_get_option( '<API key>' ); ?>,
slidesToScroll : 1,
responsive : [
{ breakpoint : 1500, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( '<API key>' ); ?> } },
{ breakpoint : 1200, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( '<API key>' ); ?> } },
{ breakpoint : 979, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( '<API key>' ); ?> } },
{ breakpoint : 550, settings : { speed : 500, slide : 'li', slidesToShow : <?php echo x_get_option( '<API key>' ); ?> } }
]
});
});
</script>
</ul>
<?php endif; ?>
|
import test from 'ava';
import Server from '../../src/server';
import IO from '../../src/socket-io';
test.cb('mock socket invokes each handler with unique reference', t => {
const socketUrl = 'ws://roomy';
const server = new Server(socketUrl);
const socket = new IO(socketUrl);
let handlerInvoked = 0;
const handler3 = function handlerFunc() {
t.true(true);
handlerInvoked += 1;
};
// Same functions but different scopes/contexts
socket.on('custom-event', handler3.bind(Object.create(null)));
socket.on('custom-event', handler3.bind(Object.create(null)));
// Same functions with same scope/context (only one should be added)
socket.on('custom-event', handler3);
socket.on('custom-event', handler3); // not expected
socket.on('connect', () => {
socket.join('room');
server.to('room').emit('custom-event');
});
setTimeout(() => {
t.is(handlerInvoked, 3, 'handler invoked too many times');
server.close();
t.end();
}, 500);
});
test.cb('mock socket invokes each handler per socket', t => {
const socketUrl = 'ws://roomy';
const server = new Server(socketUrl);
const socketA = new IO(socketUrl);
const socketB = new IO(socketUrl);
let handlerInvoked = 0;
const handler3 = function handlerFunc() {
t.true(true);
handlerInvoked += 1;
};
// Same functions but different scopes/contexts
socketA.on('custom-event', handler3.bind(socketA));
socketB.on('custom-event', handler3.bind(socketB));
// Same functions with same scope/context (only one should be added)
socketA.on('custom-event', handler3);
socketA.on('custom-event', handler3); // not expected
socketB.on('custom-event', handler3.bind(socketB)); // expected because bind creates a new method
socketA.on('connect', () => {
socketA.join('room');
socketB.join('room');
server.to('room').emit('custom-event');
});
setTimeout(() => {
t.is(handlerInvoked, 4, 'handler invoked too many times');
server.close();
t.end();
}, 500);
});
|
import React from 'react'
import PropTypes from 'prop-types'
import <API key> from './<API key>'
import Instrument from '../../images/Instrument'
import styles from '../../styles/velocityTrim'
import { trimShape } from '../../reducers/velocityTrim'
const handleKeyDown = (event, item, bank, userChangedTrimEnd) => {
let delta = 0
event.nativeEvent.preventDefault()
switch (event.key) {
case 'ArrowUp':
delta = 1
break
case 'ArrowDown':
delta = -1
break
case 'PageUp':
delta = 5
break
case 'PageDown':
delta = -5
break
case 'Enter':
delta = 100
break
case 'Escape':
delta = -100
break
default:
break
}
if (delta !== 0) {
delta += item.trim
if (delta < 0) delta = 0
if (delta > 100) delta = 100
userChangedTrimEnd(item.note, delta, bank)
}
}
const VelocityTrim = (props) => {
const { item, bank, selected, playNote, selectTrim, userChangedTrimEnd } = props
const { note, trim, group, name } = item
return (
<section
tabIndex={note}
onKeyDown={e => handleKeyDown(e, item, bank, userChangedTrimEnd)}
onMouseUp={() => (selected ? null : selectTrim(note))}
className={selected ? styles.selected : ''}
role="presentation"
>
<div
className={styles.header}
onMouseUp={() => playNote(note, Math.round(127 * (trim / 100)), bank)}
role="button"
tabIndex={note}
>
<div>{note}</div>
<div>{group}</div>
<div>{Instrument(group)}</div>
</div>
<div
className={styles.noteName}
title={name}
>
{name}
</div>
<<API key> {...props} />
</section>
)
}
VelocityTrim.propTypes = {
item: trimShape.isRequired,
selected: PropTypes.bool.isRequired,
playNote: PropTypes.func.isRequired,
selectTrim: PropTypes.func.isRequired,
userChangedTrimEnd: PropTypes.func.isRequired,
bank: PropTypes.number.isRequired,
}
export default VelocityTrim
|
class CreateTips < ActiveRecord::Migration[5.0]
def change
create_table :tips do |t|
t.text :body
t.timestamps
end
end
end
|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MY_Controller extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->helper('url');
}
}
class Admin_Controller extends MY_Controller {
public function __construct() {
parent::__construct();
$this->is_logged_in();
}
public function is_logged_in() {
}
}
|
#include <sqlcreatetable.hpp>
namespace cppsqlx
{
SQLCreateTable::SQLCreateTable(std::string tablename)
{
_objectname = tablename;
_objecttype = "TABLE";
}
std::string SQLCreateTable::toString()
{
std::string query;
query = "CREATE ";
query += _objecttype + " " + _objectname;
if(_ds)
{
query += "(\n";
for(auto i = 1; i <= _ds->rowSize() ; i++)
{
query += _ds->at(i).name() + " " + _ds->at(i).type();
if(i != _ds->rowSize())
query += ",\n";
}
query += "\n)";
}
else
{
query += " AS\n";
query += _select;
}
switch(sqldialect_)
{
case DBPROVIDER::GREENPLUM :
{
query+= "\nDISTRIBUTED RANDOMLY";
break;
}
default:
break;
}
return query;
};
SQLCreateTable& SQLCreateTable::as(std::string select)
{
_select = select;
return *this;
}
SQLCreateTable& SQLCreateTable::sameAs(std::shared_ptr<Dataset> ds)
{
_ds = ds;
return *this;
}
};/*namespace cppsqlx*/
|
<?php
/**
* Link posts
*
* @package Start Here
* @since Start Here 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="post-header">
<div class="header-metas">
<?php sh_post_format(); ?>
<?php if( is_singular() ) { edit_post_link( __( 'Edit', 'textdomain' ), '<span class="edit-link">', '</span>' ); } ?>
<span class="post-date">
<time class="published" datetime="<?php echo get_the_time('c'); ?>"><a title="<?php _e( 'Permalink to: ', 'textdomain' ); echo the_title(); ?>" href="<?php the_permalink(); ?>"><?php echo get_the_date(); ?></a></time>
</span>
<span class="post-author">
<?php _e( '- By ', 'textdomain' ); ?><a title="<?php _e('See other posts by ', 'textdomain'); the_author_meta( 'display_name' ); ?>" href="<?php echo <API key>( get_the_author_meta( 'ID' ) ); ?>"><?php the_author_meta( 'display_name' ); ?></a>
</span>
</div>
</header>
<div class="<?php if( is_single() ) { echo 'post-content'; } else { echo 'link-content'; } ?>">
<?php the_content(''); ?>
</div>
<?php if( !is_single() && has_excerpt() ) : ?>
<?php the_excerpt(); ?>
<a class="read-more" href="<?php the_permalink(); ?>" title="<?php echo _e( 'Read more', 'textdomain' ); ?>"><i class="g"></i><?php echo _e( 'Read more', 'textdomain' ); ?></a>
<?php endif; ?>
<?php if( is_single() ) : ?>
<footer class="post-footer">
<ul class="taxo-metas">
<?php if( get_the_category() ) { ?><li class="category"><i class="gicn gicn-category"></i><?php the_category(' • '); ?></li><?php } ?>
<li class="tag-links"><i class="gicn gicn-tag"></i><?php
$tags_list = get_the_tag_list( '', __( ' ', 'textdomain' ) );
if ( $tags_list ) :
printf( __( '%1$s', 'textdomain' ), $tags_list );
else :
_e( 'No tags', 'textdomain' );
endif; ?>
</li>
</ul>
</footer>
<?php endif; ?>
</article>
|
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
html {
color: #222;
font-size: 1em;
line-height: 1.4;
}
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
/*
* A better looking default horizontal rule
*/
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
vertical-align: middle;
}
/*
* Remove default fieldset styles.
*/
fieldset {
border: 0;
margin: 0;
padding: 0;
}
/*
* Allow only vertical resizing of textareas.
*/
textarea {
resize: vertical;
}
.browserupgrade {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
body {
font-family: 'Oswald', sans-serif;
background-image: url("../img/fond.jpg") !important;
background-position: center;
width: 100%;
height: 500px;
background-size: cover;
}
.fondecran{
height: 100%;
}
#mainmenu {
padding-bottom: 2%;
}
#mainmenu li a {
padding-top: 6px;
padding-bottom: 0px;
margin-top: 7px;
height: 34px;
}
.container {
width: 83%;
}
#likefb {
width: 70px;
margin-top: -6%;
}
.border-nav {
border-left: 1px dotted grey;
}
#logo1 {
margin-top: -13px;
width: 60%;
}
/*//////-- NAVBAR --//////*/
/*/////-- Content --//////*/
#slogan1 {
background-color: rgba(0,120,215,0.2);
}
/* footer */
#footer {
color: grey;
height: 63px;
background-color: #608A0C;
}
#footer h1 {
font-size: 1em;
padding-left: 20px;
}
#footer3 {
padding-top: 11px;
}
#footer2 {
font-size: 1.5em;
color: white;
background-color: #87C316;
height : 60px;
background-image: url(../img/shadow.png);
background-size: cover;
}
.border-nav2 {
border-left: 1px dotted grey;
}
.joueur{
position: absolute;
width: 10%;
}
.vide {
position: absolute;
width: 10%;
}
/*
* Hide visually and from screen readers:
*/
.hidden {
display: none !important;
}
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
/*
* Hide visually and from screen readers, but maintain layout
*/
.invisible {
visibility: hidden;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
@media print,
(-<API key>: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}
@media print {
*,
*:before,
*:after {
background: transparent !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
/*
* Don't show links that are fragment identifiers,
* or use the `javascript:` pseudo protocol
*/
a[href^="#"]:after,
a[href^="javascript:"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
|
#!/bin/bash
SCRIPT_PATH="${BASH_SOURCE[0]}";
if ([ -h "${SCRIPT_PATH}" ]) then
while([ -h "${SCRIPT_PATH}" ]) do SCRIPT_PATH=`readlink "${SCRIPT_PATH}"`; done
fi
pushd . > /dev/null
cd `dirname ${SCRIPT_PATH}` > /dev/null
SCRIPT_PATH=`pwd`;
popd > /dev/null
if ! [ -f $SCRIPT_PATH/.nuget/nuget.exe ]
then
wget "https:
fi
mono $SCRIPT_PATH/.nuget/nuget.exe update -self
SCRIPT_PATH="${BASH_SOURCE[0]}";
if ([ -h "${SCRIPT_PATH}" ]) then
while([ -h "${SCRIPT_PATH}" ]) do SCRIPT_PATH=`readlink "${SCRIPT_PATH}"`; done
fi
pushd . > /dev/null
cd `dirname ${SCRIPT_PATH}` > /dev/null
SCRIPT_PATH=`pwd`;
popd > /dev/null
mono $SCRIPT_PATH/.nuget/NuGet.exe update -self
mono $SCRIPT_PATH/.nuget/NuGet.exe install FAKE -OutputDirectory $SCRIPT_PATH/packages -ExcludeVersion -Version 4.16.1
mono $SCRIPT_PATH/.nuget/NuGet.exe install xunit.runner.console -OutputDirectory $SCRIPT_PATH/packages/FAKE -ExcludeVersion -Version 2.0.0
mono $SCRIPT_PATH/.nuget/NuGet.exe install NUnit.Console -OutputDirectory $SCRIPT_PATH/packages/FAKE -ExcludeVersion -Version 3.2.1
mono $SCRIPT_PATH/.nuget/NuGet.exe install NBench.Runner -OutputDirectory $SCRIPT_PATH/packages -ExcludeVersion -Version 0.3.1
if ! [ -e $SCRIPT_PATH/packages/SourceLink.Fake/tools/SourceLink.fsx ] ; then
mono $SCRIPT_PATH/.nuget/NuGet.exe install SourceLink.Fake -OutputDirectory $SCRIPT_PATH/packages -ExcludeVersion
fi
export encoding=utf-8
mono $SCRIPT_PATH/packages/FAKE/tools/FAKE.exe build.fsx "$@"
|
#include <assert.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <video/gl.h>
#include <xxhash.h>
#include <memtrack.h>
#include "base/stack.h"
#include "core/common.h"
#include "base/math_ext.h"
#include "core/asset.h"
#include "core/configs.h"
#include "core/frame.h"
#include "core/logerr.h"
#include <core/application.h>
#include "core/video.h"
#include "video/resources_detail.h"
#include <core/audio.h>
static int running = 1;
static STACK *states_stack;
static APP_STATE *allstates;
static size_t states_num;
NEON_API void
<API key>(unsigned int state) {
if (state > states_num) {
LOG_ERROR("State(%d) out of range", state);
exit(EXIT_FAILURE);
}
push_stack(states_stack, &allstates[state]);
((APP_STATE*)top_stack(states_stack))->on_init();
frame_flush();
}
NEON_API void
<API key>(void) {
((APP_STATE*)pop_stack(states_stack))->on_cleanup();
frame_flush();
}
static void
application_cleanup(void) {
configs_cleanup();
asset_close();
audio_cleanup();
video_cleanup();
while (!is_stack_empty(states_stack))
<API key>();
delete_stack(states_stack);
}
#ifdef OPENAL_BACKEND
#define SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_TIMER)
#else
#define SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)
#endif
NEON_API int
application_exec(const char *title, APP_STATE *states, size_t states_n) {
allstates = states;
states_num = states_n;
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) {
LOG_ERROR("%s\n", SDL_GetError());
return EXIT_FAILURE;
}
atexit(SDL_Quit);
if (TTF_Init() < 0) {
LOG_ERROR("%s\n", TTF_GetError());
return EXIT_FAILURE;
}
atexit(TTF_Quit);
if ((states_stack = new_stack(sizeof(APP_STATE), states_n + 1)) == NULL) {
LOG_ERROR("%s\n", "Can\'t create game states stack");
return EXIT_FAILURE;
}
LOG("%s launched...\n", title);
LOG("Platform: %s\n", SDL_GetPlatform());
video_init(title);
audio_init();
atexit(application_cleanup);
<API key>(0);
if (is_stack_empty(states_stack)) {
LOG_CRITICAL("%s\n", "No game states");
exit(EXIT_FAILURE);
}
SDL_Event event;
Uint64 current = 0;
Uint64 last = 0;
float accumulator = 0.0f;
while(running) {
frame_begin();
while(SDL_PollEvent(&event)) {
((APP_STATE*)top_stack(states_stack))->on_event(&event);
}
asset_process();
resources_process();
last = current;
current = <API key>();
Uint64 freq = <API key>();
float delta = (double)(current - last) / (double)freq;
accumulator += CLAMP(delta, 0.f, 0.2f);
while(accumulator >= TIMESTEP) {
accumulator -= TIMESTEP;
((APP_STATE*)top_stack(states_stack))->on_update(TIMESTEP);
}
((APP_STATE*)top_stack(states_stack))->on_present(screen.width, screen.height, accumulator / TIMESTEP);
video_swap_buffers();
frame_end();
SDL_Delay(1);
}
return EXIT_SUCCESS;
}
NEON_API void
application_quit(void) {
running = 0;
}
|
# Scrapy settings for helloscrapy project
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
BOT_NAME = 'helloscrapy'
SPIDER_MODULES = ['helloscrapy.spiders']
NEWSPIDER_MODULE = 'helloscrapy.spiders'
# Crawl responsibly by identifying yourself (and your website) on the user-agent
DOWNLOAD_DELAY = 3
ROBOTSTXT_OBEY = True
|
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'r&j)3lay4i$rm44n%h)bsv_q(9ysqhl@7@aibjm2b=1)0fag9n'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.<API key>,
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.<API key>',
]
ROOT_URLCONF = 'djangoApp.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'djangoApp.wsgi.application'
# Database
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
# Password validation
<API key> = [
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
]
# <API key>
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
STATIC_URL = '/static/'
|
namespace Engine.Contracts
{
public interface IAct
{
<summary>
Makes an act (or try) and returns how much time it takes
</summary>
<param name="scene">Scene on which act plays</param>
<returns>Time passed</returns>
ActResult Do(IScene scene);
string Name { get; set; }
bool CanDo(IActor actor, IScene scene);
}
public class ActResult
{
public int TimePassed;
public string Message;
}
}
|
#pragma once
#include <QtCore/QPointer>
#include <QtWidgets/QTabWidget>
#include "backend/<API key>.h"
class BreakpointModel;
class PDIBackendRequests;
class DisassemblyView;
class CodeViews : public QTabWidget {
public:
CodeViews(BreakpointModel* breakpoints, QWidget* parent = 0);
virtual ~CodeViews();
void <API key>(BreakpointModel* breakpoints);
void reload_current_file();
void toggle_breakpoint();
void <API key>(PDIBackendRequests* iface);
Q_SLOT void open_file(const QString& filename, bool setActive);
Q_SLOT void <API key>(const PDIBackendRequests::<API key>& pc);
Q_SLOT void session_ended();
private:
Q_SLOT void closeTab(int index);
enum Mode {
SourceView,
Disassembly,
};
void read_settings();
void write_settings();
Mode m_mode = SourceView;
int m_oldIndex = 0;
// DisassemblyView* m_disassemblyView = nullptr;
BreakpointModel* m_breakpoints = nullptr;
QPointer<PDIBackendRequests> m_interface;
QVector<QString> m_files;
bool <API key> = true;
};
inline void CodeViews::<API key>(BreakpointModel* breakpoints) {
m_breakpoints = breakpoints;
}
|
.sample2 .sea {
height: 300px;
width: 480px;
position: relative;
background-image: url(media/fishing.png), url(media/mermaid.png), url(media/sea.png);
background-position: top right 10px, bottom left, top left;
background-repeat: no-repeat, repeat-x, repeat-x;
}
.sample2 .fish {
background: url(media/fish.png) no-repeat;
height: 70px;
width: 100px;
left: 30px;
top: 90px;
position: absolute;
}
|
/**
* @fileoverview Rule to flag use of implied eval via setTimeout and setInterval
* @author James Allardice
*/
"use strict";
// Requirements
const astUtils = require("./utils/ast-utils");
const { getStaticValue } = require("eslint-utils");
// Rule Definition
module.exports = {
meta: {
type: "suggestion",
docs: {
description: "disallow the use of `eval()`-like methods",
category: "Best Practices",
recommended: false,
url: "https://eslint.org/docs/rules/no-implied-eval"
},
schema: [],
messages: {
impliedEval: "Implied eval. Consider passing a function instead of a string."
}
},
create(context) {
const EVAL_LIKE_FUNCS = Object.freeze(["setTimeout", "execScript", "setInterval"]);
const GLOBAL_CANDIDATES = Object.freeze(["global", "window", "globalThis"]);
/**
* Checks whether a node is evaluated as a string or not.
* @param {ASTNode} node A node to check.
* @returns {boolean} True if the node is evaluated as a string.
*/
function isEvaluatedString(node) {
if (
(node.type === "Literal" && typeof node.value === "string") ||
node.type === "TemplateLiteral"
) {
return true;
}
if (node.type === "BinaryExpression" && node.operator === "+") {
return isEvaluatedString(node.left) || isEvaluatedString(node.right);
}
return false;
}
/**
* Checks whether a node is an Identifier node named one of the specified names.
* @param {ASTNode} node A node to check.
* @param {string[]} specifiers Array of specified name.
* @returns {boolean} True if the node is a Identifier node which has specified name.
*/
function <API key>(node, specifiers) {
return node.type === "Identifier" && specifiers.includes(node.name);
}
/**
* Checks a given node is a MemberExpression node which has the specified name's
* property.
* @param {ASTNode} node A node to check.
* @param {string[]} specifiers Array of specified name.
* @returns {boolean} `true` if the node is a MemberExpression node which has
* the specified name's property
*/
function isSpecifiedMember(node, specifiers) {
return node.type === "MemberExpression" && specifiers.includes(astUtils.<API key>(node));
}
/**
* Reports if the `CallExpression` node has evaluated argument.
* @param {ASTNode} node A CallExpression to check.
* @returns {void}
*/
function <API key>(node) {
const [firstArgument] = node.arguments;
if (firstArgument) {
const staticValue = getStaticValue(firstArgument, context.getScope());
const isStaticString = staticValue && typeof staticValue.value === "string";
const isString = isStaticString || isEvaluatedString(firstArgument);
if (isString) {
context.report({
node,
messageId: "impliedEval"
});
}
}
}
/**
* Reports calls of `implied eval` via the global references.
* @param {Variable} globalVar A global variable to check.
* @returns {void}
*/
function <API key>(globalVar) {
const { references, name } = globalVar;
references.forEach(ref => {
const identifier = ref.identifier;
let node = identifier.parent;
while (isSpecifiedMember(node, [name])) {
node = node.parent;
}
if (isSpecifiedMember(node, EVAL_LIKE_FUNCS)) {
const parent = node.parent;
if (parent.type === "CallExpression" && parent.callee === node) {
<API key>(parent);
}
}
});
}
// Public
return {
CallExpression(node) {
if (<API key>(node.callee, EVAL_LIKE_FUNCS)) {
<API key>(node);
}
},
"Program:exit"() {
const globalScope = context.getScope();
GLOBAL_CANDIDATES
.map(candidate => astUtils.getVariableByName(globalScope, candidate))
.filter(globalVar => !!globalVar && globalVar.defs.length === 0)
.forEach(<API key>);
}
};
}
};
|
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace <API key>.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class BlockResponse
{
<summary>
Initializes a new instance of the BlockResponse class.
</summary>
public BlockResponse()
{
CustomInit();
}
<summary>
Initializes a new instance of the BlockResponse class.
</summary>
public BlockResponse(long number, string blockHash = default(string), string gasUsed = default(string), string gasLimit = default(string), string parentHash = default(string))
{
BlockHash = blockHash;
GasUsed = gasUsed;
GasLimit = gasLimit;
ParentHash = parentHash;
Number = number;
CustomInit();
}
<summary>
An initialization method that performs custom operations like setting defaults
</summary>
partial void CustomInit();
<summary>
</summary>
[JsonProperty(PropertyName = "blockHash")]
public string BlockHash { get; set; }
<summary>
</summary>
[JsonProperty(PropertyName = "gasUsed")]
public string GasUsed { get; set; }
<summary>
</summary>
[JsonProperty(PropertyName = "gasLimit")]
public string GasLimit { get; set; }
<summary>
</summary>
[JsonProperty(PropertyName = "parentHash")]
public string ParentHash { get; set; }
<summary>
</summary>
[JsonProperty(PropertyName = "number")]
public long Number { get; set; }
<summary>
Validate the object.
</summary>
<exception cref="Microsoft.Rest.ValidationException">
Thrown if validation fails
</exception>
public virtual void Validate()
{
//Nothing to validate
}
}
}
|
// BPPopToast.h
// BPKITsDemo
#import <UIKit/UIKit.h>
@interface BPPopToast : UIView
@property (copy, nonatomic) NSString *text;
- (void)popToastAtRect:(CGRect)rect inView:(UIView *)view;
@end
@interface NSString (BPPopToast)
- (void)popToastAtRect:(CGRect)rect inView:(UIView *)view;
@end
|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Library to generate items for Sortable.js
*/
class Sortable {
protected $CI;
protected $mItems;
protected $mPostName = 'sortable_ids';
public function __construct()
{
$this->CI =& get_instance();
$this->CI->load->library('parser');
$this->CI->load->library('system_message');
}
// Get items to be sorted
public function init($model, $order_field = 'pos')
{
$this->CI->load->model($model, 'm');
$ids = $this->CI->input->post($this->mPostName);
// save to database
if ( !empty($ids) )
{
for ($i=0; $i<count($ids); $i++)
{
$updated = $this->CI->m->update($ids[$i], array($order_field => $i+1));
}
// refresh page (interrupt other logic)
$this->CI->system_message->set_success('Successfully updated sort order.');
refresh();
}
// return all records in sorted order
$this->CI->db->order_by($order_field, 'ASC');
$items = $this->CI->m->get_all();
$this->mItems = $items;
return $this;
}
// Render template
public function render($label_template = '{title}', $back_url = NULL)
{
if ( empty($this->mItems) )
{
return '<p>No records are found.</p>';
}
else
{
$html = box_open('Sort Order', 'primary');
// Render form with alert message
$html.= '<form action="'.current_url().'" method="POST">';
$html.= $this->CI->system_message->render();
$html.= '<p>Drag and drop below items to sort them in ascending order:</p>';
// Generate item list by CodeIgniter Template Parser
$template = '<ul class="sortable list-group">
{items}
<li class="list-group-item">
<strong>'.$label_template.'</strong>
<input type="hidden" name="'.$this->mPostName.'[]" value="{id}" />
</li>
{/items}
</ul>';
$data = array('items' => $this->mItems);
$html.= $this->CI->parser->parse_string($template, $data, TRUE);
if ($back_url!=NULL)
$html.= btn('Back', $back_url, 'reply', 'bg-purple').' ';
$html.= btn_submit('Save');
$html.= '</form>';
$html.= box_close();
return $html;
}
}
}
|
import NodeFunction from '../core/NodeFunction.js';
import NodeFunctionInput from '../core/NodeFunctionInput.js';
const declarationRegexp = /^\s*(highp|mediump|lowp)?\s*([a-z_0-9]+)\s*([a-z_0-9]+)?\s*\(([\s\S]*?)\)/i;
const propertiesRegexp = /[a-z_0-9]+/ig;
const pragmaMain = '#pragma main';
const parse = ( source ) => {
const pragmaMainIndex = source.indexOf( pragmaMain );
const mainCode = pragmaMainIndex !== - 1 ? source.substr( pragmaMainIndex + pragmaMain.length ) : source;
const declaration = mainCode.match( declarationRegexp );
if ( declaration !== null && declaration.length === 5 ) {
// tokenizer
const inputsCode = declaration[ 4 ];
const propsMatches = [];
let nameMatch = null;
while ( ( nameMatch = propertiesRegexp.exec( inputsCode ) ) !== null ) {
propsMatches.push( nameMatch );
}
// parser
const inputs = [];
let i = 0;
while ( i < propsMatches.length ) {
const isConst = propsMatches[ i ][ 0 ] === 'const';
if ( isConst === true ) {
i ++;
}
let qualifier = propsMatches[ i ][ 0 ];
if ( qualifier === 'in' || qualifier === 'out' || qualifier === 'inout' ) {
i ++;
} else {
qualifier = '';
}
const type = propsMatches[ i ++ ][ 0 ];
let count = Number.parseInt( propsMatches[ i ][ 0 ] );
if ( Number.isNaN( count ) === false ) i ++;
else count = null;
const name = propsMatches[ i ++ ][ 0 ];
inputs.push( new NodeFunctionInput( type, name, count, qualifier, isConst ) );
}
const blockCode = mainCode.substring( declaration[ 0 ].length );
const name = declaration[ 3 ] !== undefined ? declaration[ 3 ] : '';
const type = declaration[ 2 ];
const presicion = declaration[ 1 ] !== undefined ? declaration[ 1 ] : '';
const headerCode = pragmaMainIndex !== - 1 ? source.substr( 0, pragmaMainIndex ) : '';
return {
type,
inputs,
name,
presicion,
inputsCode,
blockCode,
headerCode
};
} else {
throw new Error( 'FunctionNode: Function is not a GLSL code.' );
}
};
class GLSLNodeFunction extends NodeFunction {
constructor( source ) {
const { type, inputs, name, presicion, inputsCode, blockCode, headerCode } = parse( source );
super( type, inputs, name, presicion );
this.inputsCode = inputsCode;
this.blockCode = blockCode;
this.headerCode = headerCode;
}
getCode( name = this.name ) {
const headerCode = this.headerCode;
const presicion = this.presicion;
let declarationCode = `${ this.type } ${ name } ( ${ this.inputsCode.trim() } )`;
if ( presicion !== '' ) {
declarationCode = `${ presicion } ${ declarationCode }`;
}
return headerCode + declarationCode + this.blockCode;
}
}
export default GLSLNodeFunction;
|
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.<API key>(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1 = require('@angular/core');
var router_1 = require('@angular/router');
var app_service_1 = require("./app-service");
var AppComponent = (function () {
function AppComponent(breadCrumbSvc, _router) {
this.breadCrumbSvc = breadCrumbSvc;
this._router = _router;
this.breadCrumbSvc.setBreadCrumb('Project Dashboard');
}
AppComponent.prototype.navigateHome = function () {
this._router.navigate(['home']);
;
};
AppComponent = __decorate([
core_1.Component({
selector: 'ts-app',
templateUrl: '/app/app-component.html'
}),
__metadata('design:paramtypes', [app_service_1.BreadcrumbService, router_1.Router])
], AppComponent);
return AppComponent;
}());
exports.AppComponent = AppComponent;
|
using Feria_Desktop.View.Usuario;
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.Windows.Navigation;
using System.Windows.Shapes;
namespace Feria_Desktop.View.Mantenedor
{
<summary>
Lógica de interacción para Bodega.xaml
</summary>
public partial class Bodega : Page
{
private vEditarBodega modEditarBodega;
public Bodega()
{
InitializeComponent();
}
private void btnNuevo_Click(object sender, RoutedEventArgs e)
{
modEditarBodega = new vEditarBodega();
modEditarBodega.ShowDialog();
}
}
}
|
/**
* Copies the values of `source` to `array`.
*
* @private
* @param {Array} source The array to copy values from.
* @param {Array} [array=[]] The array to copy values to.
* @returns {Array} Returns `array`.
*/
function arrayCopy(source, array) {
var index = -1,
length = source.length;
array || (array = Array(length));
while (++i < length) {
array[i] = source[i];
}
return array;
}
module.exports = arrayCopy;
|
// <API key>.h
// Snapper
#import "<API key>.h"
@interface <API key> : <API key>
// -- Properties --
@property (nonatomic, assign) NSInteger streamId;
// -- Initializers --
- (nonnull instancetype)initWithStreamId:(NSUInteger)streamId
appToken:(nonnull NSString*)appToken
finishBlock:(nonnull void (^)(SNPResponse* _Nonnull response))finishBlock;
@end
|
package de.uni.bremen.stummk.psp.calculation;
import java.lang.reflect.<API key>;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.<API key>;
import org.eclipse.jface.operation.<API key>;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
import de.uni.bremen.stummk.psp.control.BarChart;
import de.uni.bremen.stummk.psp.control.LineChart;
import de.uni.bremen.stummk.psp.control.PieChart;
import de.uni.bremen.stummk.psp.data.PSPProject;
import de.uni.bremen.stummk.psp.data.ScheduleEntry;
import de.uni.bremen.stummk.psp.utility.CheckOperation;
import de.uni.bremen.stummk.psp.utility.Constants;
import de.uni.bremen.stummk.psp.utility.DataIO;
import de.uni.bremen.stummk.psp.utility.FileHash;
/**
* Class represents an action of the toolbar in the editor
*
* @author Konstantin
*
*/
public class EditorToolbarAction extends Action implements IWorkbenchAction {
private <API key> etc;
/**
* Constructor
*
* @param id the Id of the Action
* @param <API key> the {@link <API key>} of the
* {@link EditorToolbarAction}
*/
public EditorToolbarAction(String id, <API key> <API key>) {
setId(id);
this.etc = <API key>;
}
@Override
public void run() {
handleAction(getId());
}
private void handleAction(String id) {
// execute action depending on id
switch (id) {
case Constants.COMMAND_SYNC:
exportData();
break;
case Constants.<API key>:
new BarChart(etc.<API key>(),
"Plan vs. Actual Values - " + etc.<API key>().getProject().getProjectName());
break;
case Constants.<API key>:
new PieChart(etc.<API key>(), Constants.<API key>,
"Distribution of time in phase - " + etc.<API key>().getProject().getProjectName());
break;
case Constants.<API key>:
new PieChart(etc.<API key>(), Constants.<API key>,
"Distribution of injected defects - " + etc.<API key>().getProject().getProjectName());
break;
case Constants.<API key>:
new PieChart(etc.<API key>(), Constants.<API key>,
"Distribution of removed defects - " + etc.<API key>().getProject().getProjectName());
break;
case Constants.<API key>:
List<ScheduleEntry> entries =
Manager.getInstance().getSchedulePlanning(etc.<API key>().getProject().getProjectName());
new LineChart("Time Progress in Project - " + etc.<API key>().getProject().getProjectName(),
Constants.CHART_TIME, entries);
break;
case Constants.<API key>:
List<ScheduleEntry> e =
Manager.getInstance().getSchedulePlanning(etc.<API key>().getProject().getProjectName());
new LineChart("Earned Value Tracking in Project - " + etc.<API key>().getProject().getProjectName(),
Constants.CHART_VALUE, e);
break;
}
}
private void exportData() {
// exports data to psp-file and create hash
try {
Shell activeShell = PlatformUI.getWorkbench().<API key>().getShell();
<API key> op = new <API key>() {
@Override
public void run(IProgressMonitor monitor) throws <API key>, <API key> {
try {
monitor.beginTask("Export data to psp.csv file", 2);
PSPProject psp =
Manager.getInstance().loadBackupProject(etc.<API key>().getProject().getProjectName());
if (psp != null && psp.getSummary() != null) {
DataIO.saveToFile(etc.<API key>().getProject().getProjectName(), psp, null);
}
monitor.worked(1);
if (psp != null && psp.getSummary() != null) {
IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
for (IProject project : projects) {
if (project.getName().equals(etc.<API key>().getProject().getProjectName())) {
IFile file = CheckOperation.getProjectFile(project);
String hash = FileHash.hash(file);
try {
file.<API key>(Constants.PROPERTY_HASH, hash);
} catch (CoreException e) {
e.printStackTrace();
}
}
}
}
monitor.worked(1);
} finally {
monitor.done();
}
}
};
new <API key>(activeShell).run(true, true, op);
} catch (<API key> | <API key> e) {
e.printStackTrace();
}
}
@Override
public void dispose() {}
}
|
layout: post
title: "From interaction-based to state-based testing"
description: "Indiscriminate use of Mocks and Stubs can lead to brittle test suites. A more functional design can make state-based testing easier, leading to more robust test suites."
date: 2019-02-18 8:19 UTC
tags: [Unit Testing, Article Series]
{% include JB/setup %}
<div id="post">
<p>
<em>{{ page.description }}</em>
</p>
<p>
The original premise of <a href="http://amzn.to/YPdQDf">Refactoring</a> was that in order to refactor, you must have a trustworthy suite of unit tests, so that you can be confident that you didn't break any functionality.
<blockquote>
<p>"to refactor, the essential precondition is [...] solid tests"</p>
<footer><cite>Martin Fowler, <a href="http://amzn.to/YPdQDf">Refactoring</a></cite></footer>
</blockquote>
The idea is that you can change how the code is organised, and as long as you don't break any tests, all is good. The experience that most people seem to have, though, is that when they change something in the code, tests break.
</p>
<p>
This is a well-known test smell. In <a href="http://bit.ly/xunitpatterns">xUnit Test Patterns</a> this is called <em>Fragile Test</em>, and it's often caused by <em>Overspecified Software</em>. Even if you follow the proper practice of using <a href="/2013/10/23/<API key>">Mocks for Commands, Stubs for Queries</a>, you can still end up with a code base where the tests are highly coupled to implementation details of the software.
</p>
<p>
The cause is often that when relying on Mocks and Stubs, test verification hinges on how the System Under Test (SUT) interacts with its dependencies. For that reason, we can call such tests <em>interaction-based tests</em>. For more information, watch my Pluralsight course <a href="{{ site.production_url }}/<API key>">Advanced Unit Testing</a>.
</p>
<h3 id="<API key>">
Lessons from functional programming <a href="#<API key>" title="permalink">#</a>
</h3>
<p>
Another way to verify the outcome of a test is to inspect the state of the system after exercising the SUT. We can, quite naturally, call this <em>state-based testing</em>. In object-oriented design, this can lead to other problems. <a href="http:
</p>
<p>
Interestingly, in his article, Nat Pryce concludes:
<blockquote>
"I have come to think of object oriented programming as an inversion of functional programming. In a lazy functional language data is pulled through functions that transform the data and combine it into a single result. In an object oriented program, data is pushed out in messages to objects that transform the data and push it out to other objects for further processing."
</blockquote>
That's an impressively perceptive observation to make in 2004. I wish I was that perspicacious, but I only <a href="{{ site.production_url }}/<API key>">reached a similar conclusion ten years later</a>.
</p>
<p>
Functional programming is based on the fundamental principle of <a href="https://en.wikipedia.org/wiki/<API key>">referential transparency</a>, which, among other things, means that data must be immutable. Thus, no objects change state. Instead, functions can return data that contains immutable state. In unit tests, you can verify that return values are as expected. <a href="/2015/05/07/<API key>">Functional design is intrinsically testable</a>; we can consider it a kind of state-based testing, although the states you'd be verifying are immutable return values.
</p>
<p>
In this article series, you'll see three different styles of testing, from interaction-based testing with Mocks and Stubs in C
<ul>
<li><a href="/2019/02/25/<API key>">An example of interaction-based testing in C#</a></li>
<li><a href="/2019/03/11/<API key>">An example of state-based testing in Haskell</a></li>
<li><a href="/2019/03/25/<API key>">An example of state based-testing in F#</a></li>
<li><a href="/2019/04/01/<API key>">An example of state-based testing in C#</a></li>
<li><a href="/2019/04/08/a-pure-test-spy">A pure Test Spy</a></li>
</ul>
The code for all of these articles is <a href="https://github.com/ploeh/UserManagement">available on GitHub</a>.
</p>
<h3 id="<API key>">
Summary <a href="#<API key>" title="permalink">#</a>
</h3>
<p>
Adopting a more functional design, even in a fundamentally object-oriented language like C# can, in my experience, lead to a more sustainable code base. Various maintenance tasks become easier, including unit tests. Functional programming, however, is no panacea. My intent with this article series is only to inspire; to show alternatives to the ways things are normally done. Adopting one of those alternatives could lead to better code, but you must still exercise context-specific judgement.
</p>
<p>
<strong>Next:</strong> <a href="/2019/02/25/<API key>">An example of interaction-based testing in C
</p>
</div>
|
This is the sensor class
Sensor is a box2d fixture that is attached to a parent body
Sensors are used to detect entities in an area.
#pragma once
#include <AFP/Scene/SceneNode.hpp>
#include <AFP/Entity/Entity.hpp>
#include <AFP/Entity/Character.hpp>
namespace AFP
{
class Sensor : public SceneNode
{
public:
enum Type
{
Foot,
Surround,
Vision,
Jump
};
Constructor
Sensor(Entity* parent, Type type);
Return sensor category
Returns the sensor category based on the type
virtual unsigned int getCategory() const;
Create foot sensor
Creates a foot sensor on feet
void createFootSensor(float sizeX, float sizeY);
Create vision sensor
Creates a vision sensor for the entity.
Takes radius in meters and the angle in degrees as parameters
void createVisionSensor(float radius, float angle);
Create surround sensor
Creates a foot sensor on feet
void <API key>(float radius);
Create foot sensor
Creates a foot sensor on feet
void createJumpSensor(float sizeX, float sizeY);
Begin contact
Begin contact with an entity
void beginContact();
Begin contact
Begin contact with an character
void beginContact(Character& character);
End contact
End contact with an entity
void endContact();
End contact
End contact with a character
void endContact(Character& character);
private:
Update
Update sensor data.
virtual void updateCurrent(sf::Time dt, CommandQueue& commands);
private:
Sensor fixture
Sensors fixture is linked to the body of the parent.
b2Fixture* mFixture;
Parent entity
Entity on which the sensor is attached to
Entity* mParent;
Type
Type of the sensor
Type mType;
};
}
|
package insanityradio.insanityradio;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class PlayPauseReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
try {
FragmentNowPlaying.getInstance().<API key>(false);
} catch (<API key> e) {
Intent startActivityIntent = new Intent(context.<API key>(), MainActivity.class);
startActivityIntent.setFlags(Intent.<API key>);
context.startActivity(startActivityIntent);
}
}
}
|
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ['HERTZ_SECRET_KEY']
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ['HERTZ_DEBUG'] != 'False'
ALLOWED_HOSTS = ['*' if DEBUG else os.environ['HERTZ_HOST']]
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'widget_tweaks',
'attendance',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.<API key>,
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.<API key>',
]
ROOT_URLCONF = 'hertz.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [
os.path.join(BASE_DIR, 'templates'),
],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'hertz.wsgi.application'
# Database
if 'DATABASE_HOST' in os.environ:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': os.environ['POSTGRES_USER'],
'PASSWORD': os.environ['POSTGRES_PASSWORD'],
'HOST': os.environ['DATABASE_HOST'],
'PORT': 5432,
}
}
else:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
# Password validation
<API key> = [
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
{
'NAME': 'django.contrib.auth.password_validation.<API key>',
},
]
# <API key>
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'America/Sao_Paulo'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# STATICFILES_DIRS = [
# os.path.join(BASE_DIR, 'static'),
LOGIN_REDIRECT_URL = '/'
LOGIN_URL = '/login'
|
<?php
/* FOSUserBundle:Resetting:request_content.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 2
echo "
<form action=\"";
// line 3
echo $this->env->getExtension('routing')->getPath("<API key>");
echo "\" method=\"POST\" class=\"<API key>\">
<div>
";
// line 5
if (array_key_exists("invalid_username", $context)) {
// line 6
echo " <p>";
echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("resetting.request.invalid_username", array("%username%" => (isset($context["invalid_username"]) ? $context["invalid_username"] : $this->getContext($context, "invalid_username"))), "FOSUserBundle"), "html", null, true);
echo "</p>
";
}
// line 8
echo " <label for=\"username\">";
echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("resetting.request.username", array(), "FOSUserBundle"), "html", null, true);
echo "</label>
<input type=\"text\" id=\"username\" name=\"username\" required=\"required\" />
</div>
<div>
<input type=\"submit\" value=\"";
// line 12
echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("resetting.request.submit", array(), "FOSUserBundle"), "html", null, true);
echo "\" />
</div>
</form>
";
}
public function getTemplateName()
{
return "FOSUserBundle:Resetting:request_content.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 43 => 12, 35 => 8, 29 => 6, 27 => 5, 22 => 3, 19 => 2,);
}
}
|
export default (callback) => {
setTimeout(() => {
callback();
setTimeout(() => {
callback();
}, 3000);
}, 3000);
}
|
Tree `flatten`
Write a procedure called `tree->list` that completely flattens a tree to a list
Example usage:
racket
(tree->list '[1 2 [3 [4]] [5]])
;;=> '[1 2 3 4 5]
|
.float-btn-wrapper {
width: 75;
height: 75;
}
.float-btn-shadow {
width: 56;
height: 56;
}
.float-btn {
background-color: #FF69B4;
border-radius: 28;
width: 56;
height: 56;
text-align: center;
vertical-align: middle;
}
.float-btn.down{
animation-name: down;
animation-duration: 0.2s;
animation-fill-mode: forwards;
}
.float-btn-text {
color: #ffffff;
font-size: 36;
margin-top: -3;
margin-right: -1;
}
@keyframes down {
from { background-color: #FF69B4 }
to { background-color: #FFA9B4 }
}
|
import re
import warnings
import ctds
from .base import <API key>
from .compat import PY3, PY36, unicode_
class TestTdsParameter(<API key>):
def test___doc__(self):
self.assertEqual(
ctds.Parameter.__doc__,
'''\
Parameter(value, output=False)
Explicitly define a parameter for :py:meth:`.callproc`,
:py:meth:`.execute`, or :py:meth:`.executemany`. This is necessary
to indicate whether a parameter is *SQL* `OUTPUT` or `INPUT/OUTPUT`
parameter.
:param object value: The parameter's value.
:param bool output: Is the parameter an output parameter.
'''
)
def test_parameter(self):
param1 = ctds.Parameter(b'123', output=True)
self.assertEqual(param1.value, b'123')
self.assertTrue(isinstance(param1, ctds.Parameter))
param2 = ctds.Parameter(b'123')
self.assertEqual(param1.value, b'123')
self.assertEqual(type(param1), type(param2))
self.assertTrue(isinstance(param2, ctds.Parameter))
def test___repr__(self):
for parameter, expected in (
(
ctds.Parameter(b'123', output=True),
"ctds.Parameter(b'123', output=True)" if PY3 else "ctds.Parameter('123', output=True)"
),
(
ctds.Parameter(unicode_('123'), output=False),
"ctds.Parameter('123')" if PY3 else "ctds.Parameter(u'123')"
),
(
ctds.Parameter(None),
"ctds.Parameter(None)"
),
(
ctds.Parameter(ctds.SqlVarBinary(b'4321', size=10)),
"ctds.Parameter(ctds.SqlVarBinary(b'4321', size=10))"
if PY3 else
"ctds.Parameter(ctds.SqlVarBinary('4321', size=10))"
)
):
self.assertEqual(repr(parameter), expected)
def _test__cmp__(self, __cmp__, expected, oper):
cases = (
(ctds.Parameter(b'1234'), ctds.Parameter(b'123')),
(ctds.Parameter(b'123'), ctds.Parameter(b'123')),
(ctds.Parameter(b'123'), ctds.Parameter(b'123', output=True)),
(ctds.Parameter(b'123'), ctds.Parameter(b'1234')),
(ctds.Parameter(b'123'), b'123'),
(ctds.Parameter(b'123'), ctds.Parameter(123)),
(ctds.Parameter(b'123'), unicode_('123')),
(ctds.Parameter(b'123'), ctds.SqlBinary(None)),
(ctds.Parameter(b'123'), 123),
(ctds.Parameter(b'123'), None),
)
for index, args in enumerate(cases):
operation = '[{0}]: {1} {2} {3}'.format(index, repr(args[0]), oper, repr(args[1]))
if expected[index] == TypeError:
try:
__cmp__(*args)
except TypeError as ex:
regex = (
r"'{0}' not supported between instances of '[^']+' and '[^']+'".format(oper)
if not PY3 or PY36
else
r'unorderable types: \S+ {0} \S+'.format(oper)
)
self.assertTrue(re.match(regex, str(ex)), ex)
else:
self.fail('{0} did not fail as expected'.format(operation)) # pragma: nocover
else:
self.assertEqual(__cmp__(*args), expected[index], operation)
def test___cmp__eq(self):
self._test__cmp__(
lambda left, right: left == right,
(
False,
True,
True,
False,
True,
False,
not PY3,
False,
False,
False,
),
'=='
)
def test___cmp__ne(self):
self._test__cmp__(
lambda left, right: left != right,
(
True,
False,
False,
True,
False,
True,
PY3,
True,
True,
True,
),
'!='
)
def test___cmp__lt(self):
self._test__cmp__(
lambda left, right: left < right,
(
False,
False,
False,
True,
False,
TypeError if PY3 else False,
TypeError if PY3 else False,
TypeError if PY3 else False,
TypeError if PY3 else False,
TypeError if PY3 else False,
),
'<'
)
def test___cmp__le(self):
self._test__cmp__(
lambda left, right: left <= right,
(
False,
True,
True,
True,
True,
TypeError if PY3 else False,
TypeError if PY3 else True,
TypeError if PY3 else False,
TypeError if PY3 else False,
TypeError if PY3 else False,
),
'<='
)
def test___cmp__gt(self):
self._test__cmp__(
lambda left, right: left > right,
(
True,
False,
False,
False,
False,
TypeError if PY3 else True,
TypeError if PY3 else False,
TypeError if PY3 else True,
TypeError if PY3 else True,
TypeError if PY3 else True,
),
'>'
)
def test___cmp__ge(self):
self._test__cmp__(
lambda left, right: left >= right,
(
True,
True,
True,
False,
True,
TypeError if PY3 else True,
TypeError if PY3 else True,
TypeError if PY3 else True,
TypeError if PY3 else True,
TypeError if PY3 else True,
),
'>='
)
def test_typeerror(self):
for case in (None, object(), 123, 'foobar'):
self.assertRaises(TypeError, ctds.Parameter, case, b'123')
self.assertRaises(TypeError, ctds.Parameter)
self.assertRaises(TypeError, ctds.Parameter, output=False)
for case in (None, object(), 123, 'foobar'):
self.assertRaises(TypeError, ctds.Parameter, b'123', output=case)
def test_reuse(self):
with self.connect() as connection:
with connection.cursor() as cursor:
for value in (
None,
123456,
unicode_('hello world'),
b'some bytes',
):
for output in (True, False):
parameter = ctds.Parameter(value, output=output)
for _ in range(0, 2):
# Ignore warnings generated due to output parameters
# used with result sets.
with warnings.catch_warnings(record=True):
cursor.execute(
'''
SELECT :0
''',
(parameter,)
)
self.assertEqual(
[tuple(row) for row in cursor.fetchall()],
[(value,)]
)
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace HolisticWare.Ph4ct3x.Server.Pages.Ph4ct3x.Communication
{
public class <API key> : PageModel
{
public void OnGet()
{
}
}
}
|
#ifndef <API key>
#define <API key>
#include <list>
#include <memory>
#include <API key> //original-code:"api/rtp_headers.h" // NOLINT(build/include)
#include <API key> //original-code:"common_types.h" // NOLINT(build/include)
#include <API key> //original-code:"rtc_base/constructormagic.h"
#include <API key> //original-code:"typedefs.h" // NOLINT(build/include)
namespace webrtc {
class RtpHeaderParser;
namespace test {
// Class for handling RTP packets in test applications.
class Packet {
public:
// Creates a packet, with the packet payload (including header bytes) in
// |packet_memory|. The length of |packet_memory| is |allocated_bytes|.
// The new object assumes ownership of |packet_memory| and will delete it
// when the Packet object is deleted. The |time_ms| is an extra time
// associated with this packet, typically used to denote arrival time.
// The first bytes in |packet_memory| will be parsed using |parser|.
Packet(uint8_t* packet_memory,
size_t allocated_bytes,
double time_ms,
const RtpHeaderParser& parser);
// Same as above, but with the extra argument |<API key>|.
// This is typically used when reading RTP dump files that only contain the
// RTP headers, and no payload (a.k.a RTP dummy files or RTP light). The
// |<API key>| tells what size the packet had on wire,
// including the now discarded payload, whereas |allocated_bytes| is the
// length of the remaining payload (typically only the RTP header).
Packet(uint8_t* packet_memory,
size_t allocated_bytes,
size_t <API key>,
double time_ms,
const RtpHeaderParser& parser);
// The following two constructors are the same as above, but without a
// parser. Note that when the object is constructed using any of these
// methods, the header will be parsed using a default RtpHeaderParser object.
// In particular, RTP header extensions won't be parsed.
Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms);
Packet(uint8_t* packet_memory,
size_t allocated_bytes,
size_t <API key>,
double time_ms);
virtual ~Packet();
// Parses the first bytes of the RTP payload, interpreting them as RED headers
// according to RFC 2198. The headers will be inserted into |headers|. The
// caller of the method assumes ownership of the objects in the list, and
// must delete them properly.
bool ExtractRedHeaders(std::list<RTPHeader*>* headers) const;
// Deletes all RTPHeader objects in |headers|, but does not delete |headers|
// itself.
static void DeleteRedHeaders(std::list<RTPHeader*>* headers);
const uint8_t* payload() const { return payload_; }
size_t packet_length_bytes() const { return <API key>; }
size_t <API key>() const { return <API key>; }
size_t <API key>() const {
return <API key>;
}
size_t <API key>() const {
return <API key>;
}
const RTPHeader& header() const { return header_; }
void set_time_ms(double time) { time_ms_ = time; }
double time_ms() const { return time_ms_; }
bool valid_header() const { return valid_header_; }
private:
bool ParseHeader(const RtpHeaderParser& parser);
void CopyToHeader(RTPHeader* destination) const;
RTPHeader header_;
std::unique_ptr<uint8_t[]> payload_memory_;
const uint8_t* payload_; // First byte after header.
const size_t <API key>; // Total length of packet.
size_t <API key>; // Length of the payload, after RTP header.
// Zero for dummy RTP packets.
// Virtual lengths are used when parsing RTP header files (dummy RTP files).
const size_t <API key>;
size_t <API key>;
double time_ms_; // Used to denote a packet's arrival time.
bool valid_header_; // Set by the RtpHeaderParser.
<API key>(Packet);
};
} // namespace test
} // namespace webrtc
#endif // <API key>
|
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Cross-correlations: GlobalVariables Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Cross-correlations
 <span id="projectnumber">1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="<API key>">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">GlobalVariables Class Reference</div> </div>
</div><!--header
<div class="contents">
<p><code>#include <<a class="el" href="<API key>.html">global_variables.h</a>></code></p>
<p><a href="<API key>.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">GlobalVariables</a> ()</td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">c</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>"><API key></a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">h</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">h0</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">lya_spectra_catalog</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>"><API key></a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">lya_spectra_dir</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">lya_wl</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">max_pi</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">max_sigma</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>"><API key></a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>"><API key></a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">num_bins</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">num_pi_bins</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">num_plates</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>"><API key></a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">num_sigma_bins</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">objects_catalog</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>"><API key></a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">pairs_file_name</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">plate_neighbours</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">plots</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">pwd</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">results</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">step_pi</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">step_sigma</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">wm</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">z_max</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">z_max_interpolation</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">z_min</a> () const </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">z_min_interpolation</a> () const </td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>global _variables.h Purpose: This file defines the class <a class="el" href="<API key>.html">GlobalVariables</a>. This class contains the constant variables which are used in a "global" sense</p>
<dl class="section author"><dt>Author:</dt><dd>Ignasi Pérez-Ràfols (<a href="#" onclick="location.href='mai'+'lto:'+'ipr'+'af'+'ols'+'@i'+'cc.'+'ub'+'.ed'+'u'; return false;">ipraf<span style="display: none;">.nosp@m.</span>ols@<span style="display: none;">.nosp@m.</span>icc.u<span style="display: none;">.nosp@m.</span>b.ed<span style="display: none;">.nosp@m.</span>u</a>) </dd></dl>
<dl class="section version"><dt>Version:</dt><dd>1.0 on 17/06/14 </dd></dl>
<p>Definition at line <a class="el" href="<API key>.html#l00025">25</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="<API key>.html#<API key>">GlobalVariables::GlobalVariables</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="<API key>.html">global_variables.cpp</a> Purpose: This files contains the body for the functions defined in <a class="el" href="<API key>.html">global_variables.h</a></p>
<dl class="section author"><dt>Author:</dt><dd>Ignasi Pérez-Ràfols </dd></dl>
<dl class="section version"><dt>Version:</dt><dd>1.0 06/17/2014 </dd></dl>
<p>EXPLANATION: Cosntructs a <a class="el" href="<API key>.html">GlobalVariables</a> instance and initializes all its variables</p>
<p>INPUTS: NONE</p>
<p>OUTPUTS: NONE</p>
<p>CLASSES USED: <a class="el" href="<API key>.html">GlobalVariables</a></p>
<p>FUNCITONS USED: NONE</p>
<p>Definition at line <a class="el" href="<API key>.html#l00011">11</a> of file <a class="el" href="<API key>.html">global_variables.cpp</a>.</p>
<div class="fragment"><pre class="fragment"> {
<span class="comment">//</span>
<span class="comment">// general settings</span>
<span class="comment">//</span>
<span class="comment">//pwd_ = "/Users/iprafols/cross_correlations/";</span>
pwd_ = <span class="stringliteral">"/triforce/iprafols/cross_correlations/"</span>;
results_ = pwd_ + <span class="stringliteral">"results2/"</span>;
plots_ = pwd_ + <span class="stringliteral">"plots2/"</span>;
objects_catalog_ = pwd_ + <span class="stringliteral">"DR11Q_alpha_v0.fits"</span>;
<API key> = <span class="stringliteral">"DR11Q_alpha_v0"</span>;
pairs_file_name_ = <span class="stringliteral">"<API key>"</span>;
<API key> = results_ + <span class="stringliteral">"correlation_bin_"</span>;
<API key> = results_ + <span class="stringliteral">"<API key>.dat"</span>;
plate_neighbours_ = pwd_ + <span class="stringliteral">"plate_neighbours.dat"</span>;
lya_spectra_dir_ = pwd_ + <span class="stringliteral">"spectrum_fits_files/"</span>;
<span class="comment">
<API key> = pwd_ + <span class="stringliteral">"<API key>.ls"</span>;<span class="comment">
<span class="comment">
<API key> = <span class="stringliteral">"<API key>"</span>;
num_plates_ = 2044; <span class="comment">// DR11</span>
<span class="comment">//</span>
<span class="comment">// Fidutial model</span>
<span class="comment">//</span>
h0_ = 68.0;
h_ = h0_/100.0;
wm_ = 0.3;
<span class="comment">//</span>
<span class="comment">// bin setting</span>
<span class="comment">//</span>
<API key> = 3.0*acos(-1.0)/180.0; <span class="comment">// (in radians)</span>
max_pi_ = 50.0; <span class="comment">// (in Mpc/h)</span>
max_sigma_ = 50.0; <span class="comment">// (in Mpc/h)</span>
step_pi_ = 5.0; <span class="comment">// (in Mpc/h)</span>
step_sigma_ = 5.0; <span class="comment">// (in Mpc/h)</span>
num_pi_bins_ = int(2.0*max_pi_/step_pi_);
num_sigma_bins_ = int(max_sigma_/step_sigma_);
num_bins_ = num_pi_bins_*num_sigma_bins_;
<span class="comment">//</span>
<span class="comment">// line and redshift settings</span>
<span class="comment">//</span>
lya_wl_ = 1215.67;
z_min_ = 2.0;
z_max_ = 3.5;
<API key> = 1.5;
<API key> = 4.0;
<API key> = 30000;
<span class="comment">//</span>
<span class="comment">// Some mathematical and physical constants</span>
<span class="comment">//</span>
c_ = 299792.458;
}</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::c</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00038">38</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> c_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::<API key></a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00041">41</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::h</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00044">44</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> h_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::h0</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00047">47</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> h0_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::lya_spectra_catalog</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00050">50</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::<API key></a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00053">53</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::lya_spectra_dir</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00056">56</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> lya_spectra_dir_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::lya_wl</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00059">59</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> lya_wl_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::max_pi</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00062">62</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> max_pi_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::max_sigma</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00065">65</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> max_sigma_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::<API key></a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00068">68</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::<API key></a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00071">71</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="<API key>.html#<API key>">GlobalVariables::num_bins</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00074">74</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> num_bins_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="<API key>.html#<API key>">GlobalVariables::num_pi_bins</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00077">77</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> num_pi_bins_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="<API key>.html#<API key>">GlobalVariables::num_plates</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00080">80</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> num_plates_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="<API key>.html#<API key>">GlobalVariables::<API key></a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00083">83</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="<API key>.html#<API key>">GlobalVariables::num_sigma_bins</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00086">86</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> num_sigma_bins_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::objects_catalog</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00089">89</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> objects_catalog_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::<API key></a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00092">92</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::pairs_file_name</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00095">95</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> pairs_file_name_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::plate_neighbours</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00098">98</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> plate_neighbours_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::plots</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00101">101</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> plots_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::pwd</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00104">104</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> pwd_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="<API key>.html#<API key>">GlobalVariables::results</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00107">107</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> results_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::step_pi</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00110">110</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> step_pi_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::step_sigma</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00113">113</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> step_sigma_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::wm</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00116">116</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> wm_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::z_max</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00119">119</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> z_max_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::z_max_interpolation</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00122">122</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::z_min</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00125">125</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> z_min_;}
</pre></div>
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="<API key>.html#<API key>">GlobalVariables::z_min_interpolation</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="<API key>.html#l00128">128</a> of file <a class="el" href="<API key>.html">global_variables.h</a>.</p>
<div class="fragment"><pre class="fragment">{<span class="keywordflow">return</span> <API key>;}
</pre></div>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="<API key>.html">global_variables.h</a></li>
<li><a class="el" href="<API key>.html">global_variables.cpp</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Oct 14 2014 09:19:21 for Cross-correlations by &
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>
</body>
</html>
|
#include "Renderer.h"
#include "Core/Windows/Window.h"
#include <Resources/ResourceCache.h>
namespace uut
{
<API key>(Renderer)
{}
Renderer::Renderer()
: _screenSize(0)
{
}
Renderer::~Renderer()
{
}
bool Renderer::OnInit()
{
if (!Super::OnInit())
return false;
ModuleInstance<ResourceCache> cache;
cache->AddResource(CreateMonoTexture(Color32::White), "white");
cache->AddResource(CreateMonoTexture(Color32::Black), "black");
return true;
}
void Renderer::OnDone()
{
}
SharedPtr<Texture2D> Renderer::CreateMonoTexture(const Color32& color)
{
auto tex = CreateTexture(Vector2i(1), TextureAccess::Static);
uint32_t* buf = static_cast<uint32_t*>(tex->Lock());
if (buf == nullptr)
return nullptr;
buf[0] = color.ToInt();
tex->Unlock();
return tex;
}
}
|
package jnt.scimark2;
public class kernel
{
// each measurement returns approx Mflops
public static double measureFFT(int N, double mintime, Random R)
{
// initialize FFT data as complex (N real/img pairs)
double x[] = RandomVector(2*N, R);
double oldx[] = NewVectorCopy(x);
long cycles = 1;
Stopwatch Q = new Stopwatch();
while(true)
{
Q.start();
for (int i=0; i<cycles; i++)
{
FFT.transform(x); // forward transform
FFT.inverse(x); // backward transform
}
Q.stop();
if (Q.read() >= mintime)
break;
cycles *= 2;
}
// approx Mflops
final double EPS = 1.0e-10;
if ( FFT.test(x) / N > EPS )
return 0.0;
return FFT.num_flops(N)*cycles/ Q.read() * 1.0e-6;
}
// public static double measureSOR(int N, double min_time, Random R)
// double G[][] = RandomMatrix(N, N, R);
// //Stopwatch Q = new Stopwatch();
// int cycles=1;
// //while(true)
// while(cycles <= 32768)
// //Q.start();
// SOR.execute(1.25, G, cycles);
// //Q.stop();
// //if (Q.read() >= min_time) break;
// cycles *= 2;
// // approx Mflops
// //return SOR.num_flops(N, N, cycles) / Q.read() * 1.0e-6;
// return SOR.num_flops(N, N, cycles);
public static double measureSOR(int N, double min_time, Random R)
{
double G[][] = RandomMatrix(N, N, R);
int rep = 10; // 11s @ 594MHz
//rep = 75; // 42.5s @ 1026MHz
//rep = 150; // 68s @ 1026MHz, this just fully melts PCM, at end of benchmark
//rep = 250; // 113s @ 1026MHz
//rep = 300; // 126s @ 1026MHz, using this setting in my house, PCM melts fully
rep = 75;
// 75 short duration
// 300 medium duration
// 400 long duration
int cycles = 2048;
for (int i = 0; i < rep; i++)
{
SOR.execute(1.25, G, cycles);
}
return SOR.num_flops(N, N, cycles);
}
public static double measureMonteCarlo(double min_time, Random R)
{
Stopwatch Q = new Stopwatch();
int cycles=1;
while(true)
{
Q.start();
MonteCarlo.integrate(cycles);
Q.stop();
if (Q.read() >= min_time) break;
cycles *= 2;
}
// approx Mflops
return MonteCarlo.num_flops(cycles) / Q.read() * 1.0e-6;
}
public static double <API key>(int N, int nz,
double min_time, Random R)
{
// initialize vector multipliers and storage for result
// y = A*y;
double x[] = RandomVector(N, R);
double y[] = new double[N];
// initialize square sparse matrix
// for this test, we create a sparse matrix wit M/nz nonzeros
// per row, with spaced-out evenly between the begining of the
// row to the main diagonal. Thus, the resulting pattern looks
// like
// (as best reproducible with integer artihmetic)
// Note that the first nr rows will have elements past
// the diagonal.
int nr = nz/N; // average number of nonzeros per row
int anz = nr *N; // _actual_ number of nonzeros
double val[] = RandomVector(anz, R);
int col[] = new int[anz];
int row[] = new int[N+1];
row[0] = 0;
for (int r=0; r<N; r++)
{
// initialize elements for row r
int rowr = row[r];
row[r+1] = rowr + nr;
int step = r/ nr;
if (step < 1) step = 1; // take at least unit steps
for (int i=0; i<nr; i++)
col[rowr+i] = i*step;
}
//Stopwatch Q = new Stopwatch();
int cycles = 2048;
//while(true)
//while(cycles <= 65536) // about 20 seconds
//while(cycles <= 1048576) // about 200 seconds
int rep = 30; // 14 sec @ 594
for (int i = 0; i < rep; i++)
{
//Q.start();
SparseCompRow.matmult(y, val, row, col, x, cycles);
//Q.stop();
//if (Q.read() >= min_time) break;
//cycles *= 2;
}
// approx Mflops
//return SparseCompRow.num_flops(N, nz, cycles) / Q.read() * 1.0e-6;
return SparseCompRow.num_flops(N, nz, cycles);
}
public static double measureLU(int N, double min_time, Random R)
{
// compute approx Mlfops, or O if LU yields large errors
double A[][] = RandomMatrix(N, N, R);
double lu[][] = new double[N][N];
int pivot[] = new int[N];
//Stopwatch Q = new Stopwatch();
//while(true)
//while (cycles <= 8192)
//while (cycles <= 2048) // approx 20 sec
//while (cycles <= 6144) // approx 30 sec @ 1242MHz
//while (cycles <= 12288) // approx 60 sec @ 1242MHz
//while (cycles <= 14336) // approx 70 sec @ 1242MHz
//while (cycles <= 16384) // approx 80 sec @ 1242MHz
int cycles = 2048; // 14 sec @ 594Hz
for (int j = 0; j < cycles; j++)
{
//Q.start();
//for (int i=0; i<cycles; i++)
CopyMatrix(lu, A);
LU.factor(lu, pivot);
//Q.stop();
//if (Q.read() >= min_time) break;
//cycles *= 2;
}
// verify that LU is correct
double b[] = RandomVector(N, R);
double x[] = NewVectorCopy(b);
LU.solve(lu, pivot, x);
final double EPS = 1.0e-12;
if ( normabs(b, matvec(A,x)) / N > EPS )
return 0.0;
// else return approx Mflops
//return LU.num_flops(N) * cycles / Q.read() * 1.0e-6;
return LU.num_flops(N) * cycles;
}
private static double[] NewVectorCopy(double x[])
{
int N = x.length;
double y[] = new double[N];
for (int i=0; i<N; i++)
y[i] = x[i];
return y;
}
private static void CopyVector(double B[], double A[])
{
int N = A.length;
for (int i=0; i<N; i++)
B[i] = A[i];
}
private static double normabs(double x[], double y[])
{
int N = x.length;
double sum = 0.0;
for (int i=0; i<N; i++)
sum += Math.abs(x[i]-y[i]);
return sum;
}
public static void CopyMatrix(double B[][], double A[][])
{
int M = A.length;
int N = A[0].length;
int remainder = N & 3; // N mod 4;
for (int i=0; i<M; i++)
{
double Bi[] = B[i];
double Ai[] = A[i];
for (int j=0; j<remainder; j++)
Bi[j] = Ai[j];
for (int j=remainder; j<N; j+=4)
{
Bi[j] = Ai[j];
Bi[j+1] = Ai[j+1];
Bi[j+2] = Ai[j+2];
Bi[j+3] = Ai[j+3];
}
}
}
public static double[][] RandomMatrix(int M, int N, Random R)
{
double A[][] = new double[M][N];
for (int i=0; i<N; i++)
for (int j=0; j<N; j++)
A[i][j] = R.nextDouble();
return A;
}
public static double[] RandomVector(int N, Random R)
{
double A[] = new double[N];
for (int i=0; i<N; i++)
A[i] = R.nextDouble();
return A;
}
private static double[] matvec(double A[][], double x[])
{
int N = x.length;
double y[] = new double[N];
matvec(A, x, y);
return y;
}
private static void matvec(double A[][], double x[], double y[])
{
int M = A.length;
int N = A[0].length;
for (int i=0; i<M; i++)
{
double sum = 0.0;
double Ai[] = A[i];
for (int j=0; j<N; j++)
sum += Ai[j] * x[j];
y[i] = sum;
}
}
}
|
'use strict'
const reduce = Function.bind.call(Function.call, Array.prototype.reduce);
const isEnumerable = Function.bind.call(Function.call, Object.prototype.<API key>);
const concat = Function.bind.call(Function.call, Array.prototype.concat);
const keys = Reflect.ownKeys;
if (!Object.values) {
Object.values = (O) => reduce(keys(O), (v, k) => concat(v, typeof k === 'string' && isEnumerable(O, k) ? [O[k]] : []), []);
}
if (!Object.entries) {
Object.entries = (O) => reduce(keys(O), (e, k) => concat(e, typeof k === 'string' && isEnumerable(O, k) ? [
[k, O[k]]
] : []), []);
}
//from
//https://medium.com/@_jh3y/<API key>#.jlqokoxtu
function debounce(callback, delay) {
let timeout;
return function() {
const context = this,
args = arguments;
clearTimeout(timeout);
timeout = setTimeout(() => callback.apply(context, args), delay);
};
};
function throttle(func, limit) {
let inThrottle,
lastFunc,
throttleTimer;
return function() {
const context = this,
args = arguments;
if (inThrottle) {
clearTimeout(lastFunc);
return lastFunc = setTimeout(function() {
func.apply(context, args);
inThrottle = false;
}, limit);
} else {
func.apply(context, args);
inThrottle = true;
return throttleTimer = setTimeout(() => inThrottle = false, limit);
}
};
};
/*END POLIFILL*/
|
class Admin::DashboardController < AdminAreaController
def index
#You are entering an area where no project is concerned, so forget about your current project
session[:project] = nil
end
end
|
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::DevTestLabs::Mgmt::V2018_09_15
module Models
# Defines values for SourceControlType
module SourceControlType
VsoGit = "VsoGit"
GitHub = "GitHub"
end
end
end
|
<?php
use History\Entities\Models\Company;
use History\Entities\Models\Question;
use History\Entities\Models\Request;
use History\Entities\Models\Threads\Comment;
use History\Entities\Models\Threads\Thread;
use History\Entities\Models\User;
use History\Entities\Models\Vote;
use League\FactoryMuffin\FactoryMuffin;
use League\FactoryMuffin\Faker\Facade;
use League\FactoryMuffin\Faker\Faker;
/* @var FactoryMuffin $fm */
/** @var Faker $faker */
$faker = Facade::instance();
if (!function_exists('random')) {
/**
* @param string $class
*
* @return Closure
*/
function random($class)
{
if (!$class::count()) {
return 'factory|'.$class;
}
return function () use ($class) {
return $class::pluck('id')->shuffle()->first();
};
}
}
$fm->define(User::class)->setDefinitions([
'name' => $faker->userName(),
'full_name' => $faker->name(),
'email' => $faker->email(),
'contributions' => $faker->sentence(),
'company_id' => random(Company::class),
'no_votes' => $faker->randomNumber(1),
'yes_votes' => $faker->randomNumber(1),
'total_votes' => $faker->randomNumber(1),
'approval' => $faker->randomFloat(null, 0, 1),
'success' => $faker->randomFloat(null, 0, 1),
'hivemind' => $faker->randomFloat(null, 0, 1),
'created_at' => $faker->dateTimeThisYear(),
'updated_at' => $faker->dateTimeThisYear(),
]);
$fm->define(Request::class)->setDefinitions([
'name' => $faker->sentence(),
'contents' => $faker->paragraph(),
'link' => $faker->url(),
'condition' => $faker->boolean(2 / 3),
'approval' => $faker->randomFloat(null, 0, 1),
'status' => $faker->numberBetween(0, 5),
'created_at' => $faker->dateTimeThisDecade(),
'updated_at' => $faker->dateTimeThisDecade(),
])->setCallback(function (Request $request) {
$users = User::pluck('id')->shuffle()->take(2);
$request->authors()->sync($users->all());
});
$fm->define(Thread::class)->setDefinitions([
'name' => $faker->sentence(),
'user_id' => random(User::class),
'request_id' => random(Request::class),
'created_at' => $faker->dateTimeThisDecade(),
'updated_at' => $faker->dateTimeThisDecade(),
]);
$fm->define(Comment::class)->setDefinitions([
'name' => $faker->sentence(),
'contents' => $faker->paragraph(),
'xref' => $faker->randomNumber(1),
'created_at' => $faker->dateTimeThisYear(),
'updated_at' => $faker->dateTimeThisYear(),
'user_id' => random(User::class),
'thread_id' => random(Thread::class),
]);
$fm->define(Question::class)->setDefinitions([
'name' => $faker->sentence(),
'choices' => ['Yes', 'No'],
'approval' => $faker->randomFloat(null, 0, 1),
'passed' => $faker->boolean(),
'request_id' => random(Request::class),
'created_at' => $faker->dateTimeThisYear(),
'updated_at' => $faker->dateTimeThisYear(),
]);
$fm->define(Vote::class)->setDefinitions([
'choice' => $faker->numberBetween(1, 2),
'question_id' => random(Question::class),
'user_id' => random(User::class),
'created_at' => $faker->dateTimeThisYear(),
'updated_at' => $faker->dateTimeThisYear(),
]);
$fm->define(Company::class)->setDefinitions([
'name' => $faker->word(),
'representation' => $faker->randomNumber(1),
]);
|
import {Routes} from '@angular/router';
import {JournalComponent} from '../journal/journal.component';
export const LUOO_APP_ROUTERS: Routes = [
{path: 'journal', component: JournalComponent}
]
|
<template name="testWelcome">
<h2 class="center-align">Welcome Page</h2>
<div class="col-sm-6 col-md-offset-4 <API key>">
<p>Welcome to Fram^ Online Testing</p>
<p>You have {{testingDuration}} minutes to complete your testting</p>
<p>Notice 1</p>
<p>Notice 2</p>
<p>Notice 3</p>
<p>......</p>
<p>...</p>
<p>ARE YOU READY ???</p>
</div>
<div class="center-align col-sm-12"> <button type="button" data-process-id="{{process._id}}" <API key>="{{this.index}}" class="btn btn-primary startTestingBtn">LET'S GO !!</button></div>
</template>
|
#include "swganh_core/gamesystems/<API key>.h"
BOOST_PYTHON_MODULE(py_gamesystems)
{
docstring_options <API key>(true, true, false);
<API key>();
}
|
var htmlparser = require('htmlparser2');
var _ = require('lodash');
var ent = require('ent');
module.exports = sanitizeHtml;
function sanitizeHtml(html, options) {
var result = '';
if (!options) {
options = sanitizeHtml.defaults;
} else {
_.defaults(options, sanitizeHtml.defaults);
}
// Tags that contain something other than HTML. If we are not allowing
// these tags, we should drop their content too. For other tags you would
// drop the tag but keep its content.
var nonTextTagsMap = {
script: true,
style: true
};
var allowedTagsMap = {};
_.each(options.allowedTags, function(tag) {
allowedTagsMap[tag] = true;
});
var selfClosingMap = {};
_.each(options.selfClosing, function(tag) {
selfClosingMap[tag] = true;
});
var <API key> = {};
_.each(options.allowedAttributes, function(attributes, tag) {
<API key>[tag] = {};
_.each(attributes, function(name) {
<API key>[tag][name] = true;
});
});
var depth = 0;
var skipMap = {};
var skipText = false;
var parser = new htmlparser.Parser({
onopentag: function(name, attribs) {
var skip = false;
if (!_.has(allowedTagsMap, name)) {
skip = true;
if (_.has(nonTextTagsMap, name)) {
skipText = true;
}
skipMap[depth] = true;
}
depth++;
if (skip) {
// We want the contents but not this tag
return;
}
result += '<' + name;
if (_.has(<API key>, name)) {
_.each(attribs, function(value, a) {
if (_.has(<API key>[name], a)) {
result += ' ' + a;
if ((a === 'href') || (a === 'src')) {
if (naughtyHref(value)) {
return;
}
}
if (value.length) {
// Values are ALREADY escaped, calling escapeHtml here
// results in double escapes
result += '="' + value + '"';
}
}
});
}
if (_.has(selfClosingMap, name)) {
result += " />";
} else {
result += ">";
}
},
ontext: function(text) {
if (skipText) {
return;
}
// It is NOT actually raw text, entities are already escaped.
// If we call escapeHtml here we wind up double-escaping.
result += text;
},
onclosetag: function(name) {
skipText = false;
depth
if (skipMap[depth]) {
delete skipMap[depth];
return;
}
if (_.has(selfClosingMap, name)) {
// Already output />
return;
}
result += "</" + name + ">";
}
});
parser.write(html);
parser.end();
return result;
function escapeHtml(s) {
if (s === 'undefined') {
s = '';
}
if (typeof(s) !== 'string') {
s = s + '';
}
return s.replace(/\&/g, '&').replace(/</g, '<').replace(/\>/g, '>').replace(/\"/g, '"');
}
function naughtyHref(href) {
// So we don't get faked out by a hex or decimal escaped javascript URL
href = ent.decode(href);
// Browsers ignore character codes of 32 (space) and below in a surprising
// number of situations. Start reading here:
// https://www.owasp.org/index.php/<API key>#Embedded_tab
href = href.replace(/[\x00-\x20]+/, '');
// Case insensitive so we don't get faked out by JAVASCRIPT
var matches = href.match(/^([a-zA-Z]+)\:/);
if (!matches) {
// No scheme = no way to inject js (right?)
return false;
}
var scheme = matches[1].toLowerCase();
return (!_.contains(['http', 'https', 'ftp', 'mailto' ], scheme));
}
}
// Defaults are accessible to you so that you can use them as a starting point
// programmatically if you wish
sanitizeHtml.defaults = {
allowedTags: [ 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol', 'nl', 'li', 'b', 'i', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div', 'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre' ],
allowedAttributes: {
a: [ 'href', 'name', 'target' ],
// We don't currently allow img itself by default, but this
// would make sense if we did
img: [ 'src' ]
},
// Lots of these won't come up by default because we don't allow them
selfClosing: [ 'img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta' ]
};
|
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ExtendComponent } from './src/components/extend.component';
import { SubExtendComponent } from './src/components/sub-extend.component';
const extendRoutes: Routes = [
{
path: '',
component: ExtendComponent,
},
{
path: 'main',
component: ExtendComponent,
},
{
path: 'sub',
component: SubExtendComponent
},
];
@NgModule({
imports: [
RouterModule.forChild(extendRoutes)
],
exports: [
RouterModule
]
})
export class ExtendRoutingModule {}
|
namespace UrlBuilderTests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Se.Url;
[TestClass]
public class QueryParamTest
{
[TestMethod]
public void DefaultQueryParam()
{
var url = new UrlBuilder();
Assert.AreEqual("http://localhost/", url.ToString());
}
[TestMethod]
public void SetQueryParam()
{
var url = new UrlBuilder("http:
url.SetQueryParam("nid", 123);
var param = url.GetQueryParam("nid");
Assert.AreEqual("123", param.ToString());
}
[TestMethod]
public void <API key>()
{
var url = new UrlBuilder("http:
url.SetQueryParam("nid", 321);
var param = url.GetQueryParam("nid");
Assert.AreEqual("321", param.ToString());
}
[TestMethod]
public void SetQueryParamToNull()
{
var url = new UrlBuilder("http:
url.SetQueryParam("nid", null);
var param = url.GetQueryParam("nid");
Assert.AreEqual(null, param);
}
[TestMethod]
public void <API key>()
{
var url = new UrlBuilder("http:
url.SetQueryParam("nid", string.Empty);
var param = url.GetQueryParam("nid");
Assert.AreEqual(string.Empty, param.ToString());
}
[TestMethod]
public void AppendQueryParam()
{
var url = new UrlBuilder("http:
url.AppendQueryParam("nid", 123);
var param = url.GetQueryParam("nid");
Assert.AreEqual("123", param.ToString());
}
[TestMethod]
public void <API key>()
{
var url = new UrlBuilder("http:
url.SetQueryParam("role", "moderator");
url.AppendQueryParam("role", "admin");
var paramList = url.GetQueryParam("role") as IList<object>;
var param1 = paramList[0];
var param2 = paramList[1];
Assert.AreEqual("moderator", param1.ToString());
Assert.AreEqual("admin", param2.ToString());
}
[TestMethod]
public void RemoveQueryParam()
{
var url = new UrlBuilder("http:
url.RemoveQueryParam("nid");
Assert.AreEqual(false, url.ContainsQueryParam("nid"));
}
[TestMethod]
public void SetQueryParams()
{
var url = new UrlBuilder("http:
var dictParams = new Dictionary<string, object> {{"nid", 123}, {"role", "admin"}};
url.SetQueryParams(dictParams);
var param1 = url.GetQueryParam("nid");
var param2 = url.GetQueryParam("role");
Assert.AreEqual("123", param1.ToString());
Assert.AreEqual("admin", param2.ToString());
}
[TestMethod]
public void RemoveQueryParams()
{
var url = new UrlBuilder("http:
var listParams = new List<string> {"nid", "role"};
url.RemoveQueryParams(listParams);
Assert.AreEqual(false, url.ContainsQueryParam("nid"));
Assert.AreEqual(false, url.ContainsQueryParam("role"));
}
[TestMethod]
public void <API key>()
{
var url = new UrlBuilder("http:
var paramList = url.GetQueryParam("role") as IList<object>;
var param1 = paramList[0];
var param2 = paramList[1];
Assert.AreEqual("moderator", param1.ToString());
Assert.AreEqual("admin", param2.ToString());
}
[TestMethod]
public void <API key>()
{
var url = new UrlBuilder("http:
url.RemoveQueryParam("role");
Assert.AreEqual(false, url.ContainsQueryParam("role"));
}
[TestMethod]
public void GetQueryParam()
{
var url = new UrlBuilder("http:
var param = url.GetQueryParam("role");
Assert.AreEqual("admin", param.ToString());
}
[TestMethod]
public void GetQueryParamNames()
{
var url = new UrlBuilder("http:
var dictParams = new Dictionary<string, object> { { "nid", 123 }, { "role", "admin" } };
url.SetQueryParams(dictParams);
var paramNames = url.GetParamNames();
CollectionAssert.AreEqual(dictParams.Keys, paramNames);
}
[TestMethod]
public void ContainsQueryParam()
{
var url = new UrlBuilder("http:
Assert.AreEqual(true, url.ContainsQueryParam("role"));
}
[TestMethod]
[ExpectedException(typeof(<API key>))]
public void <API key>()
{
var url = new UrlBuilder("http:
Assert.AreEqual(false, url.ContainsQueryParam(null));
}
}
}
|
(function(){
'use strict'
angular
.module("jobDetail")
.service("jobDetailService",jobDetailService);
jobDetailService.$inject = ['apiService','apiOptions'];
function jobDetailService(apiService,apiOptions)
{
var jobId;
this.getJobDetail=function(jobId)
{
// return "ok";
return apiService.get("job/"+jobId);
};
};
})();
|
package madgik.exareme.worker.art.container.job;
import madgik.exareme.worker.art.container.ContainerJob;
import madgik.exareme.worker.art.container.ContainerJobType;
import madgik.exareme.worker.art.executionEngine.session.PlanSessionReportID;
/**
* @author heraldkllapi
*/
public class TableTransferJob implements ContainerJob {
public final PlanSessionReportID sessionReportID;
public TableTransferJob(PlanSessionReportID sessionReportID) {
this.sessionReportID = sessionReportID;
}
@Override
public ContainerJobType getType() {
return ContainerJobType.dataTransfer;
}
}
|
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SwansonCoin</source>
<translation>Sobre o SwansonCoin</translation>
</message>
<message>
<location line="+39"/>
<source><b>SwansonCoin</b> version</source>
<translation>Versão do <b>SwansonCoin</b></translation>
</message>
<message>
<location line="+57"/>
<source>
This is experimental software.
Distributed under the MIT/X11 software license, see the accompanying file COPYING or http:
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http:
<translation>⏎
Este é um software experimental.⏎
⏎
Distribuido sob a licença de software MIT/X11, veja o arquivo anexo COPYING ou http:
⏎
Este produto inclui software desenvolvido pelo Projeto OpenSSL para uso no OpenSSL Toolkit (http:
</message>
<message>
<location filename="../aboutdialog.cpp" line="+14"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location line="+0"/>
<source>The SwansonCoin developers</source>
<translation>Desenvolvedores do SwansonCoin</translation>
</message>
</context>
<context>
<name>AddressBookPage</name>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>Address Book</source>
<translation>Catálogo de endereços</translation>
</message>
<message>
<location line="+19"/>
<source>Double-click to edit address or label</source>
<translation>Clique duas vezes para editar o endereço ou o etiqueta</translation>
</message>
<message>
<location line="+27"/>
<source>Create a new address</source>
<translation>Criar um novo endereço</translation>
</message>
<message>
<location line="+14"/>
<source>Copy the currently selected address to the system clipboard</source>
<translation>Copie o endereço selecionado para a área de transferência do sistema</translation>
</message>
<message>
<location line="-11"/>
<source>&New Address</source>
<translation>&Novo endereço</translation>
</message>
<message>
<location filename="../addressbookpage.cpp" line="+63"/>
<source>These are your SwansonCoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you.</source>
<translation>Estes são os seus endereços SwansonCoin para receber pagamentos. Você pode querer enviar um endereço diferente para cada remetente, para acompanhar quem está pagando.</translation>
</message>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>&Copy Address</source>
<translation>&Copiar Endereço</translation>
</message>
<message>
<location line="+11"/>
<source>Show &QR Code</source>
<translation>Mostrar &QR Code</translation>
</message>
<message>
<location line="+11"/>
<source>Sign a message to prove you own a SwansonCoin address</source>
<translation>Assine uma mensagem para provar que você é dono de um endereço SwansonCoin</translation>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation>&Assinar Mensagem</translation>
</message>
<message>
<location line="+25"/>
<source>Delete the currently selected address from the list</source>
<translation>Excluir os endereços selecionados da lista</translation>
</message>
<message>
<location line="+27"/>
<source>Export the data in the current tab to a file</source>
<translation>Exportar os dados na aba atual para um arquivo</translation>
</message>
<message>
<location line="+3"/>
<source>&Export</source>
<translation>&Exportar</translation>
</message>
<message>
<location line="-44"/>
<source>Verify a message to ensure it was signed with a specified SwansonCoin address</source>
<translation>Verificar mensagem para se assegurar que ela foi assinada pelo dono de um endereço SwansonCoin específico.</translation>
</message>
<message>
<location line="+3"/>
<source>&Verify Message</source>
<translation>&Verificar Mensagem</translation>
</message>
<message>
<location line="+14"/>
<source>&Delete</source>
<translation>&Excluir</translation>
</message>
<message>
<location filename="../addressbookpage.cpp" line="-5"/>
<source>These are your SwansonCoin addresses for sending payments. Always check the amount and the receiving address before sending coins.</source>
<translation>Estes são os seus endereços SwansonCoin para receber pagamentos. Você pode querer enviar um endereço diferente para cada remetente, para acompanhar quem está pagando.</translation>
</message>
<message>
<location line="+13"/>
<source>Copy &Label</source>
<translation>Copiar &Etiqueta</translation>
</message>
<message>
<location line="+1"/>
<source>&Edit</source>
<translation>&Editar</translation>
</message>
<message>
<location line="+1"/>
<source>Send &Coins</source>
<translation>Enviar bit&coins</translation>
</message>
<message>
<location line="+260"/>
<source>Export Address Book Data</source>
<translation>Exportar Catálogo de Endereços</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation>Arquivo separado por vírgulas (*. csv)</translation>
</message>
<message>
<location line="+13"/>
<source>Error exporting</source>
<translation>Erro ao exportar</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Não foi possível gravar no arquivo %1.</translation>
</message>
</context>
<context>
<name>AddressTableModel</name>
<message>
<location filename="../addresstablemodel.cpp" line="+144"/>
<source>Label</source>
<translation>Rótulo</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Endereço</translation>
</message>
<message>
<location line="+36"/>
<source>(no label)</source>
<translation>(Sem rótulo)</translation>
</message>
</context>
<context>
<name>AskPassphraseDialog</name>
<message>
<location filename="../forms/askpassphrasedialog.ui" line="+26"/>
<source>Passphrase Dialog</source>
<translation>Janela da Frase de Segurança</translation>
</message>
<message>
<location line="+21"/>
<source>Enter passphrase</source>
<translation>Digite a frase de segurança</translation>
</message>
<message>
<location line="+14"/>
<source>New passphrase</source>
<translation>Nova frase de segurança</translation>
</message>
<message>
<location line="+14"/>
<source>Repeat new passphrase</source>
<translation>Repita a nova frase de segurança</translation>
</message>
<message>
<location filename="../askpassphrasedialog.cpp" line="+33"/>
<source>Enter the new passphrase to the wallet.<br/>Please use a passphrase of <b>10 or more random characters</b>, or <b>eight or more words</b>.</source>
<translation>Digite a nova frase de seguraça da sua carteira. <br/> Por favor, use uma frase de <b>10 ou mais caracteres aleatórios,</b> ou <b>oito ou mais palavras.</b></translation>
</message>
<message>
<location line="+1"/>
<source>Encrypt wallet</source>
<translation>Criptografar carteira</translation>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to unlock the wallet.</source>
<translation>Esta operação precisa de sua frase de segurança para desbloquear a carteira.</translation>
</message>
<message>
<location line="+5"/>
<source>Unlock wallet</source>
<translation>Desbloquear carteira</translation>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to decrypt the wallet.</source>
<translation>Esta operação precisa de sua frase de segurança para descriptografar a carteira.</translation>
</message>
<message>
<location line="+5"/>
<source>Decrypt wallet</source>
<translation>Descriptografar carteira</translation>
</message>
<message>
<location line="+3"/>
<source>Change passphrase</source>
<translation>Alterar frase de segurança</translation>
</message>
<message>
<location line="+1"/>
<source>Enter the old and new passphrase to the wallet.</source>
<translation>Digite a frase de segurança antiga e nova para a carteira.</translation>
</message>
<message>
<location line="+46"/>
<source>Confirm wallet encryption</source>
<translation>Confirmar criptografia da carteira</translation>
</message>
<message>
<location line="+1"/>
<source>Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR SWANSONCOINS</b>!</source>
<translation>Aviso: Se você criptografar sua carteira e perder sua senha, você vai <b>perder todos os seus SWANSONCOINS!</b></translation>
</message>
<message>
<location line="+0"/>
<source>Are you sure you wish to encrypt your wallet?</source>
<translation>Tem certeza de que deseja criptografar sua carteira?</translation>
</message>
<message>
<location line="+15"/>
<source>IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet.</source>
<translation>IMPORTANTE: Qualquer backup prévio que você tenha feito do seu arquivo wallet deve ser substituído pelo novo e encriptado arquivo wallet gerado. Por razões de segurança, qualquer backup do arquivo wallet não criptografado se tornará inútil assim que você começar a usar uma nova carteira criptografada.</translation>
</message>
<message>
<location line="+100"/>
<location line="+24"/>
<source>Warning: The Caps Lock key is on!</source>
<translation>Cuidado: A tecla Caps Lock está ligada!</translation>
</message>
<message>
<location line="-130"/>
<location line="+58"/>
<source>Wallet encrypted</source>
<translation>Carteira criptografada</translation>
</message>
<message>
<location line="-56"/>
<source>SwansonCoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your swansoncoins from being stolen by malware infecting your computer.</source>
<translation>O SwansonCoin irá fechar agora para finalizar o processo de encriptação. Lembre-se de que encriptar sua carteira não protege totalmente suas swansoncoins de serem roubadas por malwares que tenham infectado o seu computador.</translation>
</message>
<message>
<location line="+13"/>
<location line="+7"/>
<location line="+42"/>
<location line="+6"/>
<source>Wallet encryption failed</source>
<translation>A criptografia da carteira falhou</translation>
</message>
<message>
<location line="-54"/>
<source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source>
<translation>A criptografia da carteira falhou devido a um erro interno. Sua carteira não estava criptografada.</translation>
</message>
<message>
<location line="+7"/>
<location line="+48"/>
<source>The supplied passphrases do not match.</source>
<translation>A frase de segurança fornecida não confere.</translation>
</message>
<message>
<location line="-37"/>
<source>Wallet unlock failed</source>
<translation>A abertura da carteira falhou</translation>
</message>
<message>
<location line="+1"/>
<location line="+11"/>
<location line="+19"/>
<source>The passphrase entered for the wallet decryption was incorrect.</source>
<translation>A frase de segurança digitada para a descriptografia da carteira estava incorreta.</translation>
</message>
<message>
<location line="-20"/>
<source>Wallet decryption failed</source>
<translation>A descriptografia da carteira falhou</translation>
</message>
<message>
<location line="+14"/>
<source>Wallet passphrase was successfully changed.</source>
<translation>A frase de segurança da carteira foi alterada com êxito.</translation>
</message>
</context>
<context>
<name>BitcoinGUI</name>
<message>
<location filename="../bitcoingui.cpp" line="+233"/>
<source>Sign &message...</source>
<translation>&Assinar Mensagem...</translation>
</message>
<message>
<location line="+280"/>
<source>Synchronizing with network...</source>
<translation>Sincronizando com a rede...</translation>
</message>
<message>
<location line="-349"/>
<source>&Overview</source>
<translation>&Visão geral</translation>
</message>
<message>
<location line="+1"/>
<source>Show general overview of wallet</source>
<translation>Mostrar visão geral da carteira</translation>
</message>
<message>
<location line="+20"/>
<source>&Transactions</source>
<translation>&Transações</translation>
</message>
<message>
<location line="+1"/>
<source>Browse transaction history</source>
<translation>Navegar pelo histórico de transações</translation>
</message>
<message>
<location line="+7"/>
<source>Edit the list of stored addresses and labels</source>
<translation>Editar a lista de endereços e rótulos</translation>
</message>
<message>
<location line="-14"/>
<source>Show the list of addresses for receiving payments</source>
<translation>Mostrar a lista de endereços para receber pagamentos</translation>
</message>
<message>
<location line="+31"/>
<source>E&xit</source>
<translation>S&air</translation>
</message>
<message>
<location line="+1"/>
<source>Quit application</source>
<translation>Sair da aplicação</translation>
</message>
<message>
<location line="+4"/>
<source>Show information about SwansonCoin</source>
<translation>Mostrar informação sobre SwansonCoin</translation>
</message>
<message>
<location line="+2"/>
<source>About &Qt</source>
<translation>Sobre &Qt</translation>
</message>
<message>
<location line="+1"/>
<source>Show information about Qt</source>
<translation>Mostrar informações sobre o Qt</translation>
</message>
<message>
<location line="+2"/>
<source>&Options...</source>
<translation>&Opções...</translation>
</message>
<message>
<location line="+6"/>
<source>&Encrypt Wallet...</source>
<translation>&Criptografar Carteira...</translation>
</message>
<message>
<location line="+3"/>
<source>&Backup Wallet...</source>
<translation>&Backup Carteira...</translation>
</message>
<message>
<location line="+2"/>
<source>&Change Passphrase...</source>
<translation>&Mudar frase de segurança...</translation>
</message>
<message>
<location line="+285"/>
<source>Importing blocks from disk...</source>
<translation>Importando blocos do disco...</translation>
</message>
<message>
<location line="+3"/>
<source>Reindexing blocks on disk...</source>
<translation>Reindexando blocos no disco...</translation>
</message>
<message>
<location line="-347"/>
<source>Send coins to a SwansonCoin address</source>
<translation>Enviar moedas para um endereço swansoncoin</translation>
</message>
<message>
<location line="+49"/>
<source>Modify configuration options for SwansonCoin</source>
<translation>Modificar opções de configuração para swansoncoin</translation>
</message>
<message>
<location line="+9"/>
<source>Backup wallet to another location</source>
<translation>Fazer cópia de segurança da carteira para uma outra localização</translation>
</message>
<message>
<location line="+2"/>
<source>Change the passphrase used for wallet encryption</source>
<translation>Mudar a frase de segurança utilizada na criptografia da carteira</translation>
</message>
<message>
<location line="+6"/>
<source>&Debug window</source>
<translation>Janela de &Depuração</translation>
</message>
<message>
<location line="+1"/>
<source>Open debugging and diagnostic console</source>
<translation>Abrir console de depuração e diagnóstico</translation>
</message>
<message>
<location line="-4"/>
<source>&Verify message...</source>
<translation>&Verificar mensagem...</translation>
</message>
<message>
<location line="-165"/>
<location line="+530"/>
<source>SwansonCoin</source>
<translation>SwansonCoin</translation>
</message>
<message>
<location line="-530"/>
<source>Wallet</source>
<translation>Carteira</translation>
</message>
<message>
<location line="+101"/>
<source>&Send</source>
<translation>&Enviar</translation>
</message>
<message>
<location line="+7"/>
<source>&Receive</source>
<translation>&Receber</translation>
</message>
<message>
<location line="+14"/>
<source>&Addresses</source>
<translation>&Endereços</translation>
</message>
<message>
<location line="+22"/>
<source>&About SwansonCoin</source>
<translation>&Sobre o SwansonCoin</translation>
</message>
<message>
<location line="+9"/>
<source>&Show / Hide</source>
<translation>&Exibir/Ocultar</translation>
</message>
<message>
<location line="+1"/>
<source>Show or hide the main Window</source>
<translation>Mostrar ou esconder a Janela Principal.</translation>
</message>
<message>
<location line="+3"/>
<source>Encrypt the private keys that belong to your wallet</source>
<translation>Criptografar as chaves privadas que pertencem à sua carteira</translation>
</message>
<message>
<location line="+7"/>
<source>Sign messages with your SwansonCoin addresses to prove you own them</source>
<translation>Assine mensagems com seus endereços SwansonCoin para provar que você é dono deles</translation>
</message>
<message>
<location line="+2"/>
<source>Verify messages to ensure they were signed with specified SwansonCoin addresses</source>
<translation>Verificar mensagens para se assegurar que elas foram assinadas pelo dono de Endereços SwansonCoin específicos</translation>
</message>
<message>
<location line="+28"/>
<source>&File</source>
<translation>&Arquivo</translation>
</message>
<message>
<location line="+7"/>
<source>&Settings</source>
<translation>&Configurações</translation>
</message>
<message>
<location line="+6"/>
<source>&Help</source>
<translation>&Ajuda</translation>
</message>
<message>
<location line="+9"/>
<source>Tabs toolbar</source>
<translation>Barra de ferramentas</translation>
</message>
<message>
<location line="+17"/>
<location line="+10"/>
<source>[testnet]</source>
<translation>[testnet]</translation>
</message>
<message>
<location line="+47"/>
<source>SwansonCoin client</source>
<translation>Cliente SwansonCoin</translation>
</message>
<message numerus="yes">
<location line="+141"/>
<source>%n active connection(s) to SwansonCoin network</source>
<translation><numerusform>%n conexão ativa na rede SwansonCoin</numerusform><numerusform>%n conexões ativas na rede SwansonCoin</numerusform></translation>
</message>
<message>
<location line="+22"/>
<source>No block source available...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+12"/>
<source>Processed %1 of %2 (estimated) blocks of transaction history.</source>
<translation>Processado %1 de %2 blocos (estimado) de histórico de transações.</translation>
</message>
<message>
<location line="+4"/>
<source>Processed %1 blocks of transaction history.</source>
<translation>Processado %1 blocos do histórico de transações.</translation>
</message>
<message numerus="yes">
<location line="+20"/>
<source>%n hour(s)</source>
<translation><numerusform>%n hora</numerusform><numerusform>%n horas</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n day(s)</source>
<translation><numerusform>%n dia</numerusform><numerusform>%n dias</numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n week(s)</source>
<translation><numerusform>%n semana</numerusform><numerusform>%n semanas</numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>%1 behind</source>
<translation>%1 atrás</translation>
</message>
<message>
<location line="+14"/>
<source>Last received block was generated %1 ago.</source>
<translation>Último bloco recebido foi gerado %1 atrás.</translation>
</message>
<message>
<location line="+2"/>
<source>Transactions after this will not yet be visible.</source>
<translation>Transações após isso ainda não estão visíveis.</translation>
</message>
<message>
<location line="+22"/>
<source>Error</source>
<translation>Erro</translation>
</message>
<message>
<location line="+3"/>
<source>Warning</source>
<translation>Cuidado</translation>
</message>
<message>
<location line="+3"/>
<source>Information</source>
<translation>Informação</translation>
</message>
<message>
<location line="+70"/>
<source>This transaction is over the size limit. You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee?</source>
<translation>A transação está acima do tamanho limite. Você ainda enviar ela com uma taxa de %1, que vai para os nós processam sua transação e ajuda a manter a rede. Você quer pagar a taxa?</translation>
</message>
<message>
<location line="-140"/>
<source>Up to date</source>
<translation>Atualizado</translation>
</message>
<message>
<location line="+31"/>
<source>Catching up...</source>
<translation>Recuperando o atraso ...</translation>
</message>
<message>
<location line="+113"/>
<source>Confirm transaction fee</source>
<translation>Confirmar taxa de transação</translation>
</message>
<message>
<location line="+8"/>
<source>Sent transaction</source>
<translation>Transação enviada</translation>
</message>
<message>
<location line="+0"/>
<source>Incoming transaction</source>
<translation>Transação recebida</translation>
</message>
<message>
<location line="+1"/>
<source>Date: %1
Amount: %2
Type: %3
Address: %4
</source>
<translation>Data: %1
Quantidade: %2
Tipo: %3
Endereço: %4</translation>
</message>
<message>
<location line="+33"/>
<location line="+23"/>
<source>URI handling</source>
<translation>Manipulação de URI</translation>
</message>
<message>
<location line="-23"/>
<location line="+23"/>
<source>URI can not be parsed! This can be caused by an invalid SwansonCoin address or malformed URI parameters.</source>
<translation>URI não pode ser decodificado! Isso pode ter sido causado por um endereço SwansonCoin inválido ou por parâmetros URI malformados.</translation>
</message>
<message>
<location line="+17"/>
<source>Wallet is <b>encrypted</b> and currently <b>unlocked</b></source>
<translation>Carteira está <b>criptografada</b> e atualmente <b>desbloqueada</b></translation>
</message>
<message>
<location line="+8"/>
<source>Wallet is <b>encrypted</b> and currently <b>locked</b></source>
<translation>Carteira está <b>criptografada</b> e atualmente <b>bloqueada</b></translation>
</message>
<message>
<location filename="../bitcoin.cpp" line="+111"/>
<source>A fatal error occurred. SwansonCoin can no longer continue safely and will quit.</source>
<translation>Um erro fatal ocorreu. SwansonCoin não pode continuar em segurança e irá fechar.</translation>
</message>
</context>
<context>
<name>ClientModel</name>
<message>
<location filename="../clientmodel.cpp" line="+104"/>
<source>Network Alert</source>
<translation>Alerta da Rede</translation>
</message>
</context>
<context>
<name>EditAddressDialog</name>
<message>
<location filename="../forms/editaddressdialog.ui" line="+14"/>
<source>Edit Address</source>
<translation>Editar Endereço</translation>
</message>
<message>
<location line="+11"/>
<source>&Label</source>
<translation>&Etiqueta</translation>
</message>
<message>
<location line="+10"/>
<source>The label associated with this address book entry</source>
<translation>A etiqueta associada a esse endereço do catálogo</translation>
</message>
<message>
<location line="+7"/>
<source>&Address</source>
<translation>&Endereço</translation>
</message>
<message>
<location line="+10"/>
<source>The address associated with this address book entry. This can only be modified for sending addresses.</source>
<translation>O endereço associado à essa entrada do seu catálogo de endereços. Isso só pode ser modificado para endereço de envio.</translation>
</message>
<message>
<location filename="../editaddressdialog.cpp" line="+21"/>
<source>New receiving address</source>
<translation>Novo endereço de recebimento</translation>
</message>
<message>
<location line="+4"/>
<source>New sending address</source>
<translation>Novo endereço de envio</translation>
</message>
<message>
<location line="+3"/>
<source>Edit receiving address</source>
<translation>Editar endereço de recebimento</translation>
</message>
<message>
<location line="+4"/>
<source>Edit sending address</source>
<translation>Editar endereço de envio</translation>
</message>
<message>
<location line="+76"/>
<source>The entered address "%1" is already in the address book.</source>
<translation>O endereço digitado "%1" já se encontra no catálogo de endereços.</translation>
</message>
<message>
<location line="-5"/>
<source>The entered address "%1" is not a valid SwansonCoin address.</source>
<translation>O endereço digitado "%1" não é um endereço SwansonCoin válido.</translation>
</message>
<message>
<location line="+10"/>
<source>Could not unlock wallet.</source>
<translation>Não foi possível destravar a carteira.</translation>
</message>
<message>
<location line="+5"/>
<source>New key generation failed.</source>
<translation>A geração de nova chave falhou.</translation>
</message>
</context>
<context>
<name>GUIUtil::HelpMessageBox</name>
<message>
<location filename="../guiutil.cpp" line="+424"/>
<location line="+12"/>
<source>SwansonCoin-Qt</source>
<translation>SwansonCoin-Qt</translation>
</message>
<message>
<location line="-12"/>
<source>version</source>
<translation>versão</translation>
</message>
<message>
<location line="+2"/>
<source>Usage:</source>
<translation>Uso:</translation>
</message>
<message>
<location line="+1"/>
<source>command-line options</source>
<translation>opções da linha de comando</translation>
</message>
<message>
<location line="+4"/>
<source>UI options</source>
<translation>opções da UI</translation>
</message>
<message>
<location line="+1"/>
<source>Set language, for example "de_DE" (default: system locale)</source>
<translation>Escolher língua, por exemplo "de_DE" (padrão: localização do sistema)</translation>
</message>
<message>
<location line="+1"/>
<source>Start minimized</source>
<translation>Inicializar minimizado</translation>
</message>
<message>
<location line="+1"/>
<source>Show splash screen on startup (default: 1)</source>
<translation>Mostrar tela inicial ao ligar (padrão: 1)</translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
<location filename="../forms/optionsdialog.ui" line="+14"/>
<source>Options</source>
<translation>Opções</translation>
</message>
<message>
<location line="+16"/>
<source>&Main</source>
<translation>Principal</translation>
</message>
<message>
<location line="+6"/>
<source>Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+15"/>
<source>Pay transaction &fee</source>
<translation>Pagar taxa de &transação</translation>
</message>
<message>
<location line="+31"/>
<source>Automatically start SwansonCoin after logging in to the system.</source>
<translation>Iniciar SwansonCoin automaticamente após se logar no sistema.</translation>
</message>
<message>
<location line="+3"/>
<source>&Start SwansonCoin on system login</source>
<translation>Iniciar SwansonCoin no login do sistema</translation>
</message>
<message>
<location line="+35"/>
<source>Reset all client options to default.</source>
<translation>Redefinir todas as opções do cliente para opções padrão.</translation>
</message>
<message>
<location line="+3"/>
<source>&Reset Options</source>
<translation>&Redefinir opções</translation>
</message>
<message>
<location line="+13"/>
<source>&Network</source>
<translation>Rede</translation>
</message>
<message>
<location line="+6"/>
<source>Automatically open the SwansonCoin client port on the router. This only works when your router supports UPnP and it is enabled.</source>
<translation>Abrir as portas do cliente SwansonCoin automaticamente no roteador. Isto só funcionará se seu roteador suportar UPnP e esta função estiver habilitada.</translation>
</message>
<message>
<location line="+3"/>
<source>Map port using &UPnP</source>
<translation>Mapear porta usando &UPnP</translation>
</message>
<message>
<location line="+7"/>
<source>Connect to the SwansonCoin network through a SOCKS proxy (e.g. when connecting through Tor).</source>
<translation>Conectar à rede SwansonCoin através de um proxy SOCKS (ex. quando estiver usando através do Tor)</translation>
</message>
<message>
<location line="+3"/>
<source>&Connect through SOCKS proxy:</source>
<translation>&Conectar através de um proxy SOCKS:</translation>
</message>
<message>
<location line="+9"/>
<source>Proxy &IP:</source>
<translation>&IP do proxy:</translation>
</message>
<message>
<location line="+19"/>
<source>IP address of the proxy (e.g. 127.0.0.1)</source>
<translation>Endereço &IP do proxy (ex. 127.0.0.1)</translation>
</message>
<message>
<location line="+7"/>
<source>&Port:</source>
<translation>&Porta:</translation>
</message>
<message>
<location line="+19"/>
<source>Port of the proxy (e.g. 9050)</source>
<translation>Porta do serviço de proxy (ex. 9050)</translation>
</message>
<message>
<location line="+7"/>
<source>SOCKS &Version:</source>
<translation>&Versão do SOCKS:</translation>
</message>
<message>
<location line="+13"/>
<source>SOCKS version of the proxy (e.g. 5)</source>
<translation>Versão do proxy SOCKS (ex. 5)</translation>
</message>
<message>
<location line="+36"/>
<source>&Window</source>
<translation>&Janela</translation>
</message>
<message>
<location line="+6"/>
<source>Show only a tray icon after minimizing the window.</source>
<translation>Mostrar apenas um ícone na bandeja ao minimizar a janela.</translation>
</message>
<message>
<location line="+3"/>
<source>&Minimize to the tray instead of the taskbar</source>
<translation>&Minimizar para a bandeja em vez da barra de tarefas.</translation>
</message>
<message>
<location line="+7"/>
<source>Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu.</source>
<translation>Minimizar em vez de sair do aplicativo quando a janela for fechada. Quando esta opção é escolhida, o aplicativo só será fechado selecionando Sair no menu Arquivo.</translation>
</message>
<message>
<location line="+3"/>
<source>M&inimize on close</source>
<translation>M&inimizar ao sair</translation>
</message>
<message>
<location line="+21"/>
<source>&Display</source>
<translation>&Mostrar</translation>
</message>
<message>
<location line="+8"/>
<source>User Interface &language:</source>
<translation>&Língua da interface com usuário:</translation>
</message>
<message>
<location line="+13"/>
<source>The user interface language can be set here. This setting will take effect after restarting SwansonCoin.</source>
<translation>A língua da interface com usuário pode ser escolhida aqui. Esta configuração só surtirá efeito após reiniciar o SwansonCoin.</translation>
</message>
<message>
<location line="+11"/>
<source>&Unit to show amounts in:</source>
<translation>&Unidade usada para mostrar quantidades:</translation>
</message>
<message>
<location line="+13"/>
<source>Choose the default subdivision unit to show in the interface and when sending coins.</source>
<translation>Escolha a unidade padrão de subdivisão para interface mostrar quando enviar swansoncoins.</translation>
</message>
<message>
<location line="+9"/>
<source>Whether to show SwansonCoin addresses in the transaction list or not.</source>
<translation>Mostrar ou não endereços SwansonCoin na lista de transações.</translation>
</message>
<message>
<location line="+3"/>
<source>&Display addresses in transaction list</source>
<translation>Mostrar en&dereços na lista de transações</translation>
</message>
<message>
<location line="+71"/>
<source>&OK</source>
<translation>&OK</translation>
</message>
<message>
<location line="+7"/>
<source>&Cancel</source>
<translation>&Cancelar</translation>
</message>
<message>
<location line="+10"/>
<source>&Apply</source>
<translation>&Aplicar</translation>
</message>
<message>
<location filename="../optionsdialog.cpp" line="+53"/>
<source>default</source>
<translation>padrão</translation>
</message>
<message>
<location line="+130"/>
<source>Confirm options reset</source>
<translation>Confirmar redefinição de opções</translation>
</message>
<message>
<location line="+1"/>
<source>Some settings may require a client restart to take effect.</source>
<translation>Algumas configurações requerem reinicialização para surtirem efeito.</translation>
</message>
<message>
<location line="+0"/>
<source>Do you want to proceed?</source>
<translation>Você quer continuar?</translation>
</message>
<message>
<location line="+42"/>
<location line="+9"/>
<source>Warning</source>
<translation>Cuidado</translation>
</message>
<message>
<location line="-9"/>
<location line="+9"/>
<source>This setting will take effect after restarting SwansonCoin.</source>
<translation>Esta configuração surtirá efeito após reinicializar o aplicativo SwansonCoin</translation>
</message>
<message>
<location line="+29"/>
<source>The supplied proxy address is invalid.</source>
<translation>O endereço proxy fornecido é inválido.</translation>
</message>
</context>
<context>
<name>OverviewPage</name>
<message>
<location filename="../forms/overviewpage.ui" line="+14"/>
<source>Form</source>
<translation>Formulário</translation>
</message>
<message>
<location line="+50"/>
<location line="+166"/>
<source>The displayed information may be out of date. Your wallet automatically synchronizes with the SwansonCoin network after a connection is established, but this process has not completed yet.</source>
<translation>A informação mostrada pode estar desatualizada. Sua carteira sincroniza automaticamente com a rede SwansonCoin depois que a conexão é estabelecida, mas este processo pode não estar completo ainda.</translation>
</message>
<message>
<location line="-124"/>
<source>Balance:</source>
<translation>Saldo:</translation>
</message>
<message>
<location line="+29"/>
<source>Unconfirmed:</source>
<translation>Não confirmadas:</translation>
</message>
<message>
<location line="-78"/>
<source>Wallet</source>
<translation>Carteira</translation>
</message>
<message>
<location line="+107"/>
<source>Immature:</source>
<translation>Imaturo:</translation>
</message>
<message>
<location line="+13"/>
<source>Mined balance that has not yet matured</source>
<translation>Saldo minerado que ainda não maturou</translation>
</message>
<message>
<location line="+46"/>
<source><b>Recent transactions</b></source>
<translation><b>Transações recentes</b></translation>
</message>
<message>
<location line="-101"/>
<source>Your current balance</source>
<translation>Seu saldo atual</translation>
</message>
<message>
<location line="+29"/>
<source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source>
<translation>Total de transações ainda não confirmadas, e que ainda não contam no saldo atual</translation>
</message>
<message>
<location filename="../overviewpage.cpp" line="+116"/>
<location line="+1"/>
<source>out of sync</source>
<translation>fora de sincronia</translation>
</message>
</context>
<context>
<name>PaymentServer</name>
<message>
<location filename="../paymentserver.cpp" line="+107"/>
<source>Cannot start swansoncoin: click-to-pay handler</source>
<translation>Não foi possível iniciar swansoncoin: manipulador clique-para-pagar</translation>
</message>
</context>
<context>
<name>QRCodeDialog</name>
<message>
<location filename="../forms/qrcodedialog.ui" line="+14"/>
<source>QR Code Dialog</source>
<translation>Janela do código QR</translation>
</message>
<message>
<location line="+59"/>
<source>Request Payment</source>
<translation>Requisitar Pagamento</translation>
</message>
<message>
<location line="+56"/>
<source>Amount:</source>
<translation>Quantia:</translation>
</message>
<message>
<location line="-44"/>
<source>Label:</source>
<translation>Etiqueta:</translation>
</message>
<message>
<location line="+19"/>
<source>Message:</source>
<translation>Mensagem:</translation>
</message>
<message>
<location line="+71"/>
<source>&Save As...</source>
<translation>&Salvar como...</translation>
</message>
<message>
<location filename="../qrcodedialog.cpp" line="+62"/>
<source>Error encoding URI into QR Code.</source>
<translation>Erro ao codigicar o URI em código QR</translation>
</message>
<message>
<location line="+40"/>
<source>The entered amount is invalid, please check.</source>
<translation>A quantidade digitada é inválida, favor verificar.</translation>
</message>
<message>
<location line="+23"/>
<source>Resulting URI too long, try to reduce the text for label / message.</source>
<translation>URI resultante muito longa. Tente reduzir o texto do rótulo ou da mensagem.</translation>
</message>
<message>
<location line="+25"/>
<source>Save QR Code</source>
<translation>Salvar código QR</translation>
</message>
<message>
<location line="+0"/>
<source>PNG Images (*.png)</source>
<translation>Imagens PNG (*.png)</translation>
</message>
</context>
<context>
<name>RPCConsole</name>
<message>
<location filename="../forms/rpcconsole.ui" line="+46"/>
<source>Client name</source>
<translation>Nome do cliente</translation>
</message>
<message>
<location line="+10"/>
<location line="+23"/>
<location line="+26"/>
<location line="+23"/>
<location line="+23"/>
<location line="+36"/>
<location line="+53"/>
<location line="+23"/>
<location line="+23"/>
<location filename="../rpcconsole.cpp" line="+339"/>
<source>N/A</source>
<translation>N/A</translation>
</message>
<message>
<location line="-217"/>
<source>Client version</source>
<translation>Versão do cliente</translation>
</message>
<message>
<location line="-45"/>
<source>&Information</source>
<translation>&Informação</translation>
</message>
<message>
<location line="+68"/>
<source>Using OpenSSL version</source>
<translation>Usando OpenSSL versão</translation>
</message>
<message>
<location line="+49"/>
<source>Startup time</source>
<translation>Horário de inicialização</translation>
</message>
<message>
<location line="+29"/>
<source>Network</source>
<translation>Rede</translation>
</message>
<message>
<location line="+7"/>
<source>Number of connections</source>
<translation>Número de conexões</translation>
</message>
<message>
<location line="+23"/>
<source>On testnet</source>
<translation>Na rede de teste</translation>
</message>
<message>
<location line="+23"/>
<source>Block chain</source>
<translation>Corrente de blocos</translation>
</message>
<message>
<location line="+7"/>
<source>Current number of blocks</source>
<translation>Quantidade atual de blocos</translation>
</message>
<message>
<location line="+23"/>
<source>Estimated total blocks</source>
<translation>Total estimado de blocos</translation>
</message>
<message>
<location line="+23"/>
<source>Last block time</source>
<translation>Horário do último bloco</translation>
</message>
<message>
<location line="+52"/>
<source>&Open</source>
<translation>&Abrir</translation>
</message>
<message>
<location line="+16"/>
<source>Command-line options</source>
<translation>Opções da linha de comando</translation>
</message>
<message>
<location line="+7"/>
<source>Show the SwansonCoin-Qt help message to get a list with possible SwansonCoin command-line options.</source>
<translation>Mostrar mensagem de ajuda do SwansonCoin-Qt para obter uma lista com possíveis opções da linha de comando do SwansonCoin.</translation>
</message>
<message>
<location line="+3"/>
<source>&Show</source>
<translation>&Mostrar</translation>
</message>
<message>
<location line="+24"/>
<source>&Console</source>
<translation>&Console</translation>
</message>
<message>
<location line="-260"/>
<source>Build date</source>
<translation>Data do 'build'</translation>
</message>
<message>
<location line="-104"/>
<source>SwansonCoin - Debug window</source>
<translation>SwansonCoin - Janela de Depuração</translation>
</message>
<message>
<location line="+25"/>
<source>SwansonCoin Core</source>
<translation>Núcleo SwansonCoin</translation>
</message>
<message>
<location line="+279"/>
<source>Debug log file</source>
<translation>Arquivo de log de Depuração</translation>
</message>
<message>
<location line="+7"/>
<source>Open the SwansonCoin debug log file from the current data directory. This can take a few seconds for large log files.</source>
<translation>Abrir o arquivo de log de depuração do SwansonCoin do diretório atual de dados. Isso pode levar alguns segundos para arquivos de log grandes.</translation>
</message>
<message>
<location line="+102"/>
<source>Clear console</source>
<translation>Limpar console</translation>
</message>
<message>
<location filename="../rpcconsole.cpp" line="-30"/>
<source>Welcome to the SwansonCoin RPC console.</source>
<translation>Bem-vindo ao console SwansonCoin RPC.</translation>
</message>
<message>
<location line="+1"/>
<source>Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.</source>
<translation>Use as setas para cima e para baixo para navegar pelo histórico, e <b>Ctrl-L</b> para limpar a tela.</translation>
</message>
<message>
<location line="+1"/>
<source>Type <b>help</b> for an overview of available commands.</source>
<translation>Digite <b>help</b> para uma visão geral dos comandos disponíveis.</translation>
</message>
</context>
<context>
<name>SendCoinsDialog</name>
<message>
<location filename="../forms/sendcoinsdialog.ui" line="+14"/>
<location filename="../sendcoinsdialog.cpp" line="+124"/>
<location line="+5"/>
<location line="+5"/>
<location line="+5"/>
<location line="+6"/>
<location line="+5"/>
<location line="+5"/>
<source>Send Coins</source>
<translation>Enviar dinheiro</translation>
</message>
<message>
<location line="+50"/>
<source>Send to multiple recipients at once</source>
<translation>Enviar para vários destinatários de uma só vez</translation>
</message>
<message>
<location line="+3"/>
<source>Add &Recipient</source>
<translation>Adicionar destinatário</translation>
</message>
<message>
<location line="+20"/>
<source>Remove all transaction fields</source>
<translation>Remover todos os campos da transação</translation>
</message>
<message>
<location line="+3"/>
<source>Clear &All</source>
<translation>Limpar Tudo</translation>
</message>
<message>
<location line="+22"/>
<source>Balance:</source>
<translation>Saldo:</translation>
</message>
<message>
<location line="+10"/>
<source>123.456 BTC</source>
<translation>123.456 BTC</translation>
</message>
<message>
<location line="+31"/>
<source>Confirm the send action</source>
<translation>Confirmar o envio</translation>
</message>
<message>
<location line="+3"/>
<source>S&end</source>
<translation>Enviar</translation>
</message>
<message>
<location filename="../sendcoinsdialog.cpp" line="-59"/>
<source><b>%1</b> to %2 (%3)</source>
<translation><b>%1</b> para %2 (%3)</translation>
</message>
<message>
<location line="+5"/>
<source>Confirm send coins</source>
<translation>Confirmar envio de dinheiro</translation>
</message>
<message>
<location line="+1"/>
<source>Are you sure you want to send %1?</source>
<translation>Você tem certeza que deseja enviar %1?</translation>
</message>
<message>
<location line="+0"/>
<source> and </source>
<translation>e</translation>
</message>
<message>
<location line="+23"/>
<source>The recipient address is not valid, please recheck.</source>
<translation>O endereço do destinatário não é válido, favor verificar.</translation>
</message>
<message>
<location line="+5"/>
<source>The amount to pay must be larger than 0.</source>
<translation>A quantidade a ser paga precisa ser maior que 0.</translation>
</message>
<message>
<location line="+5"/>
<source>The amount exceeds your balance.</source>
<translation>A quantidade excede seu saldo.</translation>
</message>
<message>
<location line="+5"/>
<source>The total exceeds your balance when the %1 transaction fee is included.</source>
<translation>O total excede seu saldo quando uma taxa de transação de %1 é incluída.</translation>
</message>
<message>
<location line="+6"/>
<source>Duplicate address found, can only send to each address once per send operation.</source>
<translation>Endereço duplicado: pode-se enviar para cada endereço apenas uma vez por transação.</translation>
</message>
<message>
<location line="+5"/>
<source>Error: Transaction creation failed!</source>
<translation>Erro: Criação da transação falhou!</translation>
</message>
<message>
<location line="+5"/>
<source>Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source>
<translation>Erro: A transação foi rejeitada. Isso pode acontecer se alguns dos swansoncoins de sua carteira já haviam sido gastos, por exemplo se você usou uma cópia do arquivo wallet.dat e alguns swansoncoins foram gastos na cópia mas não foram marcados como gastos aqui.</translation>
</message>
</context>
<context>
<name>SendCoinsEntry</name>
<message>
<location filename="../forms/sendcoinsentry.ui" line="+14"/>
<source>Form</source>
<translation>Formulário</translation>
</message>
<message>
<location line="+15"/>
<source>A&mount:</source>
<translation>Q&uantidade:</translation>
</message>
<message>
<location line="+13"/>
<source>Pay &To:</source>
<translation>Pagar &Para:</translation>
</message>
<message>
<location line="+34"/>
<source>The address to send the payment to (e.g. <API key>)</source>
<translation>O endereço para onde enviar o pagamento (ex. <API key>)</translation>
</message>
<message>
<location line="+60"/>
<location filename="../sendcoinsentry.cpp" line="+26"/>
<source>Enter a label for this address to add it to your address book</source>
<translation>Digite uma etiqueta para este endereço para adicioná-lo ao catálogo de endereços</translation>
</message>
<message>
<location line="-78"/>
<source>&Label:</source>
<translation>&Etiqueta:</translation>
</message>
<message>
<location line="+28"/>
<source>Choose address from address book</source>
<translation>Escolha um endereço do seu catálogo</translation>
</message>
<message>
<location line="+10"/>
<source>Alt+A</source>
<translation>Alt+A</translation>
</message>
<message>
<location line="+7"/>
<source>Paste address from clipboard</source>
<translation>Colar o endereço da área de transferência</translation>
</message>
<message>
<location line="+10"/>
<source>Alt+P</source>
<translation>Alt+P</translation>
</message>
<message>
<location line="+7"/>
<source>Remove this recipient</source>
<translation>Remover este destinatário</translation>
</message>
<message>
<location filename="../sendcoinsentry.cpp" line="+1"/>
<source>Enter a SwansonCoin address (e.g. <API key>)</source>
<translation>Digite um endereço SwansonCoin (exemplo: <API key>)</translation>
</message>
</context>
<context>
<name><API key></name>
<message>
<location filename="../forms/<API key>.ui" line="+14"/>
<source>Signatures - Sign / Verify a Message</source>
<translation>Assinaturas - Assinar / Verificar uma mensagem</translation>
</message>
<message>
<location line="+13"/>
<source>&Sign Message</source>
<translation>&Assinar Mensagem</translation>
</message>
<message>
<location line="+6"/>
<source>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</source>
<translation>Você pode assinar mensagens com seus endereços para provar que você é o dono deles. Seja cuidadoso para não assinar algo vago, pois ataques de pishing podem tentar te enganar para dar sua assinatura de identidade para eles. Apenas assine afirmações completamente detalhadas com as quais você concorda.</translation>
</message>
<message>
<location line="+18"/>
<source>The address to sign the message with (e.g. <API key>)</source>
<translation>Endereço a ser usado para assinar a mensagem (e.g. <API key>)</translation>
</message>
<message>
<location line="+10"/>
<location line="+213"/>
<source>Choose an address from the address book</source>
<translation>Escolha um endereço do catálogo</translation>
</message>
<message>
<location line="-203"/>
<location line="+213"/>
<source>Alt+A</source>
<translation>Alt+A</translation>
</message>
<message>
<location line="-203"/>
<source>Paste address from clipboard</source>
<translation>Colar o endereço da área de transferência</translation>
</message>
<message>
<location line="+10"/>
<source>Alt+P</source>
<translation>Alt+P</translation>
</message>
<message>
<location line="+12"/>
<source>Enter the message you want to sign here</source>
<translation>Entre a mensagem que você quer assinar aqui</translation>
</message>
<message>
<location line="+7"/>
<source>Signature</source>
<translation>Assinatura</translation>
</message>
<message>
<location line="+27"/>
<source>Copy the current signature to the system clipboard</source>
<translation>Copiar a assinatura para a área de transferência do sistema</translation>
</message>
<message>
<location line="+21"/>
<source>Sign the message to prove you own this SwansonCoin address</source>
<translation>Assinar mensagem para provar que você é dono deste endereço SwansonCoin</translation>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation>Assinar &Mensagem</translation>
</message>
<message>
<location line="+14"/>
<source>Reset all sign message fields</source>
<translation>Limpar todos os campos de assinatura da mensagem</translation>
</message>
<message>
<location line="+3"/>
<location line="+146"/>
<source>Clear &All</source>
<translation>Limpar Tudo</translation>
</message>
<message>
<location line="-87"/>
<source>&Verify Message</source>
<translation>&Verificar Mensagem</translation>
</message>
<message>
<location line="+6"/>
<source>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</source>
<translation>Forneça o endereço da assinatura, a mensagem (se assegure que você copiou quebras de linha, espaços, tabs, etc. exatamente) e a assinatura abaixo para verificar a mensagem. Cuidado para não ler mais na assinatura do que está escrito na mensagem propriamente, para evitar ser vítima de uma ataque do tipo "man-in-the-middle".</translation>
</message>
<message>
<location line="+21"/>
<source>The address the message was signed with (e.g. <API key>)</source>
<translation>O endereço usado para assinar a mensagem (ex. <API key>)</translation>
</message>
<message>
<location line="+40"/>
<source>Verify the message to ensure it was signed with the specified SwansonCoin address</source>
<translation>Verificar mensagem para se assegurar que ela foi assinada pelo dono de um endereço SwansonCoin específico.</translation>
</message>
<message>
<location line="+3"/>
<source>Verify &Message</source>
<translation>Verificar %Mensagem</translation>
</message>
<message>
<location line="+14"/>
<source>Reset all verify message fields</source>
<translation>Limpar todos os campos de assinatura da mensagem</translation>
</message>
<message>
<location filename="../<API key>.cpp" line="+27"/>
<location line="+3"/>
<source>Enter a SwansonCoin address (e.g. <API key>)</source>
<translation>Digite um endereço SwansonCoin (exemplo: <API key>)</translation>
</message>
<message>
<location line="-2"/>
<source>Click "Sign Message" to generate signature</source>
<translation>Clique em "Assinar Mensagem" para gerar a assinatura</translation>
</message>
<message>
<location line="+3"/>
<source>Enter SwansonCoin signature</source>
<translation>Entre com a assinatura SwansonCoin</translation>
</message>
<message>
<location line="+82"/>
<location line="+81"/>
<source>The entered address is invalid.</source>
<translation>O endereço fornecido é inválido.</translation>
</message>
<message>
<location line="-81"/>
<location line="+8"/>
<location line="+73"/>
<location line="+8"/>
<source>Please check the address and try again.</source>
<translation>Por favor, verifique o endereço e tente novamente.</translation>
</message>
<message>
<location line="-81"/>
<location line="+81"/>
<source>The entered address does not refer to a key.</source>
<translation>O endereço fornecido não se refere a uma chave.</translation>
</message>
<message>
<location line="-73"/>
<source>Wallet unlock was cancelled.</source>
<translation>Destravamento da Carteira foi cancelado.</translation>
</message>
<message>
<location line="+8"/>
<source>Private key for the entered address is not available.</source>
<translation>A chave privada para o endereço fornecido não está disponível.</translation>
</message>
<message>
<location line="+12"/>
<source>Message signing failed.</source>
<translation>Assinatura da mensagem falhou.</translation>
</message>
<message>
<location line="+5"/>
<source>Message signed.</source>
<translation>Mensagem assinada.</translation>
</message>
<message>
<location line="+59"/>
<source>The signature could not be decoded.</source>
<translation>A assinatura não pode ser decodificada.</translation>
</message>
<message>
<location line="+0"/>
<location line="+13"/>
<source>Please check the signature and try again.</source>
<translation>Por favor, verifique a assinatura e tente novamente.</translation>
</message>
<message>
<location line="+0"/>
<source>The signature did not match the message digest.</source>
<translation>A assinatura não corresponde ao "resumo da mensagem".</translation>
</message>
<message>
<location line="+7"/>
<source>Message verification failed.</source>
<translation>Verificação da mensagem falhou.</translation>
</message>
<message>
<location line="+5"/>
<source>Message verified.</source>
<translation>Mensagem verificada.</translation>
</message>
</context>
<context>
<name>SplashScreen</name>
<message>
<location filename="../splashscreen.cpp" line="+22"/>
<source>The SwansonCoin developers</source>
<translation>Desenvolvedores do SwansonCoin</translation>
</message>
<message>
<location line="+1"/>
<source>[testnet]</source>
<translation>[testnet]</translation>
</message>
</context>
<context>
<name>TransactionDesc</name>
<message>
<location filename="../transactiondesc.cpp" line="+20"/>
<source>Open until %1</source>
<translation>Aberto até %1</translation>
</message>
<message>
<location line="+6"/>
<source>%1/offline</source>
<translation>%1/offline</translation>
</message>
<message>
<location line="+2"/>
<source>%1/unconfirmed</source>
<translation>%1/não confirmadas</translation>
</message>
<message>
<location line="+2"/>
<source>%1 confirmations</source>
<translation>%1 confirmações</translation>
</message>
<message>
<location line="+18"/>
<source>Status</source>
<translation>Status</translation>
</message>
<message numerus="yes">
<location line="+7"/>
<source>, broadcast through %n node(s)</source>
<translation><numerusform>, difundir atráves de %n nó</numerusform><numerusform>, difundir atráves de %n nós</numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>Date</source>
<translation>Data</translation>
</message>
<message>
<location line="+7"/>
<source>Source</source>
<translation>Fonte</translation>
</message>
<message>
<location line="+0"/>
<source>Generated</source>
<translation>Gerados</translation>
</message>
<message>
<location line="+5"/>
<location line="+17"/>
<source>From</source>
<translation>De</translation>
</message>
<message>
<location line="+1"/>
<location line="+22"/>
<location line="+58"/>
<source>To</source>
<translation>Para</translation>
</message>
<message>
<location line="-77"/>
<location line="+2"/>
<source>own address</source>
<translation>seu próprio endereço</translation>
</message>
<message>
<location line="-2"/>
<source>label</source>
<translation>etiqueta</translation>
</message>
<message>
<location line="+37"/>
<location line="+12"/>
<location line="+45"/>
<location line="+17"/>
<location line="+30"/>
<source>Credit</source>
<translation>Crédito</translation>
</message>
<message numerus="yes">
<location line="-102"/>
<source>matures in %n more block(s)</source>
<translation><numerusform>matura em mais %n bloco</numerusform><numerusform>matura em mais %n blocos</numerusform></translation>
</message>
<message>
<location line="+2"/>
<source>not accepted</source>
<translation>não aceito</translation>
</message>
<message>
<location line="+44"/>
<location line="+8"/>
<location line="+15"/>
<location line="+30"/>
<source>Debit</source>
<translation>Débito</translation>
</message>
<message>
<location line="-39"/>
<source>Transaction fee</source>
<translation>Taxa de transação</translation>
</message>
<message>
<location line="+16"/>
<source>Net amount</source>
<translation>Valor líquido</translation>
</message>
<message>
<location line="+6"/>
<source>Message</source>
<translation>Mensagem</translation>
</message>
<message>
<location line="+2"/>
<source>Comment</source>
<translation>Comentário</translation>
</message>
<message>
<location line="+2"/>
<source>Transaction ID</source>
<translation>ID da transação</translation>
</message>
<message>
<location line="+3"/>
<source>Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source>
<translation>SwansonCoins gerados precisam maturar por 120 blocos antes de serem gastos. Quando você gera este bloco, ele é difundido na rede para ser adicionado ao blockchain. Se ele falhar ao ser acrescentado no blockchain, seu estado mudará para "não aceito" e não poderá ser gasto. Isso pode ocasionamente acontecer se outro nó gerou um bloco poucos segundos antes do seu.</translation>
</message>
<message>
<location line="+7"/>
<source>Debug information</source>
<translation>Informação de depuração</translation>
</message>
<message>
<location line="+8"/>
<source>Transaction</source>
<translation>Transação</translation>
</message>
<message>
<location line="+3"/>
<source>Inputs</source>
<translation>Entradas</translation>
</message>
<message>
<location line="+23"/>
<source>Amount</source>
<translation>Quantidade</translation>
</message>
<message>
<location line="+1"/>
<source>true</source>
<translation>verdadeiro</translation>
</message>
<message>
<location line="+0"/>
<source>false</source>
<translation>falso</translation>
</message>
<message>
<location line="-209"/>
<source>, has not been successfully broadcast yet</source>
<translation>, ainda não foi propagada na rede com sucesso.</translation>
</message>
<message numerus="yes">
<location line="-35"/>
<source>Open for %n more block(s)</source>
<translation><numerusform>Abrir para mais %n bloco</numerusform><numerusform>Abrir para mais %n blocos</numerusform></translation>
</message>
<message>
<location line="+70"/>
<source>unknown</source>
<translation>desconhecido</translation>
</message>
</context>
<context>
<name><API key></name>
<message>
<location filename="../forms/<API key>.ui" line="+14"/>
<source>Transaction details</source>
<translation>Detalhes da transação</translation>
</message>
<message>
<location line="+6"/>
<source>This pane shows a detailed description of the transaction</source>
<translation>Este painel mostra uma descrição detalhada da transação</translation>
</message>
</context>
<context>
<name><API key></name>
<message>
<location filename="../<API key>.cpp" line="+225"/>
<source>Date</source>
<translation>Data</translation>
</message>
<message>
<location line="+0"/>
<source>Type</source>
<translation>Tipo</translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation>Endereço</translation>
</message>
<message>
<location line="+0"/>
<source>Amount</source>
<translation>Quantidade</translation>
</message>
<message numerus="yes">
<location line="+57"/>
<source>Open for %n more block(s)</source>
<translation><numerusform>Abrir para mais %n bloco</numerusform><numerusform>Abrir para mais %n blocos</numerusform></translation>
</message>
<message>
<location line="+3"/>
<source>Open until %1</source>
<translation>Aberto até %1</translation>
</message>
<message>
<location line="+3"/>
<source>Offline (%1 confirmations)</source>
<translation>Offline (%1 confirmações)</translation>
</message>
<message>
<location line="+3"/>
<source>Unconfirmed (%1 of %2 confirmations)</source>
<translation>Não confirmado (%1 of %2 confirmações)</translation>
</message>
<message>
<location line="+3"/>
<source>Confirmed (%1 confirmations)</source>
<translation>Confirmado (%1 confirmações)</translation>
</message>
<message numerus="yes">
<location line="+8"/>
<source>Mined balance will be available when it matures in %n more block(s)</source>
<translation><numerusform>Saldo minerado vai estar disponível quando ele maturar em mais %n bloco</numerusform><numerusform>Saldo minerado vai estar disponível quando ele maturar em mais %n blocos</numerusform></translation>
</message>
<message>
<location line="+5"/>
<source>This block was not received by any other nodes and will probably not be accepted!</source>
<translation>Este bloco não foi recebido por nenhum outro participante da rede e provavelmente não será aceito!</translation>
</message>
<message>
<location line="+3"/>
<source>Generated but not accepted</source>
<translation>Gerado mas não aceito</translation>
</message>
<message>
<location line="+43"/>
<source>Received with</source>
<translation>Recebido por</translation>
</message>
<message>
<location line="+2"/>
<source>Received from</source>
<translation>Recebido de</translation>
</message>
<message>
<location line="+3"/>
<source>Sent to</source>
<translation>Enviado para</translation>
</message>
<message>
<location line="+2"/>
<source>Payment to yourself</source>
<translation>Pagamento para você mesmo</translation>
</message>
<message>
<location line="+2"/>
<source>Mined</source>
<translation>Minerado</translation>
</message>
<message>
<location line="+38"/>
<source>(n/a)</source>
<translation>(n/a)</translation>
</message>
<message>
<location line="+199"/>
<source>Transaction status. Hover over this field to show number of confirmations.</source>
<translation>Status da transação. Passe o mouse sobre este campo para mostrar o número de confirmações.</translation>
</message>
<message>
<location line="+2"/>
<source>Date and time that the transaction was received.</source>
<translation>Data e hora em que a transação foi recebida.</translation>
</message>
<message>
<location line="+2"/>
<source>Type of transaction.</source>
<translation>Tipo de transação.</translation>
</message>
<message>
<location line="+2"/>
<source>Destination address of transaction.</source>
<translation>Endereço de destino da transação.</translation>
</message>
<message>
<location line="+2"/>
<source>Amount removed from or added to balance.</source>
<translation>Quantidade debitada ou creditada ao saldo.</translation>
</message>
</context>
<context>
<name>TransactionView</name>
<message>
<location filename="../transactionview.cpp" line="+52"/>
<location line="+16"/>
<source>All</source>
<translation>Todos</translation>
</message>
<message>
<location line="-15"/>
<source>Today</source>
<translation>Hoje</translation>
</message>
<message>
<location line="+1"/>
<source>This week</source>
<translation>Esta semana</translation>
</message>
<message>
<location line="+1"/>
<source>This month</source>
<translation>Este mês</translation>
</message>
<message>
<location line="+1"/>
<source>Last month</source>
<translation>Mês passado</translation>
</message>
<message>
<location line="+1"/>
<source>This year</source>
<translation>Este ano</translation>
</message>
<message>
<location line="+1"/>
<source>Range...</source>
<translation>Intervalo...</translation>
</message>
<message>
<location line="+11"/>
<source>Received with</source>
<translation>Recebido por</translation>
</message>
<message>
<location line="+2"/>
<source>Sent to</source>
<translation>Enviado para</translation>
</message>
<message>
<location line="+2"/>
<source>To yourself</source>
<translation>Para você mesmo</translation>
</message>
<message>
<location line="+1"/>
<source>Mined</source>
<translation>Minerado</translation>
</message>
<message>
<location line="+1"/>
<source>Other</source>
<translation>Outro</translation>
</message>
<message>
<location line="+7"/>
<source>Enter address or label to search</source>
<translation>Procure um endereço ou etiqueta</translation>
</message>
<message>
<location line="+7"/>
<source>Min amount</source>
<translation>Quantidade mínima</translation>
</message>
<message>
<location line="+34"/>
<source>Copy address</source>
<translation>Copiar endereço</translation>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation>Copiar etiqueta</translation>
</message>
<message>
<location line="+1"/>
<source>Copy amount</source>
<translation>Copiar quantia</translation>
</message>
<message>
<location line="+1"/>
<source>Copy transaction ID</source>
<translation>Copiar ID da transação</translation>
</message>
<message>
<location line="+1"/>
<source>Edit label</source>
<translation>Editar etiqueta</translation>
</message>
<message>
<location line="+1"/>
<source>Show transaction details</source>
<translation>Mostrar detalhes da transação</translation>
</message>
<message>
<location line="+139"/>
<source>Export Transaction Data</source>
<translation>Exportar Dados das Transações</translation>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation>Arquivo separado por vírgulas (*. csv)</translation>
</message>
<message>
<location line="+8"/>
<source>Confirmed</source>
<translation>Confirmado</translation>
</message>
<message>
<location line="+1"/>
<source>Date</source>
<translation>Data</translation>
</message>
<message>
<location line="+1"/>
<source>Type</source>
<translation>Tipo</translation>
</message>
<message>
<location line="+1"/>
<source>Label</source>
<translation>Etiqueta</translation>
</message>
<message>
<location line="+1"/>
<source>Address</source>
<translation>Endereço</translation>
</message>
<message>
<location line="+1"/>
<source>Amount</source>
<translation>Quantidade</translation>
</message>
<message>
<location line="+1"/>
<source>ID</source>
<translation>ID</translation>
</message>
<message>
<location line="+4"/>
<source>Error exporting</source>
<translation>Erro ao exportar</translation>
</message>
<message>
<location line="+0"/>
<source>Could not write to file %1.</source>
<translation>Não foi possível gravar no arquivo %1.</translation>
</message>
<message>
<location line="+100"/>
<source>Range:</source>
<translation>Intervalo: </translation>
</message>
<message>
<location line="+8"/>
<source>to</source>
<translation>para</translation>
</message>
</context>
<context>
<name>WalletModel</name>
<message>
<location filename="../walletmodel.cpp" line="+193"/>
<source>Send Coins</source>
<translation>Send Coins</translation>
</message>
</context>
<context>
<name>WalletView</name>
<message>
<location filename="../walletview.cpp" line="+42"/>
<source>&Export</source>
<translation>&Exportar</translation>
</message>
<message>
<location line="+1"/>
<source>Export the data in the current tab to a file</source>
<translation>Exportar os dados na aba atual para um arquivo</translation>
</message>
<message>
<location line="+193"/>
<source>Backup Wallet</source>
<translation>Fazer cópia de segurança da Carteira</translation>
</message>
<message>
<location line="+0"/>
<source>Wallet Data (*.dat)</source>
<translation>Dados da Carteira (*.dat)</translation>
</message>
<message>
<location line="+3"/>
<source>Backup Failed</source>
<translation>Cópia de segurança Falhou</translation>
</message>
<message>
<location line="+0"/>
<source>There was an error trying to save the wallet data to the new location.</source>
<translation>Houve um erro ao tentar salvar os dados da carteira para uma nova localização.</translation>
</message>
<message>
<location line="+4"/>
<source>Backup Successful</source>
<translation>Backup feito com sucesso</translation>
</message>
<message>
<location line="+0"/>
<source>The wallet data was successfully saved to the new location.</source>
<translation>Os dados da carteira foram salvos com sucesso na nova localização</translation>
</message>
</context>
<context>
<name>bitcoin-core</name>
<message>
<location filename="../bitcoinstrings.cpp" line="+94"/>
<source>SwansonCoin version</source>
<translation>Versão do SwansonCoin</translation>
</message>
<message>
<location line="+102"/>
<source>Usage:</source>
<translation>Uso:</translation>
</message>
<message>
<location line="-29"/>
<source>Send command to -server or swansoncoind</source>
<translation>Enviar comando para -server ou swansoncoind</translation>
</message>
<message>
<location line="-23"/>
<source>List commands</source>
<translation>Lista de comandos</translation>
</message>
<message>
<location line="-12"/>
<source>Get help for a command</source>
<translation>Obtenha ajuda sobre um comando</translation>
</message>
<message>
<location line="+24"/>
<source>Options:</source>
<translation>Opções:</translation>
</message>
<message>
<location line="+24"/>
<source>Specify configuration file (default: swansoncoin.conf)</source>
<translation>Especifique um arquivo de configurações (padrão: swansoncoin.conf)</translation>
</message>
<message>
<location line="+3"/>
<source>Specify pid file (default: swansoncoind.pid)</source>
<translation>Especifique um arquivo de pid (padrão: swansoncoind.pid)</translation>
</message>
<message>
<location line="-1"/>
<source>Specify data directory</source>
<translation>Especificar diretório de dados</translation>
</message>
<message>
<location line="-9"/>
<source>Set database cache size in megabytes (default: 25)</source>
<translation>Definir o tamanho do cache do banco de dados em megabytes (padrão: 25)</translation>
</message>
<message>
<location line="-28"/>
<source>Listen for connections on <port> (default: 9333 or testnet: 19333)</source>
<translation>Procurar por conexões em <port> (padrão: 9333 ou testnet:19333)</translation>
</message>
<message>
<location line="+5"/>
<source>Maintain at most <n> connections to peers (default: 125)</source>
<translation>Manter no máximo <n> conexões aos peers (padrão: 125)</translation>
</message>
<message>
<location line="-48"/>
<source>Connect to a node to retrieve peer addresses, and disconnect</source>
<translation>Conectar a um nó para receber endereços de participantes, e desconectar.</translation>
</message>
<message>
<location line="+82"/>
<source>Specify your own public address</source>
<translation>Especificar seu próprio endereço público</translation>
</message>
<message>
<location line="+3"/>
<source>Threshold for disconnecting misbehaving peers (default: 100)</source>
<translation>Limite para desconectar peers mal comportados (padrão: 100)</translation>
</message>
<message>
<location line="-134"/>
<source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source>
<translation>Número de segundos para impedir que peers mal comportados reconectem (padrão: 86400)</translation>
</message>
<message>
<location line="-29"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source>
<translation>Um erro ocorreu ao configurar a porta RPC %u para escuta em IPv4: %s</translation>
</message>
<message>
<location line="+27"/>
<source>Listen for JSON-RPC connections on <port> (default: 9332 or testnet: 19332)</source>
<translation>Escutar conexões JSON-RPC na porta <porta> (padrão: 9332 ou testnet: 19332)</translation>
</message>
<message>
<location line="+37"/>
<source>Accept command line and JSON-RPC commands</source>
<translation>Aceitar linha de comando e comandos JSON-RPC</translation>
</message>
<message>
<location line="+76"/>
<source>Run in the background as a daemon and accept commands</source>
<translation>Rodar em segundo plano como serviço e aceitar comandos</translation>
</message>
<message>
<location line="+37"/>
<source>Use the test network</source>
<translation>Usar rede de teste</translation>
</message>
<message>
<location line="-112"/>
<source>Accept connections from outside (default: 1 if no -proxy or -connect)</source>
<translation>Aceitar conexões externas (padrão: 1 se opções -proxy ou -connect não estiverem presentes)</translation>
</message>
<message>
<location line="-80"/>
<source>%s, you must set a rpcpassword in the configuration file:
%s
It is recommended you use the following random password:
rpcuser=swansoncoinrpc
rpcpassword=%s
(you do not need to remember this password)
The username and password MUST NOT be the same.
If the file does not exist, create it with owner-readable-only file permissions.
It is also recommended to set alertnotify so you are notified of problems;
for example: alertnotify=echo %%s | mail -s "SwansonCoin Alert" admin@foo.com
</source>
<translation>%s, você deve especificar uma senha rpcpassword no arquivo de configuração:⏎
%s⏎
É recomendado que você use a seguinte senha aleatória:⏎
rpcuser=swansoncoinrpc⏎
rpcpassword=%s⏎
(você não precisa lembrar esta senha)⏎
O nome de usuário e a senha NÃO PODEM ser os mesmos.⏎
Se o arquivo não existir, crie um com permissão de leitura apenas para o dono.⏎
É recomendado também definir um alertnotify para que você seja notificado de problemas;⏎
por exemplo: alertnotify=echo %%s | mail -s "SwansonCoin Alert" admin@foo.com⏎
</translation>
</message>
<message>
<location line="+17"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source>
<translation>Um erro ocorreu ao configurar a porta RPC %u para escuta em IPv6, voltando ao IPv4: %s</translation>
</message>
<message>
<location line="+3"/>
<source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source>
<translation>Vincular ao endereço fornecido e sempre escutar nele. Use a notação [host]:port para IPv6</translation>
</message>
<message>
<location line="+3"/>
<source>Cannot obtain a lock on data directory %s. SwansonCoin is probably already running.</source>
<translation>Não foi possível obter exclusividade de escrita no endereço %s. O SwansonCoin provavelmente já está rodando.</translation>
</message>
<message>
<location line="+3"/>
<source>Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source>
<translation>Erro: A transação foi rejeitada. Isso pode acontecer se alguns dos swansoncoins de sua carteira já haviam sido gastos, por exemplo se você usou uma cópia do arquivo wallet.dat e alguns swansoncoins foram gastos na cópia mas não foram marcados como gastos aqui.</translation>
</message>
<message>
<location line="+4"/>
<source>Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds!</source>
<translation>Erro: Esta transação requer uma taxa de transação de pelo menos %s, por causa sua quantidade, complexidade ou uso de dinheiro recebido recentemente.</translation>
</message>
<message>
<location line="+3"/>
<source>Execute command when a relevant alert is received (%s in cmd is replaced by message)</source>
<translation>Executar comando quando um alerta relevante for recebido (%s no comando será substituído pela mensagem)</translation>
</message>
<message>
<location line="+3"/>
<source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source>
<translation>Executar comando quando uma transação da carteira mudar (%s no comando será substituído por TxID)</translation>
</message>
<message>
<location line="+11"/>
<source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source>
<translation>Determinar tamanho máximo de transações de alta-prioridade/baixa-taxa em bytes (padrão: 27000)</translation>
</message>
<message>
<location line="+6"/>
<source>This is a pre-release test build - use at your own risk - do not use for mining or merchant applications</source>
<translation>Este pode ser um build de teste pré-lançamento - use por sua conta e risco - não use para mineração ou aplicações de comércio.</translation>
</message>
<message>
<location line="+5"/>
<source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source>
<translation>Cuidado: valor de -paytxfee escolhido é muito alto! Este é o valor da taxa de transação que você irá pagar se enviar a transação.</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.</source>
<translation>Cuidado: Transações mostradas podem não estar corretas! Você pode precisar atualizar, ou outros nós podem precisar atualizar o cliente.</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: Please check that your computer's date and time are correct! If your clock is wrong SwansonCoin will not work properly.</source>
<translation>Cuidado: Por favor, verifique que a data e hora do seu computador estão corretas! If o seu relógio estiver errado, o SwansonCoin não irá funcionar corretamente.</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source>
<translation>Cuidado: erro ao ler arquivo wallet.dat! Todas as chaves foram lidas corretamente, mas dados transações e do catálogo de endereços podem estar faltando ou estar incorretas.</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup.</source>
<translation>Aviso: wallet.dat corrompido, dados recuperados! Arquivo wallet.dat original salvo como wallet.{timestamp}.bak em %s; se seu saldo ou transações estiverem incorretos, você deve restauras o backup.</translation>
</message>
<message>
<location line="+14"/>
<source>Attempt to recover private keys from a corrupt wallet.dat</source>
<translation>Tentar recuperar chaves privadas de um arquivo wallet.dat corrompido</translation>
</message>
<message>
<location line="+2"/>
<source>Block creation options:</source>
<translation>Opções de criação de blocos:</translation>
</message>
<message>
<location line="+5"/>
<source>Connect only to the specified node(s)</source>
<translation>Conectar apenas a nó(s) específico(s)</translation>
</message>
<message>
<location line="+3"/>
<source>Corrupted block database detected</source>
<translation>Detectado Banco de dados de blocos corrompido</translation>
</message>
<message>
<location line="+1"/>
<source>Discover own IP address (default: 1 when listening and no -externalip)</source>
<translation>Descobrir os próprios endereços IP (padrão: 1 quando no modo listening e opção -externalip não estiver presente)</translation>
</message>
<message>
<location line="+1"/>
<source>Do you want to rebuild the block database now?</source>
<translation>Você quer reconstruir o banco de dados de blocos agora?</translation>
</message>
<message>
<location line="+2"/>
<source>Error initializing block database</source>
<translation>Erro ao inicializar banco de dados de blocos</translation>
</message>
<message>
<location line="+1"/>
<source>Error initializing wallet database environment %s!</source>
<translation>Erro ao inicializar ambiente de banco de dados de carteira %s!</translation>
</message>
<message>
<location line="+1"/>
<source>Error loading block database</source>
<translation>Erro ao carregar banco de dados de blocos</translation>
</message>
<message>
<location line="+4"/>
<source>Error opening block database</source>
<translation>Erro ao abrir banco de dados de blocos</translation>
</message>
<message>
<location line="+2"/>
<source>Error: Disk space is low!</source>
<translation>Erro: Espaço em disco insuficiente!</translation>
</message>
<message>
<location line="+1"/>
<source>Error: Wallet locked, unable to create transaction!</source>
<translation>Erro: Carteira travada, impossível criar transação!</translation>
</message>
<message>
<location line="+1"/>
<source>Error: system error: </source>
<translation>Erro: erro de sistema</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to listen on any port. Use -listen=0 if you want this.</source>
<translation>Falha ao escutar em qualquer porta. Use -listen=0 se você quiser isso.</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to read block info</source>
<translation>Falha ao ler informação de bloco</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to read block</source>
<translation>Falha ao ler bloco</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to sync block index</source>
<translation>Falha ao sincronizar índice de blocos</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write block index</source>
<translation>Falha ao escrever índice de blocos</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write block info</source>
<translation>Falha ao escrever informações de bloco</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write block</source>
<translation>Falha ao escrever bloco</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write file info</source>
<translation>Falha ao escrever informções de arquivo</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write to coin database</source>
<translation>Falha ao escrever banco de dados de moedas</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write transaction index</source>
<translation>Falha ao escrever índice de transações</translation>
</message>
<message>
<location line="+1"/>
<source>Failed to write undo data</source>
<translation>Falha ao escrever dados para desfazer ações</translation>
</message>
<message>
<location line="+2"/>
<source>Find peers using DNS lookup (default: 1 unless -connect)</source>
<translation>Procurar pares usando consulta de DNS (padrão: 1 a menos que a opção -connect esteja presente)</translation>
</message>
<message>
<location line="+1"/>
<source>Generate coins (default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>How many blocks to check at startup (default: 288, 0 = all)</source>
<translation>Quantos blocos checar ao inicializar (padrão: 288, 0 = todos)</translation>
</message>
<message>
<location line="+1"/>
<source>How thorough the block verification is (0-4, default: 3)</source>
<translation>Quão minuciosa é a verificação dos blocos (0-4, padrão: 3)</translation>
</message>
<message>
<location line="+19"/>
<source>Not enough file descriptors available.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Rebuild block chain index from current blk000??.dat files</source>
<translation>Reconstruir índice de blockchain a partir dos arquivos atuais blk000??.dat</translation>
</message>
<message>
<location line="+16"/>
<source>Set the number of threads to service RPC calls (default: 4)</source>
<translation>Defina o número de threads de script de verificação. (Padrão: 4)</translation>
</message>
<message>
<location line="+26"/>
<source>Verifying blocks...</source>
<translation>Verificando blocos...</translation>
</message>
<message>
<location line="+1"/>
<source>Verifying wallet...</source>
<translation>Verificando carteira...</translation>
</message>
<message>
<location line="-69"/>
<source>Imports blocks from external blk000??.dat file</source>
<translation>Importar blocos de um arquivo externo blk000??.dat</translation>
</message>
<message>
<location line="-76"/>
<source>Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+77"/>
<source>Information</source>
<translation>Informação</translation>
</message>
<message>
<location line="+3"/>
<source>Invalid -tor address: '%s'</source>
<translation>Endereço -tor inválido: '%s'</translation>
</message>
<message>
<location line="+1"/>
<source>Invalid amount for -minrelaytxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Invalid amount for -mintxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Maintain a full transaction index (default: 0)</source>
<translation>Manter índice completo de transações (padrão: 0)</translation>
</message>
<message>
<location line="+2"/>
<source>Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)</source>
<translation>Buffer máximo de recebimento por conexão, <n>*1000 bytes (padrão: 5000)</translation>
</message>
<message>
<location line="+1"/>
<source>Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)</source>
<translation>Buffer máximo de envio por conexão, <n>*1000 bytes (padrão: 1000)</translation>
</message>
<message>
<location line="+2"/>
<source>Only accept block chain matching built-in checkpoints (default: 1)</source>
<translation>Apenas aceitar cadeia de blocos correspondente a marcas de verificação internas (padrão: 1)</translation>
</message>
<message>
<location line="+1"/>
<source>Only connect to nodes in network <net> (IPv4, IPv6 or Tor)</source>
<translation>Apenas conectar em nós na rede <net> (IPv4, IPv6, ou Tor)</translation>
</message>
<message>
<location line="+2"/>
<source>Output extra debugging information. Implies all other -debug* options</source>
<translation>Mostrar informações extras de depuração. Implica em outras opções -debug*</translation>
</message>
<message>
<location line="+1"/>
<source>Output extra network debugging information</source>
<translation>Mostrar informações extras de depuração da rede</translation>
</message>
<message>
<location line="+2"/>
<source>Prepend debug output with timestamp</source>
<translation>Pré anexar a saída de debug com estampa de tempo</translation>
</message>
<message>
<location line="+5"/>
<source>SSL options: (see the SwansonCoin Wiki for SSL setup instructions)</source>
<translation>Opções SSL: (veja a Wiki do SwansonCoin para instruções de configuração SSL)</translation>
</message>
<message>
<location line="+1"/>
<source>Select the version of socks proxy to use (4-5, default: 5)</source>
<translation>Escolher versão do proxy socks a ser usada (4-5, padrão: 5)</translation>
</message>
<message>
<location line="+3"/>
<source>Send trace/debug info to console instead of debug.log file</source>
<translation>Mandar informação de trace/debug para o console em vez de para o arquivo debug.log</translation>
</message>
<message>
<location line="+1"/>
<source>Send trace/debug info to debugger</source>
<translation>Mandar informação de trace/debug para o debugger</translation>
</message>
<message>
<location line="+5"/>
<source>Set maximum block size in bytes (default: 250000)</source>
<translation>Determinar tamanho máximo de bloco em bytes (padrão: 250000)</translation>
</message>
<message>
<location line="+1"/>
<source>Set minimum block size in bytes (default: 0)</source>
<translation>Determinar tamanho mínimo de bloco em bytes (padrão: 0)</translation>
</message>
<message>
<location line="+2"/>
<source>Shrink debug.log file on client startup (default: 1 when no -debug)</source>
<translation>Encolher arquivo debug.log ao iniciar o cliente (padrão 1 se opção -debug não estiver presente)</translation>
</message>
<message>
<location line="+1"/>
<source>Signing transaction failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Specify connection timeout in milliseconds (default: 5000)</source>
<translation>Especifique o tempo limite (timeout) da conexão em milissegundos (padrão: 5000) </translation>
</message>
<message>
<location line="+4"/>
<source>System error: </source>
<translation>Erro de sistema:</translation>
</message>
<message>
<location line="+4"/>
<source>Transaction amount too small</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Transaction amounts must be positive</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Transaction too large</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Use UPnP to map the listening port (default: 0)</source>
<translation>Usar UPnP para mapear porta de escuta (padrão: 0)</translation>
</message>
<message>
<location line="+1"/>
<source>Use UPnP to map the listening port (default: 1 when listening)</source>
<translation>Usar UPnP para mapear porta de escuta (padrão: 1 quando estiver escutando)</translation>
</message>
<message>
<location line="+1"/>
<source>Use proxy to reach tor hidden services (default: same as -proxy)</source>
<translation>Usar proxy para alcançar serviços escondidos (padrão: mesmo que -proxy)</translation>
</message>
<message>
<location line="+2"/>
<source>Username for JSON-RPC connections</source>
<translation>Nome de usuário para conexões JSON-RPC</translation>
</message>
<message>
<location line="+4"/>
<source>Warning</source>
<translation>Cuidado</translation>
</message>
<message>
<location line="+1"/>
<source>Warning: This version is obsolete, upgrade required!</source>
<translation>Cuidado: Esta versão está obsoleta, atualização exigida!</translation>
</message>
<message>
<location line="+1"/>
<source>You need to rebuild the databases using -reindex to change -txindex</source>
<translation>Você precisa reconstruir os bancos de dados usando -reindex para mudar -txindex</translation>
</message>
<message>
<location line="+1"/>
<source>wallet.dat corrupt, salvage failed</source>
<translation>wallet.dat corrompido, recuperação falhou</translation>
</message>
<message>
<location line="-50"/>
<source>Password for JSON-RPC connections</source>
<translation>Senha para conexões JSON-RPC</translation>
</message>
<message>
<location line="-67"/>
<source>Allow JSON-RPC connections from specified IP address</source>
<translation>Permitir conexões JSON-RPC de endereços IP específicos</translation>
</message>
<message>
<location line="+76"/>
<source>Send commands to node running on <ip> (default: 127.0.0.1)</source>
<translation>Enviar comando para nó rodando em <ip> (pardão: 127.0.0.1)</translation>
</message>
<message>
<location line="-120"/>
<source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source>
<translation>Executar comando quando o melhor bloco mudar (%s no comando será substituído pelo hash do bloco)</translation>
</message>
<message>
<location line="+147"/>
<source>Upgrade wallet to latest format</source>
<translation>Atualizar carteira para o formato mais recente</translation>
</message>
<message>
<location line="-21"/>
<source>Set key pool size to <n> (default: 100)</source>
<translation>Determinar tamanho do pool de endereços para <n> (padrão: 100)</translation>
</message>
<message>
<location line="-12"/>
<source>Rescan the block chain for missing wallet transactions</source>
<translation>Re-escanear blocos procurando por transações perdidas da carteira</translation>
</message>
<message>
<location line="+35"/>
<source>Use OpenSSL (https) for JSON-RPC connections</source>
<translation>Usar OpenSSL (https) para conexões JSON-RPC</translation>
</message>
<message>
<location line="-26"/>
<source>Server certificate file (default: server.cert)</source>
<translation>Arquivo de certificado do servidor (padrão: server.cert)</translation>
</message>
<message>
<location line="+1"/>
<source>Server private key (default: server.pem)</source>
<translation>Chave privada do servidor (padrão: server.pem)</translation>
</message>
<message>
<location line="-151"/>
<source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source>
<translation>Algoritmos de criptografia aceitos (padrão: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</translation>
</message>
<message>
<location line="+165"/>
<source>This help message</source>
<translation>Esta mensagem de ajuda</translation>
</message>
<message>
<location line="+6"/>
<source>Unable to bind to %s on this computer (bind returned error %d, %s)</source>
<translation>Impossível vincular a %s neste computador (bind retornou erro %d, %s)</translation>
</message>
<message>
<location line="-91"/>
<source>Connect through socks proxy</source>
<translation>Conectar através de um proxy socks</translation>
</message>
<message>
<location line="-10"/>
<source>Allow DNS lookups for -addnode, -seednode and -connect</source>
<translation>Permitir consultas DNS para -addnode, -seednode e -connect</translation>
</message>
<message>
<location line="+55"/>
<source>Loading addresses...</source>
<translation>Carregando endereços...</translation>
</message>
<message>
<location line="-35"/>
<source>Error loading wallet.dat: Wallet corrupted</source>
<translation>Erro ao carregar wallet.dat: Carteira corrompida</translation>
</message>
<message>
<location line="+1"/>
<source>Error loading wallet.dat: Wallet requires newer version of SwansonCoin</source>
<translation>Erro ao carregar wallet.dat: Carteira requer uma versão mais nova do SwansonCoin</translation>
</message>
<message>
<location line="+93"/>
<source>Wallet needed to be rewritten: restart SwansonCoin to complete</source>
<translation>A Carteira precisou ser reescrita: reinicie o SwansonCoin para completar</translation>
</message>
<message>
<location line="-95"/>
<source>Error loading wallet.dat</source>
<translation>Erro ao carregar wallet.dat</translation>
</message>
<message>
<location line="+28"/>
<source>Invalid -proxy address: '%s'</source>
<translation>Endereço -proxy inválido: '%s'</translation>
</message>
<message>
<location line="+56"/>
<source>Unknown network specified in -onlynet: '%s'</source>
<translation>Rede desconhecida especificada em -onlynet: '%s'</translation>
</message>
<message>
<location line="-1"/>
<source>Unknown -socks proxy version requested: %i</source>
<translation>Versão desconhecida do proxy -socks requisitada: %i</translation>
</message>
<message>
<location line="-96"/>
<source>Cannot resolve -bind address: '%s'</source>
<translation>Impossível encontrar o endereço -bind: '%s'</translation>
</message>
<message>
<location line="+1"/>
<source>Cannot resolve -externalip address: '%s'</source>
<translation>Impossível encontrar endereço -externalip: '%s'</translation>
</message>
<message>
<location line="+44"/>
<source>Invalid amount for -paytxfee=<amount>: '%s'</source>
<translation>Quantidade inválida para -paytxfee=<quantidade>: '%s'</translation>
</message>
<message>
<location line="+1"/>
<source>Invalid amount</source>
<translation>Quantidade inválida</translation>
</message>
<message>
<location line="-6"/>
<source>Insufficient funds</source>
<translation>Saldo insuficiente</translation>
</message>
<message>
<location line="+10"/>
<source>Loading block index...</source>
<translation>Carregando índice de blocos...</translation>
</message>
<message>
<location line="-57"/>
<source>Add a node to connect to and attempt to keep the connection open</source>
<translation>Adicionar um nó com o qual se conectar e tentar manter a conexão ativa</translation>
</message>
<message>
<location line="-25"/>
<source>Unable to bind to %s on this computer. SwansonCoin is probably already running.</source>
<translation>Impossível vincular a %s neste computador. O SwansonCoin provavelmente já está rodando.</translation>
</message>
<message>
<location line="+64"/>
<source>Fee per KB to add to transactions you send</source>
<translation>Taxa por KB a ser acrescida nas transações que você enviar</translation>
</message>
<message>
<location line="+19"/>
<source>Loading wallet...</source>
<translation>Carregando carteira...</translation>
</message>
<message>
<location line="-52"/>
<source>Cannot downgrade wallet</source>
<translation>Não é possível fazer downgrade da carteira</translation>
</message>
<message>
<location line="+3"/>
<source>Cannot write default address</source>
<translation>Não foi possível escrever no endereço padrão</translation>
</message>
<message>
<location line="+64"/>
<source>Rescanning...</source>
<translation>Re-escaneando...</translation>
</message>
<message>
<location line="-57"/>
<source>Done loading</source>
<translation>Carregamento terminado</translation>
</message>
<message>
<location line="+82"/>
<source>To use the %s option</source>
<translation>Para usar a opção %s</translation>
</message>
<message>
<location line="-74"/>
<source>Error</source>
<translation>Erro</translation>
</message>
<message>
<location line="-31"/>
<source>You must set rpcpassword=<password> in the configuration file:
%s
If the file does not exist, create it with owner-readable-only file permissions.</source>
<translation>Você precisa especificar rpcpassword=<senha> no arquivo de configurações:⏎
%s⏎
Se o arquivo não existir, crie um com permissão de leitura apenas pelo dono</translation>
</message>
</context>
</TS>
|
/*
* optimization needed.
*/
struct ListNode {
int val;
struct ListNode *next;
};
#ifndef NULL
#define NULL ((struct ListNode *)0)
#endif
struct ListNode *detectCycle(struct ListNode *head)
{
if (!head || !head->next)
return(NULL);
if (head->next == head)
return(head);
struct ListNode *p1, *p2;
int has_cycle;
p1 = head;
p2 = head;
while (1) {
if (!p2) {
has_cycle = 0;
break;
}
p1 = p1->next;
p2 = p2->next;
if (p2) {
p2 = p2->next;
} else {
has_cycle = 0;
break;
}
if (p1 == p2) {
has_cycle = 1;
break;
}
}
if (!has_cycle)
return(NULL);
while (1) {
if (head == p1) {
break;
}
p2 = p1->next;
while (p2 != p1) {
if (head == p2)
break;
else
p2 = p2->next;
}
if (head == p2)
break;
else
head = head->next;
}
return(head);
}
int main(void)
{
return(0);
}
|
# Makefile for project pi-admin
MODULES = sn-core sn-props sn-approute connect
CLEAN_THESE_FILES = css/bootstrap.css css/bootstrap.min.css css/bootstrap-theme.css css/bootstrap-theme.min.css \
js/bootstrap.js js/bootstrap.min.js js/jquery.js js/underscore-min.js js/backbone-min.js js/handlebars.js \
js/sn-core.js fonts ./pi-admin
BOOTSTRAP_VERSION = 3.0.3
JQUERY_VERSION = 1.10.2
HANDLEBARS_VERSION = 1.3.0
SNCORE_VERSION = 0.0.11
default: ./node_modules ./build
clean:
rm -rf ./node_modules
rm -rf ./build
( cd static; rm -rf $(CLEAN_THESE_FILES) )
./node_modules :
mkdir -p ./node_modules
npm install $(MODULES)
./build : ./build/bootstrap.zip ./build/sn-core.tar.gz
( cd build; unzip -o bootstrap.zip )
( cd build; tar xzvf sn-core.tar.gz )
|
html, body, .container, .header {
height: 100%;
}
/* Header */
.header {
position: relative;
margin: 0 auto;
min-height: 560px;
width: 100%;
}
.bg-img {
position: absolute;
overflow: hidden;
top: 0;
left: 0;
right: 0;
bottom: 0;
-<API key>: hidden;
backface-visibility: hidden;
}
.bg-img img {
position: absolute;
top: 0;
left: 0;
display: block;
min-width: 100%;
min-height: 100%;
}
.title {
z-index: 1000;
margin: 0 auto;
padding: 0 1.25em;
width: 100%;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
.title h1 {
padding: 0 0 0.2em;
color: #fff;
font-weight: 800;
font-size: 3.25em;
margin: 0 auto;
}
.title p {
color: #fff;
padding: 0 0 0.6em;
font-weight: 300;
font-size: 0.85em;
margin: 0 auto;
}
.title h1,
.title p.subline {
line-height: 1;
}
.title p.subline {
font-size: 1.75em;
}
/* Trigger Button */
button.trigger {
position: fixed;
bottom: 40px;
left: 50%;
z-index: 5000;
display: block;
margin-left: -0.5em;
padding: 0;
width: 1em;
height: 1em;
border: none;
background: transparent;
color: transparent;
font-size: 2em;
cursor: pointer;
}
.container:not(.notrans) button.trigger {
-webkit-transition: opacity 0.3s 0.5s;
transition: opacity 0.3s 0.5s;
}
.container.modify:not(.notrans) button.trigger {
opacity: 0;
pointer-events: none;
-<API key>: 0s;
transition-delay: 0s;
}
button.trigger::before {
position: absolute;
bottom: 100%;
left: -100%;
padding: 0.8em;
width: 300%;
color: #fff;
content: attr(data-info);
font-size: 0.35em;
-<API key>: hidden;
backface-visibility: hidden;
}
button.trigger:focus {
outline: none;
}
button.trigger span {
position: relative;
display: block;
overflow: hidden;
width: 100%;
height: 100%;
}
button.trigger span::before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #fff;
content: "";
text-transform: none;
font-weight: normal;
font-style: normal;
font-variant: normal;
font-family: 'icomoon';
line-height: 1;
speak: none;
-<API key>: antialiased;
-<API key>: grayscale;
}
button.trigger span::after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #fff;
content: "";
text-transform: none;
font-weight: normal;
font-style: normal;
font-variant: normal;
font-family: 'icomoon';
line-height: 1;
speak: none;
-<API key>: antialiased;
-<API key>: grayscale;
}
/* Conent */
.content {
margin: 0 auto;
padding: 0 0 3em;
margin-top:100px;
}
@media only screen and (min-width : 320px) and (max-width : 780px){
.content {
margin: 0 auto;
padding: 0 0 3em;
margin-top:0px;
}
}
.content > div:not(.title) {
margin: -80px auto 0;
max-width: 900px;
padding: 0 1.25em;
}
.content > div:not(.title) p {
margin: 0 auto 1.5em auto;
}
.content > div:not(.title) p:first-child {
/*font-size: 1.35em;*/
}
.content h3 {
margin: 0;
font-size: 1.4em;
}
.content blockquote {
padding: 0.25em;
font-style: italic;
font-size: 1.65em;
font-family: 'Lora', serif;
line-height: 1.4;
}
.content blockquote::before {
content: '\201C';
}
.content blockquote::after {
content: '\201D';
}
/* Jam 3 */
.intro-effect-jam3:not(.notrans) .bg-img {
-<API key>: top, left, right, bottom;
transition-property: top, left, right, bottom;
}
.intro-effect-jam3:not(.notrans) .header h1,
.intro-effect-jam3:not(.notrans) .codrops-top a {
-<API key>: color;
transition-property: color;
}
.intro-effect-jam3:not(.notrans) .codrops-demos a {
-<API key>: border-color, color;
transition-property: border-color, color;
}
.intro-effect-jam3:not(.notrans) .header p {
-<API key>: color, opacity, -webkit-transform;
transition-property: color, opacity, transform;
}
.intro-effect-jam3:not(.notrans) .content > div {
-<API key>: opacity, -webkit-transform;
transition-property: opacity, transform;
}
.intro-effect-jam3:not(.notrans) .bg-img,
.intro-effect-jam3:not(.notrans) .header h1,
.intro-effect-jam3:not(.notrans) .codrops-top a,
.intro-effect-jam3:not(.notrans) .codrops-demos a,
.intro-effect-jam3:not(.notrans) .content > div {
-<API key>: 0.5s;
transition-duration: 0.5s;
-<API key>: cubic-bezier(0.7,0,0.3,1);
<API key>: cubic-bezier(0.7,0,0.3,1);
}
.intro-effect-jam3:not(.notrans) .header p,
.intro-effect-jam3:not(.notrans) .header p.subline,
.intro-effect-jam3:not(.notrans) .content > div {
-<API key>: 0.2s;
transition-duration: 0.2s;
}
.intro-effect-jam3.modify:not(.notrans) .header p,
.intro-effect-jam3.modify:not(.notrans) .header p.subline,
.intro-effect-jam3.modify:not(.notrans) .content > div {
-<API key>: 0.5s;
transition-duration: 0.5s;
}
.intro-effect-jam3 .codrops-demos a {
color: #fff;
}
.intro-effect-jam3 .codrops-demos a.current-demo {
border-color: #fff;
}
.intro-effect-jam3.modify .codrops-demos a {
color: #c03b5d;
}
.intro-effect-jam3.modify .codrops-demos a.current-demo {
border-color: #c03b5d;
}
.intro-effect-jam3.container {
padding: 45px 30px;
}
.intro-effect-jam3 .bg-img {
top: -45px;
right: -30px;
bottom: -45px;
left: -30px;
background: #514753;
}
.intro-effect-jam3.modify .bg-img {
top: 0;
right: 0;
bottom: 85%;
left: 0;
}
.intro-effect-jam3.modify .header h1 {
color: #514753;
}
.intro-effect-jam3 .header p {
color: #514753;
opacity: 0;
-webkit-transform: translateY(150px);
transform: translateY(150px);
}
.intro-effect-jam3.modify .header p {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
.intro-effect-jam3 .content {
padding: 0 5em 5em;
}
.intro-effect-jam3 .header,
.intro-effect-jam3 .content {
background: #fff;
}
.intro-effect-jam3 .content > div {
opacity: 0;
-webkit-transform: translateY(150px);
transform: translateY(150px);
}
.intro-effect-jam3.modify .content > div {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
.intro-effect-jam3.modify .codrops-top a {
color: #514753;
}
/* Delays */
.intro-effect-jam3.modify:not(.notrans) .header p:nth-last-child(2) {
-<API key>: 0.1s;
transition-delay: 0.1s;
}
.intro-effect-jam3.modify:not(.notrans) .header p:last-child {
-<API key>: 0.15s;
transition-delay: 0.15s;
}
.intro-effect-jam3.modify:not(.notrans) .content > div {
-<API key>: 0.2s;
transition-delay: 0.2s;
}
/* Faded gradient */
.<API key>:not(.notrans) .bg-img {
-<API key>: -webkit-transform;
transition-property: transform;
}
.<API key>:not(.notrans) .bg-img::after {
-<API key>: opacity;
transition-property: opacity;
}
.<API key>:not(.notrans) .header h1 {
-<API key>: color;
transition-property: color;
}
.<API key>:not(.notrans) .header p,
.<API key>:not(.notrans) .content > div {
-<API key>: -webkit-transform, opacity;
transition-property: transform, opacity;
}
.<API key>:not(.notrans) .bg-img,
.<API key>:not(.notrans) .bg-img::after,
.<API key>:not(.notrans) .header h1,
.<API key>:not(.notrans) .header p,
.<API key>:not(.notrans) .content > div {
-<API key>: 0.5s;
transition-duration: 0.5s;
}
.<API key> .header {
overflow: hidden;
}
.<API key>.modify .bg-img {
-webkit-transform: translateY(-25%);
transform: translateY(-25%);
}
.<API key> .bg-img::after {
content: '';
position: absolute;
width: 100%;
height: 101%;
top: 0;
left: 0;
opacity: 0;
pointer-events: none;
background: -<API key>(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}
.<API key>.modify .bg-img::after {
opacity: 1;
}
.<API key> .title {
text-align: left;
max-width: 900px;
}
.<API key>.modify .header h1,
.<API key> .header p {
color: #514753;
}
.<API key> .header p {
opacity: 0;
}
.<API key> .header p:nth-child(2) {
-webkit-transform: translateX(150px);
transform: translateX(150px);
}
.<API key> .header p:nth-child(3) {
-webkit-transform: translateX(-150px);
transform: translateX(-150px);
}
.<API key>.modify .header p:nth-child(2),
.<API key>.modify .header p:nth-child(3) {
opacity: 1;
-webkit-transform: translateX(0);
transform: translateX(0);
}
.<API key> .content {
z-index: 1000;
position: relative;
}
.<API key> .content > div {
opacity: 0;
-webkit-transform: translateY(350px);
transform: translateY(350px);
}
.<API key>.modify .content > div {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
/* Sliced */
.intro-effect-sliced:not(.notrans) .bg-img,
.intro-effect-sliced:not(.notrans) .title {
-<API key>: -webkit-transform;
transition-property: transform;
}
.intro-effect-sliced:not(.notrans) .header h1,
.intro-effect-sliced:not(.notrans) .codrops-demos a {
-<API key>: color;
transition-property: color;
}
.intro-effect-sliced:not(.notrans) .header p {
-<API key>: opacity;
transition-property: opacity;
}
.intro-effect-sliced:not(.notrans) .content > div {
-<API key>: -webkit-transform, opacity;
transition-property: transform, opacity;
}
.intro-effect-sliced:not(.notrans) .bg-img,
.intro-effect-sliced:not(.notrans) .header h1,
.intro-effect-sliced:not(.notrans) .title,
.intro-effect-sliced:not(.notrans) .header p,
.intro-effect-sliced:not(.notrans) .content > div,
.intro-effect-sliced:not(.notrans) .codrops-demos a {
-<API key>: cubic-bezier(0.7,0,0.3,1);
<API key>: cubic-bezier(0.7,0,0.3,1);
-<API key>: 0.5s;
transition-duration: 0.5s;
}
.intro-effect-sliced.modify:not(.notrans) .header h1,
.intro-effect-sliced.modify:not(.notrans) .title,
.intro-effect-sliced.modify:not(.notrans) .header p,
.intro-effect-sliced.modify:not(.notrans) .content > div,
.intro-effect-sliced.modify:not(.notrans) .codrops-demos a {
-<API key>: ease;
<API key>: ease;
}
.intro-effect-sliced .bg-img:first-child {
bottom: 50%;
}
.intro-effect-sliced .bg-img:last-child {
top: 50%;
position: fixed;
z-index: 900;
}
.intro-effect-sliced .bg-img:last-child img {
top: -100%;
}
.intro-effect-sliced.modify .bg-img:first-child {
-webkit-transform: translateY(-80%);
transform: translateY(-80%);
}
.intro-effect-sliced.modify .bg-img:last-child {
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
.intro-effect-sliced .codrops-demos {
text-align: center;
}
.intro-effect-sliced .codrops-demos a {
color: #fff;
font-size: 0.8em;
}
.intro-effect-sliced.modify .codrops-demos a {
color: #cf4a5c;
}
.intro-effect-sliced .title {
-webkit-transform: translateX(-50%) translateY(-50%) scale(0.7);
transform: translateX(-50%) translateY(-50%) scale(0.7);
}
.intro-effect-sliced.modify .title {
-webkit-transform: translateX(-50%) translateY(-50%) scale(1);
transform: translateX(-50%) translateY(-50%) scale(1);
}
.intro-effect-sliced .header p {
opacity: 0;
color: #514753;
}
.intro-effect-sliced.modify .header p {
opacity: 1;
}
.intro-effect-sliced.modify .header h1 {
color: #514753;
}
.intro-effect-sliced .content > div {
-webkit-transform: translateY(200px);
transform: translateY(200px);
opacity: 0;
}
.intro-effect-sliced.modify .content > div {
-webkit-transform: translateY(0);
transform: translateY(0);
opacity: 1;
}
/* Delays */
.intro-effect-sliced.modify:not(.notrans) .title {
-<API key>: 0.15s;
transition-delay: 0.15s;
}
/* Side */
.intro-effect-side:not(.notrans) .bg-img::before,
.intro-effect-side:not(.notrans) .title {
-<API key>: -webkit-transform;
transition-property: transform;
}
.intro-effect-side:not(.notrans) .bg-img::after {
-<API key>: top, left, bottom, right, background-color;
transition-property: top, left, bottom, right, background-color;
}
.intro-effect-side:not(.notrans) .header p {
-<API key>: -webkit-transform, opacity;
transition-property: transform, opacity;
}
.intro-effect-side:not(.notrans) .content > div {
-<API key>: opacity;
transition-property: opacity;
}
.intro-effect-side:not(.notrans) .bg-img::before,
.intro-effect-side:not(.notrans) .bg-img::after,
.intro-effect-side:not(.notrans) .title,
.intro-effect-side:not(.notrans) .header p,
.intro-effect-side:not(.notrans) .content > div {
-<API key>: cubic-bezier(0.7,0,0.3,1);
<API key>: cubic-bezier(0.7,0,0.3,1);
-<API key>: 0.5s;
transition-duration: 0.5s;
}
.intro-effect-side .codrops-top a {
color: #7b8d92;
}
.intro-effect-side .bg-img::before,
.intro-effect-side .bg-img::after {
content: '';
position: absolute;
z-index: 100;
}
.intro-effect-side .bg-img::before {
background: #fff;
top: 0;
left: 0;
width: 60%;
height: 100%;
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
.intro-effect-side.modify .bg-img::before {
-webkit-transform: translateX(0);
transform: translateX(0);
}
.intro-effect-side .bg-img::after {
border: 80px solid #fff;
top: -80px;
right: -80px;
bottom: -80px;
left: -80px;
background-color: rgba(255,255,255,0.5);
}
.intro-effect-side.modify .bg-img::after {
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(255,255,255,0);
}
.intro-effect-side .codrops-demos a {
color: #43939d;
}
.intro-effect-side .codrops-demos a.current-demo {
border-bottom: 3px solid #43939d;
}
.intro-effect-side .title {
text-align: right;
left: 0;
padding: 0 3em 0 2em;
width: 60%;
-webkit-transform: translateX(33.3%) translateY(-50%);
transform: translateX(33.3%) translateY(-50%);
}
.intro-effect-side.modify .title {
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.intro-effect-side .header h1 {
font-family: 'Lora', serif;
font-style: italic;
font-weight: 400;
padding: 0 0 0.5em 0;
color: #516165;
}
.intro-effect-side .header p {
opacity: 0;
color: #7b8d92;
-webkit-transform: translateY(100px);
transform: translateY(100px);
}
.intro-effect-side.modify .header p {
opacity: 1;
-webkit-transform: translateX(0);
transform: translateX(0);
}
.intro-effect-side .content > div {
margin-top: 0px;
opacity: 0;
}
.intro-effect-side.modify .content > div {
opacity: 1;
}
.intro-effect-side button.trigger span::before,
.intro-effect-side button.trigger::before {
color: #516165;
}
/* Delays */
.intro-effect-side:not(.notrans) .title,
.intro-effect-side:not(.notrans) .bg-img::before,
.intro-effect-side:not(.notrans) .bg-img::after {
-<API key>: 0.3s;
transition-delay: 0.3s;
}
.intro-effect-side.modify:not(.notrans) .title,
.intro-effect-side.modify:not(.notrans) .bg-img::before,
.intro-effect-side.modify:not(.notrans) .bg-img::after {
-<API key>: 0s;
transition-delay: 0s;
}
.intro-effect-side.modify:not(.notrans) .header p:nth-last-child(2) {
-<API key>: 0.15s;
transition-delay: 0.15s;
}
.intro-effect-side.modify:not(.notrans) .header p:last-child {
-<API key>: 0.2s;
transition-delay: 0.2s;
}
.intro-effect-side.modify:not(.notrans) .content > div {
-<API key>: 0.3s;
transition-delay: 0.3s;
}
/* Side Fixed */
.<API key>:not(.notrans) .bg-img::before {
-<API key>: background-color;
transition-property: background-color;
}
.<API key>:not(.notrans) .bg-img::after {
-<API key>: -webkit-transform;
transition-property: transform;
}
.<API key>:not(.notrans) .title p {
-<API key>: opacity;
transition-property: opacity;
}
.<API key>:not(.notrans) .content > div {
-<API key>: -webkit-transform, opacity;
transition-property: transform, opacity;
}
.<API key>:not(.notrans) .bg-img::before,
.<API key>:not(.notrans) .bg-img::after,
.<API key>:not(.notrans) .title p,
.<API key>:not(.notrans) .content > div {
-<API key>: cubic-bezier(0.7,0,0.3,1);
<API key>: cubic-bezier(0.7,0,0.3,1);
-<API key>: 0.5s;
transition-duration: 0.5s;
}
.<API key> .header {
position: absolute;
}
.<API key> .bg-img {
position: fixed;
}
.<API key> .bg-img img {
left: auto;
right: 0;
}
.<API key> .bg-img::before,
.<API key> .bg-img::after {
content: '';
position: absolute;
z-index: 100;
}
.<API key> .bg-img::after {
background: #f8ebda;
top: 0;
right: 0;
width: 60%;
height: 100%;
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
.<API key>.modify .bg-img::after {
-webkit-transform: translateX(0);
transform: translateX(0);
}
.<API key> .bg-img::before {
width: 100%;
height: 100%;
background-color: rgba(247,214,169,0.1);
}
.<API key>.modify .bg-img::before {
background-color: rgba(247,214,169,0.4);
}
.<API key> .codrops-demos a {
color: #f68f6c;
}
.<API key> .title {
position: relative;
top: auto;
left: auto;
text-align: left;
-webkit-transform: translateY(200px);
transform: translateY(200px);
}
.<API key>.modify .title {
-webkit-transform: translateY(0);
transform: translateY(0);
}
.<API key> .title h1 {
font-family: 'Playfair Display', serif;
font-weight: 700;
padding: 0 0 0.5em 0;
color: #585a66;
}
.<API key> .title p {
opacity: 0;
color: #585a66;
}
.<API key>.modify .title p {
opacity: 1;
}
.<API key> .content {
width: 60%;
margin-left: 40%;
padding: 0 2.5em;
}
.<API key> .content div {
position: relative;
margin: 70px 0;
color: #77726b;
}
.<API key> .content div:nth-child(2) {
opacity: 0;
-webkit-transform: translateY(200px);
transform: translateY(200px);
}
.<API key>.modify .content div:nth-child(2) {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
/* Delays */
.<API key>:not(.notrans) .title,
.<API key>:not(.notrans) .bg-img::before,
.<API key>:not(.notrans) .bg-img::after {
-<API key>: 0.3s;
transition-delay: 0.3s;
}
.<API key>.modify:not(.notrans) .title,
.<API key>.modify:not(.notrans) .bg-img::before,
.<API key>.modify:not(.notrans) .bg-img::after {
-<API key>: 0s;
transition-delay: 0s;
}
.<API key>.modify:not(.notrans) .content div:nth-child(2) {
-<API key>: 0.15s;
transition-delay: 0.15s;
}
/* Push */
.intro-effect-push:not(.notrans) .header,
.intro-effect-push:not(.notrans) > .title,
.intro-effect-push:not(.notrans) .content > div {
-<API key>: opacity, -webkit-transform;
transition-property: opacity, transform;
-<API key>: 1s;
transition-duration: 1s;
}
.intro-effect-push:not(.notrans) .header {
-<API key>: cubic-bezier(0.7,0,0.3,1);
<API key>: cubic-bezier(0.7,0,0.3,1);
-<API key>: 1.2s;
transition-duration: 1.2s;
}
.intro-effect-push .codrops-demos a {
color: #108576;
}
.intro-effect-push .header {
position: absolute;
z-index: 1500;
}
.intro-effect-push > .title {
position: relative;
top: auto;
left: auto;
padding: 6em 1em 2em;
}
.intro-effect-push .content > div {
margin-top: 50px;
color: #b2b2c0;
}
.intro-effect-push > .title,
.intro-effect-push .content > div {
-webkit-transform: translateY(400px);
transform: translateY(400px);
opacity: 0;
}
.intro-effect-push.modify > .title,
.intro-effect-push.modify .content > div {
-webkit-transform: translateY(0);
transform: translateY(0);
opacity: 1;
}
.intro-effect-push.modify .header {
opacity: 0;
-webkit-transform: translateY(-100%) scale(0.9);
transform: translateY(-100%) scale(0.9);
}
/* Delays */
.intro-effect-push.modify:not(.notrans) > .title {
-<API key>: 0.5s;
transition-delay: 0.5s;
}
.intro-effect-push.modify:not(.notrans) .content > div {
-<API key>: 0.6s;
transition-delay: 0.6s;
}
/* Grid */
.intro-effect-grid:not(.notrans) .grid li:nth-child(5) {
-<API key>: -webkit-transform, opacity;
transition-property: transform, opacity;
}
.intro-effect-grid:not(.notrans) .header p {
-<API key>: opacity;
transition-property: opacity;
}
.intro-effect-grid:not(.notrans) .bg-img,
.intro-effect-grid:not(.notrans) .title {
-<API key>: -webkit-transform;
transition-property: transform;
}
.intro-effect-grid:not(.notrans) .header h1,
.intro-effect-grid:not(.notrans) .codrops-demos a {
-<API key>: color;
transition-property: color;
}
.intro-effect-grid:not(.notrans) .grid li:nth-child(5),
.intro-effect-grid:not(.notrans) .bg-img,
.intro-effect-grid:not(.notrans) .title,
.intro-effect-grid:not(.notrans) .header h1,
.intro-effect-grid:not(.notrans) .header p,
.intro-effect-grid:not(.notrans) .codrops-demos a {
-<API key>: cubic-bezier(0.7,0,0.3,1);
<API key>: cubic-bezier(0.7,0,0.3,1);
-<API key>: 1s;
transition-duration: 1s;
}
.intro-effect-grid .codrops-demos a {
color: #fff;
}
.intro-effect-grid.modify .codrops-demos a {
color: #cf7000;
}
.intro-effect-grid .codrops-demos a.current-demo {
border-bottom: 3px solid #fff;
}
.intro-effect-grid.modify .codrops-demos a.current-demo {
border-color: #cf7000;
}
.intro-effect-grid .title {
max-width: 900px;
padding-top: 2em;
}
/*@media only screen (min-width : 1000px) {
.intro-effect-grid .title {
max-width: 900px;
padding-top: 2em;
padding-top: 10em;
}
}*/
.intro-effect-grid.modify .title {
-webkit-transform: translateX(-50%) translateY(0);
transform: translateX(-50%) translateY(0);
}
.intro-effect-grid .content > div {
/*margin-top: 40px;*/
color: #2e3337;
}
.intro-effect-grid .header h1 {
font-weight: 700;
padding: 0 0 0.6em;
}
.intro-effect-grid.modify .header h1 {
color: #2d3b44;
}
.intro-effect-grid .header p {
opacity: 0;
color: #4c6270;
}
.intro-effect-grid .header p.subline {
font-size: 1.5em;
}
.intro-effect-grid.modify .header p {
opacity: 1;
}
.intro-effect-grid .grid {
list-style: none;
margin: 0;
padding: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 50%;
z-index: 0;
}
.intro-effect-grid .grid li::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(71,63,59,0.5);
pointer-events: none;
-webkit-transition: background 0.3s;
transition: background 0.3s;
}
.intro-effect-grid.modify .grid li:hover::after,
.intro-effect-grid.modify .grid li:nth-child(5)::after {
background: rgba(71,63,59,0.1);
}
.intro-effect-grid .grid li {
position: absolute;
/*background-size: cover;*/
background-size: ;
background-repeat: no-repeat;
background-position: 50% 50%;
cursor: pointer;
overflow: hidden;
-<API key>: hidden;
backface-visibility: hidden;
}
.intro-effect-grid .grid li h2 {
font-family: 'Playfair Display', serif;
font-weight: 700;
padding-bottom: 0.4em;
margin: 1em;
color: #fff;
line-height: 1;
font-size: 1em;
position: absolute;
bottom: 0;
z-index: 100;
-webkit-transition: -webkit-transform 0.3s;
transition: transform 0.3s;
}
.intro-effect-grid .grid li:hover h2 {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
/*
.intro-effect-grid .grid li:nth-child(2) {
top: 50%;
left: 0;
height: 50%;
width: 25%;
background-image: url(../img/thumbs/2.jpg);
}
.intro-effect-grid .grid li:nth-child(3) {
top: 0;
left: 25%;
height: 100%;
width: 25%;
background-image: url(../img/thumbs/5.jpg);
}
.intro-effect-grid .grid li:nth-child(4) {
top: 0;
left: 50%;
height: 50%;
width: 50%;
background-image: url(../img/thumbs/4.jpg);
}
.intro-effect-grid .grid li:nth-child(5) {
top: 50%;
left: 50%;
height: 50%;
width: 25%;
background-image: url(../img/thumbs/8.jpg);
-webkit-transform: scale(0);
transform: scale(0);
opacity: 0;
}
.intro-effect-grid.modify .grid li:nth-child(5) {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1;
}
.intro-effect-grid .grid li:nth-child(5) h2 {
color: #de8721;
}
.intro-effect-grid .grid li:nth-child(6) {
top: 50%;
left: 75%;
height: 50%;
width: 25%;
background-image: url(../img/thumbs/6.jpg);
}*/
.intro-effect-grid.modify .bg-img {
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
/* Media Queries */
@media screen and (max-width: 47em) {
.title, .content {
font-size: 70%;
}
.codrops-demos a {
font-size: 80%;
}
.intro-effect-side .title {
width: 100%;
padding: 0 1em;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.intro-effect-side.modify .bg-img::before {
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
.intro-effect-side .bg-img::after {
border-left-width: 0px;
border-right-width: 0px;
right: 0px;
left: 0px;
background: rgba(255,255,255,0.1);
}
.intro-effect-side.modify .bg-img::after {
background: rgba(255,255,255,0.8);
}
.<API key> .content {
width: 100%;
margin-left: auto;
}
.<API key> .bg-img::after {
width: 95%;
}
}
@media screen and (max-width: 27em) {
.intro-effect-jam3 .content {
padding: 0 2em 5em;
}
.intro-effect-grid .grid li h2 {
display: none;
}
.intro-effect-push .header .title {
top: 60px;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.title, .content {
font-size: 50%;
}
button.trigger::before {
display: none;
}
}
|
package com.twitter.meil_mitu.twitter4holo.api.help;
import com.twitter.meil_mitu.twitter4holo.AbsGet;
import com.twitter.meil_mitu.twitter4holo.AbsOauth;
import com.twitter.meil_mitu.twitter4holo.I<TwitterConsumerkey>;
import com.twitter.meil_mitu.twitter4holo.OauthType;
import com.twitter.meil_mitu.twitter4holo.ResponseData;
import com.twitter.meil_mitu.twitter4holo.data.TosResult;
import com.twitter.meil_mitu.twitter4holo.exception.<TwitterConsumerkey>;
public class Tos extends AbsGet<I<TwitterConsumerkey>>{
public Tos(AbsOauth oauth, I<TwitterConsumerkey> json){
super(oauth, json);
}
@Override
public String url(){
return "https://api.twitter.com/1.1/help/tos.json";
}
@Override
public int allowOauthType(){
return OauthType.Oauth1 | OauthType.Oauth2;
}
@Override
public boolean isAuthorization(){
return true;
}
@Override
public ResponseData<TosResult> call() throws <TwitterConsumerkey>{
return Json.<API key>(Oauth.get(this));
}
}
|
module Cranium::ImportStrategy
autoload :Base, 'cranium/import_strategy/base'
autoload :DeleteInsert, 'cranium/import_strategy/delete_insert'
autoload :Delete, 'cranium/import_strategy/delete'
autoload :TruncateInsert, 'cranium/import_strategy/truncate_insert'
autoload :Delta, 'cranium/import_strategy/delta'
autoload :Merge, 'cranium/import_strategy/merge'
end
|
<!--<section data-ng-controller="NewsFeedsController" data-ng-init="findOne()">-->
<section data-ng-controller="NewsFeedsController" data-ng-init="findOne()">
<section class="container">
<div class="page-header">
<h1>Edit News feed</h1>
</div>
<div class="col-md-12">
<form class="form-horizontal" data-ng-submit="update()" novalidate>
<fieldset>
<div class="form-group">
<!-- Enter the title of the article -->
<label class="control-label" for="title">Title of the News Article</label>
<div class="controls">
<input type="text" ng-model="Update_Title" data-ng-model="newsFeed.title" id="title" class="form-control" placeholder="Title" required>
</div>
<!-- Enter the author -->
<label class="control-label" for="author">Name of the author</label>
<div class="controls">
<input type="text" data-ng-model="newsFeed.author" id="author" class="form-control" placeholder="Author's name" required>
</div>
<!-- Enter the description of the app -->
<label class="control-label" for="body_text">The body of the article</label>
<div class="controls">
<textarea rows="4" type="text" data-ng-model="newsFeed.body_text" id="body_text" class="form-control" placeholder="Articles body" required>
</textarea>
</div>
<!-- Upload picture or give link -->
<label class="control-label" for="imageURL">Link to an Articles image</label>
<div class="controls">
<input type="text" data-ng-model="newsFeed.imageURL" id="imageURL" class="form-control" placeholder="Image URL" required>
</div>
<!-- link to the app -->
<label class="control-label" for="articleLink">Link to the Article</label>
<div class="controls">
<input type="text" data-ng-model="newsFeed.articleLink" id="articleLink" class="form-control" placeholder="Link to the Article" required>
</div>
<!--article date
<label class="control-label" for="date">Date of the article</label>
<br>
<div style="display:inline-block; min-height:250px; max-height:250px; background: rgba(0, 0, 0, 0.0)">
<datepicker ng-model="date" min-date="minDate" show-weeks="true" class="well well-sm" custom-class="getDayClass(date, mode)"></datepicker>
</div>
</div>
<div class="form-group">
<input ng-model="Update_Button" type="submit" value="Update" class="btn btn-default">
</div>
<div data-ng-show="error" class="text-danger">
<strong data-ng-bind="error"></strong>
</div>
</fieldset>
</form>
</div>
</section>
</section>
|
using PlayFab.SharedModels;
using PlayFab.Internal;
namespace PlayFab.Events
{
public partial class PlayFabEvents
{
public delegate void PlayFabErrorEvent(<API key> request, PlayFabError error);
public delegate void PlayFabResultEvent<in TResult>(TResult result) where TResult : PlayFabResultCommon;
public delegate void PlayFabRequestEvent<in TRequest>(TRequest request) where TRequest : <API key>;
public event PlayFabErrorEvent OnGlobalErrorEvent;
private static PlayFabEvents _instance;
<summary>
Private constructor because we call PlayFabEvents.init();
</summary>
private PlayFabEvents() { }
public static PlayFabEvents Init()
{
if (_instance == null)
{
_instance = new PlayFabEvents();
}
PlayFabHttp.<API key> += _instance.OnProcessingEvent;
PlayFabHttp.<API key> += _instance.<API key>;
return _instance;
}
public void UnregisterInstance(object instance)
{
#if !<API key>
if (OnLoginResultEvent != null) { foreach (var each in OnLoginResultEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnLoginResultEvent -= (PlayFabResultEvent<ClientModels.LoginResult>)each; } } }
#endif
#if <API key>
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetPolicyRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetPolicyResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.UpdatePolicyRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.BanUsersRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.BanUsersResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetUserBansRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetUserBansResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.ResetUsersRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.BlankResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.RevokeBansRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.RevokeBansResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.UpdateBansRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.UpdateBansResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.DeleteUsersRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.DeleteUsersResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetDataReportResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.AddNewsRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.AddNewsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.BlankResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.DeleteStoreRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.DeleteStoreResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetStoreItemsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.BlankResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.SetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.SetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.SetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.SetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.ListBuildsRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.ListBuildsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.BlankResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.AddPlayerTagRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.AddPlayerTagResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetPlayerTagsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.CreateTaskResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.CreateTaskResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.DeleteTaskRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.GetTasksRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.GetTasksResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.RunTaskRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.RunTaskResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<AdminModels.UpdateTaskRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<AdminModels.EmptyResult>)each; } } }
#endif
#if <API key>
if (OnMatchmaker<API key> != null) { foreach (var each in OnMatchmaker<API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnMatchmaker<API key> -= (PlayFabRequestEvent<MatchmakerModels.AuthUserRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<MatchmakerModels.AuthUserResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<MatchmakerModels.PlayerJoinedRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<MatchmakerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<MatchmakerModels.PlayerLeftRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<MatchmakerModels.PlayerLeftResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<MatchmakerModels.StartGameRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<MatchmakerModels.StartGameResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<MatchmakerModels.UserInfoRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<MatchmakerModels.UserInfoResponse>)each; } } }
#endif
#if <API key>
if (OnServer<API key> != null) { foreach (var each in OnServer<API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnServer<API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (OnServer<API key> != null) { foreach (var each in OnServer<API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnServer<API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.BanUsersRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.BanUsersResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetUserBansRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetUserBansResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.RevokeBansRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.RevokeBansResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.UpdateBansRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.UpdateBansResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.DeleteUsersRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.DeleteUsersResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetTimeRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetTimeResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.GetTitleNewsRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetTitleNewsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.SetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.SetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.SetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.SetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.ConsumeItemRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.ConsumeItemResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.RedeemCouponRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.RedeemCouponResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.AddFriendRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.RemoveFriendRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.RegisterGameRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.WriteEventResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.WriteEventResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.WriteEventResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.AddPlayerTagRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.AddPlayerTagResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.GetPlayerTagsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ServerModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ServerModels.<API key>>)each; } } }
#endif
#if !<API key>
if (OnGetPhoton<API key> != null) { foreach (var each in OnGetPhoton<API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnGetPhoton<API key> -= (PlayFabRequestEvent<ClientModels.GetPhoton<API key>>)each; } } }
if (OnGetPhoton<API key> != null) { foreach (var each in OnGetPhoton<API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnGetPhoton<API key> -= (PlayFabResultEvent<ClientModels.GetPhoton<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.AddGenericIDRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.AddGenericIDResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.LinkCustomIDRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.LinkCustomIDResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.EmptyResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetUserDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetUserDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetStoreItemsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetTimeRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetTimeResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetTitleDataRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetTitleDataResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetTitleNewsRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetTitleNewsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.ConsumeItemRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.ConsumeItemResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.GetPurchaseRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetPurchaseResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.PurchaseItemRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.PurchaseItemResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.RedeemCouponRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.RedeemCouponResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.StartPurchaseResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.AddFriendRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.AddFriendResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.RemoveFriendRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.RemoveFriendResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.SetFriendTagsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.CurrentGamesRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.CurrentGamesResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.MatchmakeRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.MatchmakeResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.StartGameRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.StartGameResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.WriteEventResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.WriteEventResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.WriteEventResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.AcceptTradeRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.AcceptTradeResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.CancelTradeRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.CancelTradeResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.OpenTradeRequest>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.OpenTradeResponse>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.GetPlayerTagsResult>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabRequestEvent<ClientModels.<API key>>)each; } } }
if (<API key> != null) { foreach (var each in <API key>.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { <API key> -= (PlayFabResultEvent<ClientModels.<API key>>)each; } } }
#endif
}
private void <API key>(<API key> request, PlayFabError error)
{
//This just forwards the event.
if (_instance.OnGlobalErrorEvent != null)
{
_instance.OnGlobalErrorEvent(request, error);
}
}
private void OnProcessingEvent(<API key> e)
{
if (e.EventType == <API key>.Pre)
{
var type = e.Request.GetType();
#if <API key>
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.GetPolicyRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetPolicyRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.UpdatePolicyRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.UpdatePolicyRequest)e.Request); return; } }
if (type == typeof(AdminModels.BanUsersRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.BanUsersRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.GetUserBansRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserBansRequest)e.Request); return; } }
if (type == typeof(AdminModels.ResetUsersRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.ResetUsersRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.RevokeBansRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.RevokeBansRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.UpdateBansRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.UpdateBansRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.DeleteUsersRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.DeleteUsersRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.AddNewsRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.AddNewsRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.DeleteStoreRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.DeleteStoreRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.GetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetTitleDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.GetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetTitleDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.SetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.SetTitleDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.SetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.SetTitleDataRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.ListBuildsRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.ListBuildsRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.AddPlayerTagRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.AddPlayerTagRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.DeleteTaskRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.DeleteTaskRequest)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Request); return; } }
if (type == typeof(AdminModels.GetTasksRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetTasksRequest)e.Request); return; } }
if (type == typeof(AdminModels.RunTaskRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.RunTaskRequest)e.Request); return; } }
if (type == typeof(AdminModels.UpdateTaskRequest)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.UpdateTaskRequest)e.Request); return; } }
#endif
#if <API key>
if (type == typeof(MatchmakerModels.AuthUserRequest)) { if (_instance.OnMatchmaker<API key> != null) { _instance.OnMatchmaker<API key>((MatchmakerModels.AuthUserRequest)e.Request); return; } }
if (type == typeof(MatchmakerModels.PlayerJoinedRequest)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.PlayerJoinedRequest)e.Request); return; } }
if (type == typeof(MatchmakerModels.PlayerLeftRequest)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.PlayerLeftRequest)e.Request); return; } }
if (type == typeof(MatchmakerModels.StartGameRequest)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.StartGameRequest)e.Request); return; } }
if (type == typeof(MatchmakerModels.UserInfoRequest)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.UserInfoRequest)e.Request); return; } }
#endif
#if <API key>
if (type == typeof(ServerModels.<API key>)) { if (_instance.OnServer<API key> != null) { _instance.OnServer<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.BanUsersRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.BanUsersRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.GetUserBansRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserBansRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.RevokeBansRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.RevokeBansRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.UpdateBansRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.UpdateBansRequest)e.Request); return; } }
if (type == typeof(ServerModels.DeleteUsersRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.DeleteUsersRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.GetTimeRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTimeRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTitleDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTitleDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.GetTitleNewsRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTitleNewsRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.SetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.SetTitleDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.SetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.SetTitleDataRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.ConsumeItemRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.ConsumeItemRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.RedeemCouponRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.RedeemCouponRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.AddFriendRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.AddFriendRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.RemoveFriendRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.RemoveFriendRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.RegisterGameRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.RegisterGameRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.AddPlayerTagRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.AddPlayerTagRequest)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Request); return; } }
#endif
#if !<API key>
if (type == typeof(ClientModels.GetPhoton<API key>)) { if (_instance.OnGetPhoton<API key> != null) { _instance.OnGetPhoton<API key>((ClientModels.GetPhoton<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.AddGenericIDRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.AddGenericIDRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.LinkCustomIDRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.LinkCustomIDRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ClientModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ClientModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ClientModels.GetUserDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.GetTimeRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetTimeRequest)e.Request); return; } }
if (type == typeof(ClientModels.GetTitleDataRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetTitleDataRequest)e.Request); return; } }
if (type == typeof(ClientModels.GetTitleNewsRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetTitleNewsRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.ConsumeItemRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.ConsumeItemRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.GetPurchaseRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetPurchaseRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.PurchaseItemRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.PurchaseItemRequest)e.Request); return; } }
if (type == typeof(ClientModels.RedeemCouponRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.RedeemCouponRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.AddFriendRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.AddFriendRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.RemoveFriendRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.RemoveFriendRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.CurrentGamesRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.CurrentGamesRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.MatchmakeRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.MatchmakeRequest)e.Request); return; } }
if (type == typeof(ClientModels.StartGameRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.StartGameRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.AcceptTradeRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.AcceptTradeRequest)e.Request); return; } }
if (type == typeof(ClientModels.CancelTradeRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.CancelTradeRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.OpenTradeRequest)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.OpenTradeRequest)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Request); return; } }
#endif
}
else
{
var type = e.Result.GetType();
#if <API key>
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.GetPolicyResponse)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetPolicyResponse)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.BanUsersResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.BanUsersResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.GetUserBansResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserBansResult)e.Result); return; } }
if (type == typeof(AdminModels.BlankResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.BlankResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.RevokeBansResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.RevokeBansResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.UpdateBansResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.UpdateBansResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.DeleteUsersResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.DeleteUsersResult)e.Result); return; } }
if (type == typeof(AdminModels.GetDataReportResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetDataReportResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(AdminModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(AdminModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(AdminModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(AdminModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(AdminModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.AddNewsResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.AddNewsResult)e.Result); return; } }
if (type == typeof(AdminModels.BlankResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.BlankResult)e.Result); return; } }
if (type == typeof(AdminModels.DeleteStoreResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.DeleteStoreResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.GetStoreItemsResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetStoreItemsResult)e.Result); return; } }
if (type == typeof(AdminModels.GetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetTitleDataResult)e.Result); return; } }
if (type == typeof(AdminModels.GetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetTitleDataResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.BlankResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.BlankResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.SetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.SetTitleDataResult)e.Result); return; } }
if (type == typeof(AdminModels.SetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.SetTitleDataResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.ListBuildsResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.ListBuildsResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.BlankResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.BlankResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.AddPlayerTagResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.AddPlayerTagResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.GetPlayerTagsResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetPlayerTagsResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.EmptyResult)e.Result); return; } }
if (type == typeof(AdminModels.CreateTaskResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.CreateTaskResult)e.Result); return; } }
if (type == typeof(AdminModels.CreateTaskResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.CreateTaskResult)e.Result); return; } }
if (type == typeof(AdminModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.EmptyResult)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.<API key>)e.Result); return; } }
if (type == typeof(AdminModels.GetTasksResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.GetTasksResult)e.Result); return; } }
if (type == typeof(AdminModels.RunTaskResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.RunTaskResult)e.Result); return; } }
if (type == typeof(AdminModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((AdminModels.EmptyResult)e.Result); return; } }
#endif
#if <API key>
if (type == typeof(MatchmakerModels.AuthUserResponse)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.AuthUserResponse)e.Result); return; } }
if (type == typeof(MatchmakerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.<API key>)e.Result); return; } }
if (type == typeof(MatchmakerModels.PlayerLeftResponse)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.PlayerLeftResponse)e.Result); return; } }
if (type == typeof(MatchmakerModels.StartGameResponse)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.StartGameResponse)e.Result); return; } }
if (type == typeof(MatchmakerModels.UserInfoResponse)) { if (_instance.<API key> != null) { _instance.<API key>((MatchmakerModels.UserInfoResponse)e.Result); return; } }
#endif
#if <API key>
if (type == typeof(ServerModels.<API key>)) { if (_instance.OnServer<API key> != null) { _instance.OnServer<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.BanUsersResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.BanUsersResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.GetUserBansResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserBansResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.RevokeBansResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.RevokeBansResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.EmptyResult)e.Result); return; } }
if (type == typeof(ServerModels.UpdateBansResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.UpdateBansResult)e.Result); return; } }
if (type == typeof(ServerModels.DeleteUsersResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.DeleteUsersResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ServerModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ServerModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ServerModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ServerModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ServerModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.GetTimeResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTimeResult)e.Result); return; } }
if (type == typeof(ServerModels.GetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTitleDataResult)e.Result); return; } }
if (type == typeof(ServerModels.GetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTitleDataResult)e.Result); return; } }
if (type == typeof(ServerModels.GetTitleNewsResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetTitleNewsResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.SetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.SetTitleDataResult)e.Result); return; } }
if (type == typeof(ServerModels.SetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.SetTitleDataResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.ConsumeItemResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.ConsumeItemResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.RedeemCouponResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.RedeemCouponResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.EmptyResult)e.Result); return; } }
if (type == typeof(ServerModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.EmptyResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.EmptyResult)e.Result); return; } }
if (type == typeof(ServerModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.EmptyResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.WriteEventResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.WriteEventResponse)e.Result); return; } }
if (type == typeof(ServerModels.WriteEventResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.WriteEventResponse)e.Result); return; } }
if (type == typeof(ServerModels.WriteEventResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.WriteEventResponse)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.EmptyResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.AddPlayerTagResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.AddPlayerTagResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.GetPlayerTagsResult)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.GetPlayerTagsResult)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
if (type == typeof(ServerModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ServerModels.<API key>)e.Result); return; } }
#endif
#if !<API key>
if (type == typeof(ClientModels.LoginResult)) { if (_instance.OnLoginResultEvent != null) { _instance.OnLoginResultEvent((ClientModels.LoginResult)e.Result); return; } }
if (type == typeof(ClientModels.GetPhoton<API key>)) { if (_instance.OnGetPhoton<API key> != null) { _instance.OnGetPhoton<API key>((ClientModels.GetPhoton<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.AddGenericIDResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.AddGenericIDResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.LinkCustomIDResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.LinkCustomIDResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.EmptyResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.EmptyResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ClientModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ClientModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ClientModels.GetUserDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetUserDataResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.GetStoreItemsResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetStoreItemsResult)e.Result); return; } }
if (type == typeof(ClientModels.GetTimeResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetTimeResult)e.Result); return; } }
if (type == typeof(ClientModels.GetTitleDataResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetTitleDataResult)e.Result); return; } }
if (type == typeof(ClientModels.GetTitleNewsResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetTitleNewsResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.ConsumeItemResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.ConsumeItemResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.GetPurchaseResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetPurchaseResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.PurchaseItemResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.PurchaseItemResult)e.Result); return; } }
if (type == typeof(ClientModels.RedeemCouponResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.RedeemCouponResult)e.Result); return; } }
if (type == typeof(ClientModels.StartPurchaseResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.StartPurchaseResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.AddFriendResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.AddFriendResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.RemoveFriendResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.RemoveFriendResult)e.Result); return; } }
if (type == typeof(ClientModels.SetFriendTagsResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.SetFriendTagsResult)e.Result); return; } }
if (type == typeof(ClientModels.CurrentGamesResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.CurrentGamesResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.MatchmakeResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.MatchmakeResult)e.Result); return; } }
if (type == typeof(ClientModels.StartGameResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.StartGameResult)e.Result); return; } }
if (type == typeof(ClientModels.WriteEventResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.WriteEventResponse)e.Result); return; } }
if (type == typeof(ClientModels.WriteEventResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.WriteEventResponse)e.Result); return; } }
if (type == typeof(ClientModels.WriteEventResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.WriteEventResponse)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.AcceptTradeResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.AcceptTradeResponse)e.Result); return; } }
if (type == typeof(ClientModels.CancelTradeResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.CancelTradeResponse)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.OpenTradeResponse)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.OpenTradeResponse)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.GetPlayerTagsResult)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.GetPlayerTagsResult)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
if (type == typeof(ClientModels.<API key>)) { if (_instance.<API key> != null) { _instance.<API key>((ClientModels.<API key>)e.Result); return; } }
#endif
}
}
}
}
|
var STATE_START = 0;
var STATE_END = 1;
var STATE_GROUND = 2;
var STATE_FOREST = 3;
var STATE_WATER = 4;
function Cell(col, row) {
this.col = col;
this.row = row;
this.state = STATE_GROUND;
}
Cell.prototype.draw = function() {
stroke(66);
switch (this.state) {
case STATE_START:
Color.Material.light_green[5].fill();
break;
case STATE_END:
Color.Material.red[5].fill();
break;
case STATE_GROUND:
Color.Material.green[5].fill();
break;
case STATE_FOREST:
Color.Material.green[9].fill();
break;
case STATE_WATER:
Color.Material.light_blue[5].fill();
break;
default:
fill(255, 0, 0);
}
rect(this.col * scl, this.row * scl, scl, scl);
};
Cell.prototype.incrementState = function(bool) {
if (bool) { // Cycle from 0 to 1
this.state = (++this.state > 1) ? 0 : this.state;
} else { // Cycle from 2 to 4
this.state = (++this.state < 2 || this.state > 4) ? 2 : this.state;
}
//this.state = (++this.state > 4) ? 0 : this.state;
//loop();
};
|
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace ELearningCrawler.Properties {
using System;
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
// This class was auto-generated by the <API key>
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.<API key>("System.Resources.Tools.<API key>", "4.0.0.0")]
[global::System.Diagnostics.<API key>()]
[global::System.Runtime.CompilerServices.<API key>()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.<API key>("Microsoft.Performance", "CA1811:<API key>")]
internal Resources() {
}
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
[global::System.ComponentModel.<API key>(global::System.ComponentModel.<API key>.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ELearningCrawler.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
[global::System.ComponentModel.<API key>(global::System.ComponentModel.<API key>.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}
|
'use strict';
/* Services */
// Demonstrate how to register services
// In this case it is a simple value service.
angular.module('baApp.services', []).
value('version', '0.1');
|
var fs = require('fs');
var join = require('path').join;
var iconv = require('iconv-lite');
var debug = require('debug')('ip');
var util = require('util');
var EventEmitter = require('events').EventEmitter;
var thunkify = require('thunkify-wrap');
function IpUtil(ipFile, encoding, isLoad) {
if (typeof encoding === 'function') {
isLoad = encoding;
encoding = null;
}
this.ipFile = joinDirectory(process.cwd(), ipFile);
this.ipList = [];
if (encoding && encoding.toLowerCase().indexOf('utf') > -1) {
this.filter = function(buf) {
return buf.toString();
};
} else {
this.filter = function(buf) {
return iconv.decode(new Buffer(buf), 'gbk');
};
}
this.isLoad = isLoad || function(){
return true;
};
this.init();
}
util.inherits(IpUtil, EventEmitter);
IpUtil.prototype.init = function() {
var that = this;
var isLoad = this.isLoad;
debug('begin parse ipfile %s', this.ipFile);
if (!fs.existsSync(this.ipFile)) {
debug('not found ip file!');
that.emit('error', 'ipfile_not_found');
return;
}
var ipMap = this.ipMap = {};
var ipList = this.ipList;
var getLine = readLine(this.ipFile, this.filter);
var result = getLine.next();
var line;
var lineNum = 0;
var counter = 1;
var _readLine = function () {
if (result.done) {
that.emit('loaded');
return;
}
// ipcpu.
if (counter % 100000 === 0) {
counter = 1;
setImmediate(_readLine);
return;
}
counter++;
lineNum++;
line = result.value;
if (!line || !line.trim()) {
result = getLine.next();
_readLine();
return;
}
var tokens = line.split(',', 6);
if (tokens.length !== 6) {
debug('%d: %s', lineNum, line);
result = getLine.next();
_readLine();
return;
}
var startIp = ip2Long(tokens[0]);
var endIp = ip2Long(tokens[1]);
if (!startIp || !endIp) {
debug('%d: %s', lineNum, line);
result = getLine.next();
_readLine();
return;
}
var country = getValue(tokens[2]);
var province = getValue(tokens[3]);
var city = getValue(tokens[4]);
var address = getValue(tokens[5]);
if ('IANA' === country) {
country = 'IANA';
province = 'IANA';
city = 'IANA';
}
if ('' === country) {
country = '';
province = '';
city = '';
}
if('' === country) {
country = '';
province = '';
city = '';
}
if('' === country && ('' === province || '' === city)) {
country = '';
province = '';
city = '';
}
if (!isLoad(country, province, city)) {
result = getLine.next();
setImmediate(_readLine);
return;
}
ipMap[startIp] = {
startIp: startIp,
endIp: endIp,
country: country,
province: province,
city: city,
address: address
};
ipList.push(startIp);
result = getLine.next();
setImmediate(_readLine);
};
_readLine();
var sortIp = function () {
//debug(this.ipMap)
debug('IP. %d IP', ipList.length);
ipList.sort(function(a, b) {
return a - b;
});
debug('ip .');
that.emit('done');
};
this.on('loaded', sortIp);
};
function getValue(val) {
if (!val) {
return null;
}
val = val.trim();
if (val === 'null') {
return null;
}
return val;
}
IpUtil.prototype.getIpInfo = function(ip) {
if (!isIp(ip)) {
return null;
}
if (typeof ip === 'string') {
ip = ip2Long(ip);
}
var ipStart = this.locatStartIP(ip);
debug(' ip : %d', ipStart);
var ipInfo = this.ipMap[ipStart];
debug('IP, %s .', long2IP(ip));
if (ipInfo.endIp < ip) {
debug('IPIP[%s]', long2IP(ip));
return null;
}
return ipInfo;
};
IpUtil.prototype.refreshData = function() {
};
/**
* ipIPIPipIPip
* ipstart
* @param ip
* @return
*/
IpUtil.prototype.locatStartIP = function(ip) {
debug('IP: %d', ip);
var centerIP = 0;
var centerIndex = 0;
var startIndex = 0;
var endIndex = this.ipList.length - 1;
var count = 0;
while (true) {
debug('%d. start = %d, end = %d', count++, startIndex, endIndex);
centerIndex = Math.floor((startIndex + endIndex) / 2);
centerIP = this.ipList[centerIndex];
if (centerIP < ip) {
// IPIP
startIndex = centerIndex;
} else if (centerIP > ip) {
// IPIP
endIndex = centerIndex;
} else {
break;
}
if (startIndex + 1 === endIndex) {
// 1IPipIP
// IPstart ipipIPstart ip
if (centerIP > ip) {
centerIP = this.ipList[centerIndex - 1];
}
break;
}
}
debug('IP: %d', centerIP, centerIndex);
return centerIP;
};
/**
* a,b,c ==> a/b/c
* a,b,/tmp ==> /tmp
* /a/b, c ==> /a/b/c
*/
function joinDirectory() {
var dirs = [].slice.call(arguments, 1);
var dir;
for (var i = 0, len = dirs.length; i < len; i++) {
dir = dirs[i];
if (/^\//.test(dir)) {
return dir;
}
}
return join.apply(null, [].slice.call(arguments));
}
function ip2Long(ip) {
if (!isIp(ip)) {
return 0;
}
var segs = ip.split('.');
var iplong =(parseInt(segs[0]) << 24
| parseInt(segs[1]) << 16
| parseInt(segs[2]) << 8
| parseInt(segs[3])) >>> 0;
return iplong;
}
var IP_REGEXP = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;
function isIp(str) {
if (!str) {
return false;
}
str = str.trim();
return IP_REGEXP.test(str);
/**
var tokens = str.split('.');
if (tokens.length !== 4) {
return false;
}
for (var i = 0, len = tokens.length; i < len; i++) {
if (parseInt(tokens[i]) > 255 || parseInt(tokens[i]) < 0) {
return false;
}
}
return true;
**/
}
function long2IP(ipLong) {
var ip = [ipLong >> 24];
ip.push((ipLong & 16711680) >> 16);
ip.push((ipLong & 65280) >> 8);
ip.push(ipLong & 255);
return ip.join('.');
}
function *readLine(file, filter) {
var buffer = fs.readFileSync(file);
var i = 0, len = 0 || buffer.length;
debug('load file succ', len);
var nl = require('os').EOL.charCodeAt(0);
var buf = [];
while(i < len) {
if (buffer[i] !== nl) {
buf.push(buffer[i]);
} else {
yield filter(new Buffer(buf));
buf = [];
}
i++;
}
}
module.exports = IpUtil;
module.exports.isIP = isIp;
module.exports.ip2Long = ip2Long;
module.exports.long2Ip = long2IP;
module.exports.getIpUtil = function *(ipFile, encoding, ipFilter) {
var iputil = new IpUtil(ipFile, encoding, ipFilter);
var end = thunkify.event(iputil, ['done', 'error']);
yield end();
return iputil;
};
|
<HTML><HEAD>
<TITLE>Review for Vertical Limit (2000)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0190865">Vertical Limit (2000)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Dennis+Schwartz">Dennis Schwartz</A></H3><HR WIDTH="40%" SIZE="4">
<P>VERTICAL LIMIT (director: Martin Campbell; screenwriters: Robert King
and Terry Hayes, based on a story by Mr. King; cinematographer: David
Tattersall; editor: Thom Noble; cast: Chris O'Donnell (Peter Garrett),
Bill Paxton (Elliot Vaughn), Robin Tunney (Annie Garrett), Scott Glenn
(Montgomery Wick), Izabella Scorupco (Monique Aubertine), Temuera
Morrison (Major Rasul), Nicholas Lea (Tom McLaren), Alexander Siddig
(Kareem), Steve Le Marquand (Cyril Bench), Ben Mendelsohn (Malcolm
Bench), Robert Taylor (Skip Taylor), Stuart Wilson (Royce Garrett),
Roshan Seth (Colonel Amir Salem); Runtime: 126; Columbia Pictures; 2000)</P>
<PRE>Reviewed by Dennis Schwartz</PRE>
<P>A superficial but entertaining roller-coaster-ride of nonstop action
featuring cliché characters and contrived dangerous situations, mainly
conceived to show off the special effects. The story is so slight that
there is no danger of it interfering with the action scenes. It's a
Hollywood blockbuster for those in need of escaping reality for two
hours and should prove to be enjoyable for those who are willing to go
with the flow of the action and suspend their critical judgment. The
reward will be a visual treat of well-executed stunts and a film that
had the glossy look of a National Geographic photography shoot. The
director Martin Campbell ("Goldeneye") relishes in filming excesses and
creating one life-and-death scene after the other. Movie viewers could
go snowblind just watching a series of mountain catastrophes befall the
adventurous climbers, as the film throws out almost any possible danger
there is to be found on a mountain and the mountain climbers try to
overcome these impossible obstacles and, there is, needlessly to say, a
race-against-time sequence, with a last second rescue in the works.</P>
<P>The opening eight-minute scene, derivative as it is, is brilliantly done
and captures whatever underlying tension the film was to later on build
up to. The Garrett family is out for a pleasure mountain climbing trip
to the ochre cliffs of Monument Valley, as Peter (Chris O'Donnell) and
his sister Ann (Robin Tunney) are climbing with dad Royce (Stuart
Wilson) and a couple of unnamed companions. One of those companions
first has his backpack fall and thereby loosens the tow rope entangling
the others, trapping the family with the other two companions dangling
off a peak. The companions can't hold on and tragically fall. Royce
warns that the line won't hold all three for long and pleads that his
son cut him loose to have any hope of saving his children. Ignoring
Annie's tearful protests, Peter cuts the rope and the father falls to
his death.</P>
<P>It's three years later and Peter is a National Geographic photographer
shooting in the Himalayas. He ends up at a Pakistani military base,
where they are in the middle of a war with India. Nearby is a K2 base
camp, where Annie is a crew member on billionaire sportsman Elliot
Vaughn (Bill Paxton) team that is set to climb the dangerous summit of
K2--the world's second-highest peak. The brother and sister reunite
after becoming more distant with each other. They never discussed their
father's death since the tragedy, but have gone their separate ways.
Peter has abandoned mountain climbing, while Annie has become known as
the fastest climber in the world and is a Sports Illustrated cover girl.
She is still upset with what Peter did and could hardly face him, much
less talk to him about it.</P>
<P>At the richly put together base camp of Elliot's expedition, the
arrogant businessman has surrounded himself with the best team money can
buy, including the foremost climber in the world, Tom McLaren (Nicholas
Lea). He is to lead Elliot to the summit of K2 in time to coincide with
one of the planes flying overhead from Elliot's new airline he is
launching. The commercial motive for the climb and the callous way he
will soon treat his fellow climbers, makes him the film's designated
one-dimensional villain, and adds some more spice to a film that is
overspiced already with clichés.</P>
<P>Warned by the base camp of severe weather conditions, Elliot refuses the
leader's advice to turn back and manipulates the leader to go against
his better judgment and continue on, where they reach the vertical limit
at 26,000 feet--significant because the oxygen is very thin. When a wind
storm hits--and, Elliot, Annie and Tom end up inside a deep cavern that
becomes sealed by an avalanche, the three realize that they have only 36
hours to survive.</P>
<P>Peter impatiently arranges for the rescue attempt, quickly assembling a
diverse team of volunteers who have little chance of succeeding, but
sign on for the glory, or their concern for the victims, or for the
money offered. The Pakistani Army helps out by supplying the six
rescuers with cannisters of nitroglycerin, an homage to "Wages of Fear."
The rescuers will try to blast the victims out of the cavern, but must
be very careful when climbing because with just one spill of the
explosive liquid there is the certainty of a tremendous explosion. There
will be many tremendous explosions that rock the Himalayas, and
mountains repeatedly exploding and climbers falling down mountain peaks
in colorful ways is your idea of enjoyment, then this is the film for
you.</P>
<P>The rescue crew includes one of the world's beautiful supermodels, who
in this film happens to be a medic and an expert climber Monique
(Izabella Scorupco); a Muslim practitioner, the Pakistani porter Kareem
(Alexander Siddig); the comically insane Aussie brothers Cyril and
Malcolm Bench (Steve Le Marquand, Ben Mendelsohn); and, the leader of
the crew, a hard-assed master mountain climber who became a hermit and
for the last few years stopped everything to search only for his wife
who never returned from Elliot's last tragic expedition to K2,
Montgomery Wick (Scott Glenn). The craggy-faced Wick is bent on revenge
against Elliot, blaming him for his tour guide wife's death. He's also a
friend of Peter's father, and what goes for wisdom in this picture,
comes from his rugged lips.</P>
<P>The action keeps coming, the clichés get resolved somehow, and even
though the action sequences couldn't possibly be real, the great
photography and beautiful vistas made the locations seem out of this
world. The filmmaker used the Southern Alps in New Zealand as his
setting, and you could have fooled me, because it sure looked like the
Himalayas. It also looked like it could be a long commercial for
beautiful yuppie adventurers who are shooting an ad for Club Med, or a
National Geographic TV special, or even one of those action thrillers
that doesn't believe it needs good dialogue to tell its heroic fantasy
story.</P>
<PRE>REVIEWED ON 1/3/2001 GRADE: C+</PRE>
<P>Dennis Schwartz: "Ozus' World Movie Reviews"</P>
<PRE><A HREF="http:
<PRE><A HREF="mailto:ozus@sover.net">ozus@sover.net</A></PRE>
<P>© ALL RIGHTS RESERVED DENNIS SCHWARTZ</P>
<HR><P CLASS=flush><SMALL>The review above was posted to the
<A HREF="news:rec.arts.movies.reviews">rec.arts.movies.reviews</A> newsgroup (<A HREF="news:de.rec.film.kritiken">de.rec.film.kritiken</A> for German reviews).<BR>
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.<BR>
Please direct comments/criticisms of the review to relevant newsgroups.<BR>
Broken URLs inthe reviews are the responsibility of the author.<BR>
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
</SMALL></P>
<P ALIGN=CENTER>Related links: <A HREF="/Reviews/">index of all rec.arts.movies.reviews reviews</A></P>
</P></BODY></HTML>
|
using System;
using CommandLine;
using System.IO;
using Nancy.Hosting.Self;
using SeudoBuild.Core;
using SeudoBuild.Core.FileSystems;
using SeudoBuild.Pipeline;
using SeudoBuild.Net;
namespace SeudoBuild.Agent
{
class Program
{
private const string Header = @"
_ _ _ _ _
___ ___ _ _ _| |___| |_ _ _|_| |_| |
|_ -| -_| | | . | . | . | | | | | . |
|___|___|___|___|___|___|___|_|_|___|
";
private static ILogger _logger;
[Verb("build", HelpText = "Create a local build.")]
private class BuildSubOptions
{
[Option('t', "build-target", HelpText = "Name of the build target as specified in the project configuration file. If no build target is specified, the first target will be used.")]
public string BuildTarget { get; set; }
[Option('o', "output-folder", HelpText = "Path to the build output folder.")]
public string OutputPath { get; set; }
[Value(0, MetaName = "project", HelpText = "Path to a project configuration file.", Required = true)]
public string ProjectConfigPath { get; set; }
}
[Verb("scan", HelpText = "List build agents found on the local network.")]
private class ScanSubOptions
{
}
[Verb("submit", HelpText = "Submit a build request for a remote build agent to fulfill.")]
private class SubmitSubOptions
{
[Option('p', "project-config", HelpText = "Path to a project configuration file.", Required = true)]
public string ProjectConfigPath { get; set; }
[Option('t', "build-target", HelpText = "Name of the target to build as specified in the project configuration file.")]
public string BuildTarget { get; set; }
[Option('a', "agent-name", HelpText = "The unique name of a specific build agent. If not set, the job will be broadcast to all available agents.")]
public string AgentName { get; set; }
}
[Verb("queue", HelpText = "Queue build requests received over the network.")]
private class QueueSubOptions
{
[Option('n', "agent-name", HelpText = "A unique name for the build agent. If not set, a name will be generated.")]
public string AgentName { get; set; }
[Option('p', "port", HelpText = "Port on which to listen for build queue messages.")]
public int? Port { get; set; }
}
[Verb("deploy", HelpText = "Listen for deployment messages.")]
private class DeploySubOptions
{
}
[Verb("name", Hidden = true)]
private class NameSubOptions
{
[Option('r', "random")]
public bool Random { get; set; }
}
public static void Main(string[] args)
{
_logger = new Logger();
Console.Title = "SeudoBuild";
Parser.Default.ParseArguments<BuildSubOptions, ScanSubOptions, SubmitSubOptions, QueueSubOptions, DeploySubOptions, NameSubOptions>(args)
.MapResult(
(BuildSubOptions opts) => Build(opts),
(ScanSubOptions opts) => Scan(opts),
(SubmitSubOptions opts) => Submit(opts),
(QueueSubOptions opts) => Queue(opts),
(DeploySubOptions opts) => Deploy(opts),
(NameSubOptions opts) => ShowAgentName(opts),
errs => 1
);
}
<summary>
Build a single target, then exit.
</summary>
private static int Build(BuildSubOptions opts)
{
Console.Title = "SeudoBuild • Build";
Console.WriteLine(Header);
// Load pipeline modules
var factory = new ModuleLoaderFactory();
IModuleLoader moduleLoader = factory.Create(_logger);
// Load project config
ProjectConfig projectConfig = null;
try
{
var fs = new WindowsFileSystem();
var serializer = new Serializer(fs);
var converters = moduleLoader.Registry.GetJsonConverters();
projectConfig = serializer.DeserializeFromFile<ProjectConfig>(opts.ProjectConfigPath, converters);
}
catch (Exception e)
{
Console.WriteLine("Can't parse project config:");
Console.WriteLine(e.Message);
return 1;
}
// Execute build
var builder = new Builder(moduleLoader, _logger);
var parentDirectory = opts.OutputPath;
if (string.IsNullOrEmpty(parentDirectory))
{
// Config file's directory
parentDirectory = new FileInfo(opts.ProjectConfigPath).Directory?.FullName;
}
var pipeline = new PipelineRunner(new PipelineConfig { BaseDirectory = parentDirectory }, _logger);
bool success = builder.Build(pipeline, projectConfig, opts.BuildTarget);
return success ? 0 : 1;
}
<summary>
Discover build agents on the network.
</summary>
private static int Scan(ScanSubOptions opts)
{
Console.Title = "SeudoBuild • Scan";
Console.WriteLine(Header);
Console.WriteLine("Looking for build agents. Press any key to exit.");
// FIXME fill in port from command line argument
var locator = new AgentLocator(5511);
try
{
locator.Start();
}
catch
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Could not start build agent discovery client");
Console.ResetColor();
return 1;
}
// FIXME don't hard-code port
locator.AgentFound += (agent) =>
{
_logger.Write($"{agent.AgentName} ({agent.Address})", LogType.Bullet);
};
locator.AgentLost += (agent) =>
{
_logger.Write($"Lost agent: {agent.AgentName} ({agent.Address})", LogType.Bullet);
};
Console.WriteLine();
Console.ReadKey();
return 0;
}
<summary>
Submit a build job to another agent.
</summary>
private static int Submit(SubmitSubOptions opts)
{
Console.Title = "SeudoBuild • Submit";
Console.WriteLine(Header);
string configJson = null;
try
{
configJson = File.ReadAllText(opts.ProjectConfigPath);
}
catch
{
_logger.Write("Project could not be read from " + opts.ProjectConfigPath, LogType.Failure);
return 1;
}
var buildSubmitter = new BuildSubmitter(_logger);
try
{
// Find agent on the network, with timeout
var discoveryClient = new UdpDiscoveryClient();
buildSubmitter.Submit(discoveryClient, configJson, opts.BuildTarget, opts.AgentName);
}
catch (Exception e)
{
_logger.Write("Could not submit job: " + e.Message, LogType.Failure);
return 1;
}
return 0;
}
<summary>
Receive build jobs from other agents or clients, queue them, and execute them.
Continue listening until user exits.
</summary>
private static int Queue(QueueSubOptions opts)
{
Console.Title = "SeudoBuild • Queue";
Console.WriteLine(Header);
//string agentName = string.IsNullOrEmpty(opts.AgentName) ? AgentName.GetUniqueAgentName() : opts.AgentName;
// FIXME pull port from command line argument, and incorporate into ServerBeacon object
int port = 5511;
if (opts.Port.HasValue)
{
port = opts.Port.Value;
}
// Starting the Nancy server will automatically execute the Bootstrapper class
var uri = new Uri($"http://localhost:{port}");
using (var host = new NancyHost(uri))
{
_logger.Write("");
try
{
host.Start();
_logger.Write("Build Queue", LogType.Header);
_logger.Write("");
_logger.Write("Started build agent server: " + uri, LogType.Bullet);
try
{
// FIXME configure the port from a command line argument
var serverInfo = new UdpDiscoveryBeacon { Port = 5511 };
var discovery = new UdpDiscoveryServer(serverInfo);
discovery.Start();
_logger.Write("Build agent discovery beacon started", LogType.Bullet);
}
catch
{
_logger.Write("Could not initialize build agent discovery beacon", LogType.Alert);
}
}
catch (Exception e)
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Could not start build server: " + e.Message);
Console.ResetColor();
return 1;
}
Console.WriteLine("");
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
}
return 0;
}
<summary>
Deploy a build product on the local machine.
</summary>
private static int Deploy(DeploySubOptions opts)
{
return 0;
}
<summary>
Display the unique name for this agent.
</summary>
private static int ShowAgentName(NameSubOptions opts)
{
string name;
name = opts.Random ? AgentName.GetRandomName() : AgentName.GetUniqueAgentName();
Console.WriteLine();
Console.WriteLine(name);
Console.WriteLine();
return 0;
}
}
}
|
<section ng-controller="DashboardController" ng-init="createdCourseList()">
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<div class="chat-room-head">
<h3> Professor Dashboard</h3>
</div>
<!-- <div class="page-header centered">
<h1> Professor Dashboard</h1>
</div>
<!-- <div class="room-desk">
<p class="pull-left lead">My Course (active course)</p>
<a class="pull-right btn btn-lg btn-theme02" href="../courses/create">+ create course</a>
</div>
<div class="row">
<div class="col-lg-6" >
<p class="lead text-center">
My Course (active course)
</p>
<div class="row list-group">
<div class="col-lg-12 col-md-12 col-sm-12 mb" ng-repeat="course in courses | filter:{active: true}">
<div class="pn" >
<a ng-controller="CoursesController" ng-init="<API key>(); getNumQuiz();" ui-sref="courses.view({courseId: course._id})" class="list-group-item">
{{course.semester}} {{course.year}}
<h4> {{course.number}} {{course.name}} </h4>
<button id = "edit" class="btn btn-default btn-sm pull-right" type="submit" ng-controller="<API key>" data-ng-click="$event.preventDefault(); $event.stopPropagation(); modalUpdate('lg', course)" > Edit </button>
Number of students: {{course.enrolledStudents.length}}
</br>
Number of quizzes: {{numQuizzesInCourse[course._id]}}
</a>
</div>
<!
<div>
Popover (working) ->
<div ng-model="name" mydirective=""></div>
</div>
<div>
Popover uib (notworking- uib-popover-html) ->
<div ng-model="name" mydirectiveuib=""></div>
</div>
</div>
<!-- <button uib-popover="I appeared on mouse enter!" popover-trigger="mouseenter" popover-placement="right" type="button" class="btn btn-default">Mouseenter</button> -->
</div>
</div>
<div class="col-lg-6 text-center" >
<a class="btn btn-lg btn-theme02 " id="submit" href="../courses/create">+ create course</a>
</div>
</div>
<div class="row" style="margin-bottom: 30px;">
<div class="col-md-12">
<button type="button" class="btn btn-default" ng-click="isCollapsed = !isCollapsed">List all deactive courses</button>
<hr>
<div collapse="isCollapsed">
<!-- uib-collapse only works with bootstrap version 0.14.X -->
<div class="list-group">
<div class="col-lg-12 col-md-12 col-sm-12 mb" ng-repeat="course in courses | filter:{active: false}">
<div class="pn" >
<a id="course" ng-controller="CoursesController" ng-init="<API key>(course._id); getNumQuiz(course._id);" ui-sref="courses.view({courseId: course._id})" class="list-group-item">
{{course.semester}} {{course.year}}
<h4> {{course.number}} {{course.name}} </h4>
<button id = "edit" class="btn btn-default btn-sm pull-right" type="submit" ng-controller="<API key>" data-ng-click="$event.preventDefault(); $event.stopPropagation(); modalUpdate('lg', course)" > Edit </button>
Number of students: {{numStudentInCourse[course._id]}}
</br>
Number of quizzes: {{numQuizzesInCourse[course._id]}}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- col-lg-12-->
</div><!-- /row -->
</section>
|
# Elevator of the Americas
Welcome! This is a small project that describes an elevator in code - including dispatching and interacting with the elevator.
Desired requirements:
* The elevator bank must have at least 3 elevators
* The elevator bank must have a way to have elevators dispatched to certain floors
* The elevators must follow rules as to which one is dispatched to which floor.
* When we instantiate an elevator bank, let's make sure the elevators are on random floors so we have a realistic experience.
# Example
ruby
bank = ElevatorOfAmericas::ElevatorBank.new
bank.dispatch_to(3, :down) # => Figures out which elevator can be dispatched to the elevator and sends it there for a certain direction
bank.elevators # => Returns all elevators and where they are and perhaps state (idle, moving_up, moving_down)
# What to do
The spec files are mostly empty or missing, we'd like to fill them out to ensure that we have a good mix of tests of different types: unit, integration, acceptance, etc. The goal is not only to write some tests, but also to have a good conversation about what good testing looks like: what's the appropriate amount and why?
Although there are no time limits, we don't want to take up too much of your time, a few hours should be sufficient. Focus on quality!
# Authors
Robert Ross, Stafford Brooke, Phillip Baker
|
import { task } from 'gulp';
import { join } from 'path';
import { config } from '../utils/config';
import { sequenceTask } from '../utils/sequence-task';
import { readFileSync, writeFileSync } from 'fs';
const serve = require('browser-sync');
const webpack = require('webpack');
const <API key> = require('<API key>');
const <API key> = require('<API key>');
const proxyMiddleware = require('<API key>');
const helper = require('../../../config/helper');
const interceptor = require('../../../config/interceptor');
const devConfigPath = join(config.webpackConfigPath, 'webpack.dev');
const prodConfigPath = join(config.webpackConfigPath, 'webpack.prod');
task('serve', sequenceTask('clean', 'docs', ':serve'));
task(':serve', () => {
const devConfig = require(devConfigPath);
const appEntry = devConfig.entry.app;
devConfig.entry.app = [
'<API key>/client?noInfo=true&reload=true',
appEntry
];
const proxyConfig = helper.getProxyConfig();
let target = proxyConfig.host;
if (proxyConfig.port) {
target = target += ':' + proxyConfig.port + '/';
}
if (proxyConfig.path) {
target = target + proxyConfig.path;
}
const compiler = webpack(devConfig);
serve({
port: process.env.PORT || 9009,
open: true,
server: { baseDir: config.appPath },
middleware: [
helper.isProxy()
? proxyMiddleware(proxyConfig.prefix, { target })
: interceptor,
<API key>(compiler, {
stats: {
chunks: false,
modules: false
},
publicPath: devConfig.output.publicPath
}),
<API key>(compiler)
]
});
// serve.watch(root + '/mock*.js').on('change', serve.reload);
// serve.watch(root + '/index.html').on('change', serve.reload);
});
task('build:demo', sequenceTask('docs', 'build:demo:webpack', 'build:replace:basehref'));
task('build:demo:webpack', (cb?: Function) => {
let buildConfig = require(prodConfigPath);
if (helper.isDev()) {
buildConfig = require(devConfigPath);
}
webpack(buildConfig, (err: any, stats: any) => {
if (err) {
console.log('webpack', err);
}
console.log('[webpack]', stats.toString({
chunks: false,
errorDetails: true
}));
if (cb) {
cb();
}
});
});
task('build:replace:basehref', () => {
const docsIndex = join(config.appPath, '../docs/index.html');
let indexContent = readFileSync(docsIndex, 'utf-8');
indexContent = indexContent.replace('base href="/"', 'base href="/measure/"');
writeFileSync(docsIndex, indexContent, 'utf-8');
});
|
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }
.done-true {
text-decoration: line-through;
color: #ddd;
}
.form-control[disabled], .form-control[readonly], .fieldset[disabled], .form-control {
cursor: pointer;
background-color: white;
}
|
// TODO: write a test that ensures that Quagga.decodeSingle returns a Promise when it should
// TODO: write a test that tests the multiple: true decoding option, allowing for multiple barcodes in
// a single image to be returned.
// TODO: write a test that allows for locate: false and locator configs to be tested.
import Quagga from '../../src/quagga';
import { <API key> } from '../../type-definitions/quagga';
import { expect } from 'chai';
import <API key> from '../../src/reader/code_128_reader';
// also see https://github.com/mochajs/mocha/issues/1480#<API key>
if (typeof it.allowFail === 'undefined') {
it.allowFail = (title: string, callback: Function) => {
it(title, function() {
return Promise.resolve().then(() => {
return callback.apply(this, arguments);
}).catch((err) => {
console.trace('* error during test', err);
this.skip();
});
});
};
}
function runDecoderTest(name: string, config: <API key>, testSet: Array<{ name: string, result: string, format: string }>) {
describe(`Decoder ${name}`, () => {
testSet.forEach((sample) => {
it.allowFail(`decodes ${sample.name}`, async function() {
this.timeout(20000); // need to set a long timeout because laptops sometimes lag like hell in tests when they go low power
const thisConfig = {
config,
src: `${typeof window !== 'undefined' ? '/' : ''}test/fixtures/${name}/${sample.name}`,
};
const result = await Quagga.decodeSingle(thisConfig);
// // console.warn(`* Expect result ${JSON.stringify(result)} to be an object`);
expect(result).to.be.an('Object');
expect(result.codeResult).to.be.an('Object');
expect(result.codeResult.code).to.equal(sample.result);
expect(result.codeResult.format).to.equal(sample.format);
expect(Quagga.canvas).to.be.an('Object');
expect(Quagga.canvas.dom).to.be.an('Object');
expect(Quagga.canvas.ctx).to.be.an('Object');
});
});
});
}
function generateConfig(configOverride: <API key> = {}) {
const config: <API key> = {
inputStream: {
size: 640,
configOverride.inputStream,
},
locator: {
patchSize: 'medium',
halfSample: true,
configOverride.locator,
},
numOfWorkers: 0,
decoder: {
readers: ['ean_reader'],
configOverride.decoder,
},
locate: configOverride.locate,
src: null,
};
return config;
}
describe('End-To-End Decoder Tests with Quagga.decodeSingle', () => {
runDecoderTest('ean', generateConfig(), [
{ 'name': 'image-001.jpg', 'result': '3574660239843', format: 'ean_13' },
{ 'name': 'image-002.jpg', 'result': '8032754490297', format: 'ean_13' },
{ 'name': 'image-004.jpg', 'result': '9002233139084', format: 'ean_13' },
{ 'name': 'image-003.jpg', 'result': '4006209700068', format: 'ean_13' },
{ 'name': 'image-005.jpg', 'result': '8004030044005', format: 'ean_13' },
{ 'name': 'image-006.jpg', 'result': '4003626011159', format: 'ean_13' },
{ 'name': 'image-007.jpg', 'result': '2111220009686', format: 'ean_13' },
{ 'name': 'image-008.jpg', 'result': '9000275609022', format: 'ean_13' },
{ 'name': 'image-009.jpg', 'result': '9004593978587', format: 'ean_13' },
{ 'name': 'image-010.jpg', 'result': '9002244845578', format: 'ean_13' },
]);
// TODO: note that the FORMAT reported from a supplement equals the parent. What exactly is the
// difference between a supplement and a separate reader? is it just semantic?
runDecoderTest('ean_extended', generateConfig({
inputStream: {
size: 800,
singleChannel: false,
},
decoder: {
readers: [{
format: 'ean_reader',
config: {
supplements: [
'ean_5_reader',
'ean_2_reader',
],
},
}],
},
}), [
{ 'name': 'image-001.jpg', 'result': '900437801102701', format: 'ean_13' },
{ 'name': 'image-002.jpg', 'result': '419871600890101', format: 'ean_13' },
{ 'name': 'image-003.jpg', 'result': '419871600890101', format: 'ean_13' },
{ 'name': 'image-004.jpg', 'result': '978054466825652495', format: 'ean_13' },
{ 'name': 'image-005.jpg', 'result': '419664190890712', format: 'ean_13' },
{ 'name': 'image-006.jpg', 'result': '412056690699101', format: 'ean_13' },
{ 'name': 'image-007.jpg', 'result': '419204531290601', format: 'ean_13' },
{ 'name': 'image-008.jpg', 'result': '419871600890101', format: 'ean_13' },
{ 'name': 'image-009.jpg', 'result': '978054466825652495', format: 'ean_13' },
{ 'name': 'image-010.jpg', 'result': '900437801102701', format: 'ean_13' },
]);
runDecoderTest('code_128', {
inputStream: {
size: 800,
singleChannel: false,
}
}, [
{ 'name': 'image-001.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-002.jpg', 'result': 'FANAVF14617104', format: 'code_128' },
{ 'name': 'image-003.jpg', 'result': '673023', format: 'code_128' },
{ 'name': 'image-004.jpg', 'result': '010210150301625334', format: 'code_128' },
{ 'name': 'image-005.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-006.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-007.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-008.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-009.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-010.jpg', 'result': '673023', format: 'code_128' },
// TODO: need to implement having different inputStream parameters to be able to
// read this one -- it works only with inputStream size set to 1600 presently, but
// other samples break at that high a size.
// { name: 'image-011.png', result: '<API key>' },
]);
runDecoderTest(
'code_39',
generateConfig({
decoder: {
readers: ['code_39_reader'],
}
}), [
{ 'name': 'image-001.jpg', 'result': 'B3% $DAD$', format: 'code_39' },
{ 'name': 'image-003.jpg', 'result': 'CODE39', format: 'code_39' },
{ 'name': 'image-004.jpg', 'result': 'QUAGGAJS', format: 'code_39' },
{ 'name': 'image-005.jpg', 'result': 'CODE39', format: 'code_39' },
{ 'name': 'image-006.jpg', 'result': '2/4-8/16-32', format: 'code_39' },
{ 'name': 'image-007.jpg', 'result': '2/4-8/16-32', format: 'code_39' },
{ 'name': 'image-008.jpg', 'result': 'CODE39', format: 'code_39' },
{ 'name': 'image-009.jpg', 'result': '2/4-8/16-32', format: 'code_39' },
// TODO: image 10 in this set appears to be dependent upon #191
{ 'name': 'image-010.jpg', 'result': 'CODE39', format: 'code_39' },
{ 'name': 'image-011.jpg', 'result': '4', format: 'code_39' },
]);
runDecoderTest(
'code_39_vin',
generateConfig({
inputStream: {
size: 1280,
sequence: false,
},
locator: {
halfSample: false,
},
decoder: {
readers: ['code_39_vin_reader'],
},
}),
[
{ name: 'image-001.jpg', result: '2HGFG1B86BH501831', format: 'code_39_vin' },
{ name: 'image-002.jpg', result: 'JTDKB20U887718156', format: 'code_39_vin' },
// image-003 only works on the second run of a decode of it and only in browser?! wtf?
{ name: 'image-003.jpg', result: 'JM1BK32G071773697', format: 'code_39_vin' },
{ name: 'image-004.jpg', result: 'WDBTK75G94T028954', format: 'code_39_vin' },
{ name: 'image-005.jpg', result: '3VW2K7AJ9EM381173', format: 'code_39_vin' },
{ name: 'image-006.jpg', result: 'JM1BL1H4XA1335663', format: 'code_39_vin' },
{ name: 'image-007.jpg', result: 'JHMGE8H42AS021233', format: 'code_39_vin' },
{ name: 'image-008.jpg', result: 'WMEEJ3BA4DK652562', format: 'code_39_vin' },
{ name: 'image-009.jpg', result: 'WMEEJ3BA4DK652562', format: 'code_39_vin' }, //yes, 8 and 9 are same barcodes, different images slightly
{ name: 'image-010.jpg', result: 'WMEEJ3BA4DK652562', format: 'code_39_vin' }, // 10 also
{ name: 'image-011.jpg', result: '5FNRL38488B411196', format: 'code_39_vin' },
]
);
runDecoderTest(
'code_32',
generateConfig({
inputStream: {
size: 1280,
},
locator: {
patchSize: 'large',
halfSample: true,
},
numOfWorkers: 4,
decoder: {
readers: ['code_32_reader']
}
}),
[
{ name: 'image-1.jpg', result: 'A123456788', format: 'code_32_reader' },
{ name: 'image-2.jpg', result: 'A931028462', format: 'code_32_reader' },
{ name: 'image-3.jpg', result: 'A931028462', format: 'code_32_reader' },
{ name: 'image-4.jpg', result: 'A935776043', format: 'code_32_reader' },
{ name: 'image-5.jpg', result: 'A935776043', format: 'code_32_reader' },
{ name: 'image-6.jpg', result: 'A012745182', format: 'code_32_reader' },
{ name: 'image-7.jpg', result: 'A029651039', format: 'code_32_reader' },
{ name: 'image-8.jpg', result: 'A029651039', format: 'code_32_reader' },
{ name: 'image-9.jpg', result: 'A015896018', format: 'code_32_reader' },
{ name: 'image-10.jpg', result: 'A015896018', format: 'code_32_reader' },
]
);
runDecoderTest(
'ean_8',
generateConfig({ decoder: { readers: ['ean_8_reader'] } }),
[
{ 'name': 'image-001.jpg', 'result': '42191605', format: 'ean_8' },
{ 'name': 'image-002.jpg', 'result': '42191605', format: 'ean_8' },
{ 'name': 'image-003.jpg', 'result': '90311208', format: 'ean_8' },
// TODO: image-004 fails in browser, this is new to running in cypress vs PhantomJS. It does not fail in node. Likely similar problem to #190
{ 'name': 'image-004.jpg', 'result': '24057257', format: 'ean_8' },
// {"name": "image-005.jpg", "result": "90162602"},
{ 'name': 'image-006.jpg', 'result': '24036153', format: 'ean_8' },
// {"name": "image-007.jpg", "result": "42176817"},
{ 'name': 'image-008.jpg', 'result': '42191605', format: 'ean_8' },
{ 'name': 'image-009.jpg', 'result': '42242215', format: 'ean_8' },
{ 'name': 'image-010.jpg', 'result': '42184799', format: 'ean_8' },
]
);
runDecoderTest(
'upc',
generateConfig({ decoder: { readers: ['upc_reader'] } }),
[
{ 'name': 'image-001.jpg', 'result': '882428015268', format: 'upc_a' },
{ 'name': 'image-002.jpg', 'result': '882428015268', format: 'upc_a' },
{ 'name': 'image-003.jpg', 'result': '882428015084', format: 'upc_a' },
{ 'name': 'image-004.jpg', 'result': '882428015343', format: 'upc_a' },
{ 'name': 'image-005.jpg', 'result': '882428015343', format: 'upc_a' },
{ 'name': 'image-006.jpg', 'result': '882428015046', format: 'upc_a' },
{ 'name': 'image-007.jpg', 'result': '882428015084', format: 'upc_a' },
{ 'name': 'image-008.jpg', 'result': '882428015046', format: 'upc_a' },
{ 'name': 'image-009.jpg', 'result': '039047013551', format: 'upc_a' },
{ 'name': 'image-010.jpg', 'result': '039047013551', format: 'upc_a' },
]
);
runDecoderTest(
'upc_e',
generateConfig({ decoder: { readers: ['upc_e_reader'] } }),
[
{ 'name': 'image-001.jpg', 'result': '04965802', format: 'upc_e' },
{ 'name': 'image-002.jpg', 'result': '04965802', format: 'upc_e' },
{ 'name': 'image-003.jpg', 'result': '03897425', format: 'upc_e' },
{ 'name': 'image-004.jpg', 'result': '05096893', format: 'upc_e' },
{ 'name': 'image-005.jpg', 'result': '05096893', format: 'upc_e' },
{ 'name': 'image-006.jpg', 'result': '05096893', format: 'upc_e' },
{ 'name': 'image-007.jpg', 'result': '03897425', format: 'upc_e' },
{ 'name': 'image-008.jpg', 'result': '01264904', format: 'upc_e' },
{ 'name': 'image-009.jpg', 'result': '01264904', format: 'upc_e' },
{ 'name': 'image-010.jpg', 'result': '01264904', format: 'upc_e' },
]
);
runDecoderTest(
'codabar',
generateConfig({ decoder: { readers: ['codabar_reader'] } }),
[
{ 'name': 'image-001.jpg', 'result': 'A10/53+17-70D', format: 'codabar' },
{ 'name': 'image-002.jpg', 'result': 'B546745735B', format: 'codabar' },
{ 'name': 'image-003.jpg', 'result': 'C$399.95A', format: 'codabar' },
{ 'name': 'image-004.jpg', 'result': 'B546745735B', format: 'codabar' },
{ 'name': 'image-005.jpg', 'result': 'C$399.95A', format: 'codabar' },
{ 'name': 'image-006.jpg', 'result': 'B546745735B', format: 'codabar' },
{ 'name': 'image-007.jpg', 'result': 'C$399.95A', format: 'codabar' },
{ 'name': 'image-008.jpg', 'result': 'A16:9/4:3/3:2D', format: 'codabar' },
{ 'name': 'image-009.jpg', 'result': 'C$399.95A', format: 'codabar' },
{ 'name': 'image-010.jpg', 'result': 'C$399.95A', format: 'codabar' },
]
);
runDecoderTest(
'i2of5',
generateConfig({
inputStream: { size: 800, singleChannel: false },
locator: {
patchSize: 'small',
halfSample: false,
},
decoder: {
readers: ['i2of5_reader'],
},
}),
[
{ 'name': 'image-001.jpg', 'result': '2167361334', format: 'i2of5' },
{ 'name': 'image-002.jpg', 'result': '2167361334', format: 'i2of5' },
{ 'name': 'image-003.jpg', 'result': '2167361334', format: 'i2of5' },
{ 'name': 'image-004.jpg', 'result': '2167361334', format: 'i2of5' },
{ 'name': 'image-005.jpg', 'result': '2167361334', format: 'i2of5' },
]
);
runDecoderTest(
'2of5',
generateConfig({
inputStream: { size: 800, singleChannel: false },
decoder: {
readers: ['2of5_reader'],
},
}),
[
{ 'name': 'image-001.jpg', 'result': '9577149002', format: '2of5' },
{ 'name': 'image-002.jpg', 'result': '9577149002', format: '2of5' },
{ 'name': 'image-003.jpg', 'result': '5776158811', format: '2of5' },
{ 'name': 'image-004.jpg', 'result': '0463381455', format: '2of5' },
{ 'name': 'image-005.jpg', 'result': '3261594101', format: '2of5' },
{ 'name': 'image-006.jpg', 'result': '3261594101', format: '2of5' },
{ 'name': 'image-007.jpg', 'result': '3261594101', format: '2of5' },
{ 'name': 'image-008.jpg', 'result': '6730705801', format: '2of5' },
{ 'name': 'image-009.jpg', 'result': '5776158811', format: '2of5' },
{ 'name': 'image-010.jpg', 'result': '5776158811', format: '2of5' },
]
);
runDecoderTest(
'code_93',
generateConfig({
inputStream: { size: 800, singleChannel: false },
locator: {
patchSize: 'large',
halfSample: true,
},
decoder: {
readers: ['code_93_reader'],
},
}),
[
{ 'name': 'image-001.jpg', 'result': 'WIWV8ETQZ1', format: 'code_93' },
{ 'name': 'image-002.jpg', 'result': 'EH3C-%GU23RK3', format: 'code_93' },
{ 'name': 'image-003.jpg', 'result': 'O308SIHQOXN5SA/PJ', format: 'code_93' },
{ 'name': 'image-004.jpg', 'result': 'DG7Q$TV8JQ/EN', format: 'code_93' },
{ 'name': 'image-005.jpg', 'result': 'DG7Q$TV8JQ/EN', format: 'code_93' },
{ 'name': 'image-006.jpg', 'result': 'O308SIHQOXN5SA/PJ', format: 'code_93' },
{ 'name': 'image-007.jpg', 'result': 'VOFD1DB5A.1F6QU', format: 'code_93' },
{ 'name': 'image-008.jpg', 'result': 'WIWV8ETQZ1', format: 'code_93' },
{ 'name': 'image-009.jpg', 'result': '4SO64P4X8 U4YUU1T-', format: 'code_93' },
{ 'name': 'image-010.jpg', 'result': '4SO64P4X8 U4YUU1T-', format: 'code_93' },
]
);
});
describe('Parallel decoding works', () => {
it('decodeSingle running in parallel', async () => {
// TODO: we should throw in some other formats here too.
const testSet = [
{ 'name': 'image-001.jpg', 'result': '3574660239843', format: 'ean_13' },
{ 'name': 'image-002.jpg', 'result': '8032754490297', format: 'ean_13' },
{ 'name': 'image-004.jpg', 'result': '9002233139084', format: 'ean_13' },
{ 'name': 'image-003.jpg', 'result': '4006209700068', format: 'ean_13' },
{ 'name': 'image-005.jpg', 'result': '8004030044005', format: 'ean_13' },
{ 'name': 'image-006.jpg', 'result': '4003626011159', format: 'ean_13' },
{ 'name': 'image-007.jpg', 'result': '2111220009686', format: 'ean_13' },
{ 'name': 'image-008.jpg', 'result': '9000275609022', format: 'ean_13' },
{ 'name': 'image-009.jpg', 'result': '9004593978587', format: 'ean_13' },
{ 'name': 'image-010.jpg', 'result': '9002244845578', format: 'ean_13' },
];
const promises: Array<Promise<any>> = [];
testSet.forEach(sample => {
const config = generateConfig();
config.src = `${typeof window !== 'undefined' ? '/' : ''}test/fixtures/ean/${sample.name}`;
promises.push(Quagga.decodeSingle(config));
});
const results = await Promise.all(promises).catch((err) => { console.warn('* error decoding simultaneously', err); throw(err); });
const testResults = testSet.map(x => x.result);
results.forEach((r, index) => {
expect(r).to.be.an('object');
expect(r.codeResult).to.be.an('object');
expect(r.codeResult.code).to.equal(testResults[index]);
});
});
});
describe('External Reader Test, using stock code_128 reader', () => {
describe('works', () => {
before(() => {
Quagga.registerReader('<API key>', <API key>);
});
runDecoderTest(
'code_128',
generateConfig({
inputStream: {
size: 800,
singleChannel: false,
},
decoder: {
readers: ['<API key>'],
},
}),
[
{ 'name': 'image-001.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-002.jpg', 'result': 'FANAVF14617104', format: 'code_128' },
{ 'name': 'image-003.jpg', 'result': '673023', format: 'code_128' },
{ 'name': 'image-004.jpg', 'result': '010210150301625334', format: 'code_128' },
{ 'name': 'image-005.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-006.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-007.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-008.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-009.jpg', 'result': '<API key>', format: 'code_128' },
{ 'name': 'image-010.jpg', 'result': '673023', format: 'code_128' },
// TODO: need to implement having different inputStream parameters to be able to
// read this one -- it works only with inputStream size set to 1600 presently, but
// other samples break at that high a size.
// { name: 'image-011.png', result: '<API key>' },
]
);
});
});
|
import copy
import pytest
from peek.line import <API key>, Line, <API key>
# 127.0.0.1 - - [01/Jan/1970:00:00:01 +0000] "GET / HTTP/1.1" 200 193 "-" "Python"
test_line_contents = {
'ip_address': '127.0.0.1',
'timestamp': '[01/Jan/1970:00:00:01 +0000]',
'verb': 'GET',
'path': '/',
'status': '200',
'size': '193',
'referrer': '-',
'user_agent': 'Python'
}
def <API key>(updates=None):
test_contents = copy.deepcopy(test_line_contents)
if updates is not None:
test_contents.update(updates)
return test_contents
test_line = Line(line_contents=test_line_contents)
class <API key>:
@pytest.mark.parametrize('expected,actual', [
('127.0.0.1', test_line.ip_address),
(1, test_line.timestamp),
('GET', test_line.verb),
('/', test_line.path),
(200, test_line.status),
(193, test_line.byte_count),
('-', test_line.referrer),
('Python', test_line.user_agent)
])
def test_retrieval(self, expected, actual):
assert expected == actual
class TestLineExceptions:
def <API key>(self):
with pytest.raises(<API key>):
line = Line(line_contents=<API key>({'ip_address': 'foobar'}))
def <API key>(self):
with pytest.raises(<API key>):
Line(line_contents=<API key>({'status': 'foobar'}))
|
var noble = require('noble'); //noble library
var util = require('util'); // utilities library
// make an instance of the eventEmitter library:
var EventEmitter = require('events').EventEmitter;
// constructor function, so you can call new BleUart():
var BleUart = function (uuid) {
var service = '<API key>'; // the service you want
var receive, transmit; // transmit and receive BLE characteristics
var self = this; // reference to the instance of BleUart
self.connected = false; // whether the remote peripheral's connected
self.peripheral; // the remote peripheral as an object
EventEmitter.call(self); // make a copy of EventEmitter so you can emit events
if (uuid) { // if the constructor was called with a different UUID,
service = uuid; // then set that as the service to search for
}
// The scanning function:
function scan(state) {
if (state === 'poweredOn') { // if the radio's on, scan for this service
noble.startScanning([service], false);
}
// emit a 'scanning' event:
self.emit('scanning', state);
}
// the connect function:
self.connect = function(peripheral) {
self.peripheral = peripheral;
peripheral.connect(); // start connection attempts
// the connect function. This is local to the discovery function
// because it needs to know the peripheral to discover services:
function discover() {
// once you know you have a peripheral with the desired
// service, you can stop scanning for others:
noble.stopScanning();
// get the service you want on this peripheral:
peripheral.discoverServices([service],explore);
}
// called only when the peripheral has the service you're looking for:
peripheral.on('connect', discover);
// when a peripheral disconnects, run disconnect:
peripheral.on('disconnect', self.disconnect);
}
// the services and characteristics exploration function:
// once you're connected, this gets run:
function explore(error, services) {
// this gets run by the for-loop at the end of the
// explore function, below:
function getCharacteristics(error, characteristics) {
for (var c in characteristics) { // loop over the characteristics
if (characteristics[c].notify) { // if one has the notify property
receive = characteristics[c]; // then it's the receive characteristic
receive.notify(true); // turn on notifications
// whenever a notify event happens, get the result.
// this handles repeated notifications:
receive.on('data', function(data, notification) {
if (notification) { // if you got a notification
self.emit('data', String(data)); // emit a data event
}
});
}
if (characteristics[c].write) { // if a characteristic has a write property
transmit = characteristics[c]; // then it's the transmit characteristic
}
} // end of getCharacteristics()
// if you've got a valid transmit and receive characteristic,
// then you're truly connected. Emit a connected event:
if (transmit && receive) {
self.connected = true;
self.emit('connected', self.connected);
}
}
// iterate over the services discovered. If one matches
// the UART service, look for its characteristics:
for (var s in services) {
if (services[s].uuid === service) {
services[s].<API key>([], getCharacteristics);
return;
}
}
}
// the BLE write function. If there's a valid transmit characteristic,
then write data out to it as a Buffer:
self.write = function(data) {
if (transmit) {
transmit.write(new Buffer(data));
}
}
// the BLE disconnect function:
self.disconnect = function() {
self.connected = false;
}
// when the radio turns on, start scanning:
noble.on('stateChange', scan);
// if you discover a peripheral with the appropriate service, connect:
noble.on('discover', self.connect);
}
util.inherits(BleUart, EventEmitter); // BleUart inherits all the EventEmitter properties
module.exports = BleUart; // export BleUart
|
var db = require('mongoose');
var Log = require('log'), log = new Log('info');
var clienttracking = require('./clienttracking.js');
var mapreduce = require('./mapreduce.js');
var io = null;
exports.server = require('./adnoceserver.js');
exports.setDatabase = function(<API key>, callback) {
var port = <API key>.port || '27017';
var opts = <API key>.options || {};
db.connect('mongodb://'+<API key>.host+':'+port+'/'+<API key>.name, opts, function(){
log.info('adnoce core - creating database connection to "%s" on host "%s:%s", status: %s', <API key>.name, <API key>.host, port, db.connection.readyState);
if (db.connection.readyState != 1) {
log.error('adnoce core - database connection not ready yet');
}
if (typeof(callback) === 'function') callback(db);
});
}
exports.setServerSocketIO = function(io_, path_) {
var path = path_ || '/adnoce';
io = io_.of(path).authorization(function (handshakeData, callback) {
// @TODO: auth (e.g. ip-based on handshakeData.address)
callback(null, true);
}).on('connection', socketConnection);
clienttracking.setSocketIO(io);
}
var socketConnection = function(socket_) {
log.info('adnoce core - server socket client "%s" connected to endpoint "%s"', socket_.handshake.address.address, socket_.flags.endpoint);
}
exports.<API key> = function(req, res) {
res.set({'Content-Type': 'application/javascript', 'Cache-Control': 'no-cache'});
res.send(200, clienttracking.<API key>(req));
var additionalData = req.adnoceData || {};
additionalData.adnocetype = 1;
clienttracking.processRequest(req, additionalData);
};
exports.<API key> = function(req, res) {
res.set({'Content-Type': 'text/plain', 'Cache-Control': 'no-cache'});
if (!req.param('p')) res.send(400, '0'); else {
res.send(200, '1');
var additionalData = req.adnoceData || {};
if (req.param('t')) additionalData.adnocetype = req.param('t');
clienttracking.updateSessionData(req.sessionID, req.param('p'), additionalData);
}
};
exports.addEvent = function(type, name, sessionId, additionalData) {
clienttracking.addEvent(type, name, sessionId, additionalData);
};
exports.MapReduce = mapreduce.MapReduce;
var pushServerHealth = function(serverOSObject) {
io.emit('health', {uptime: serverOSObject.uptime(), load: serverOSObject.loadavg(), memory: {total: serverOSObject.totalmem(), free: serverOSObject.freemem()}});
}
exports.pushServerHealth = pushServerHealth;
|
class <API key>
attr_reader :questions, :question_group_id, :question_group
def initialize(question_group_id)
@questions = Question.where('question_group_id=?', question_group_id)
@counter = 0
@question_group_id = question_group_id
@question_group = QuestionGroup.find(question_group_id)
end
def check_for_new_group(question)
if question.question_group_id != @question_group_id || !defined?(@initial_check)
initialize(question.question_group_id)
@initial_check = true
return true
else
return false
end
end
end
|
import logging
import requests
from django.conf import settings
from django.contrib.sites.models import Site
from django.core.mail import <API key>
from django.template.loader import get_template
from django.utils import timezone
from invitations.models import Invitation
logger = logging.getLogger('email')
sentry = logging.getLogger('sentry')
def send_invite(message):
try:
invite = Invitation.objects.get(
id=message.get('id'),
status__in=[Invitation.PENDING, Invitation.ERROR],
)
except Invitation.DoesNotExist:
sentry.error("Invitation to send not found", exc_info=True, extra={'message': message})
return
invite.status = Invitation.PROCESSING
invite.save()
context = {
'invite': invite,
'domain': Site.objects.get_current().domain,
}
subject = "[ContactOtter] Invitation to join ContactOtter from %s" % (invite.sender)
if invite.book:
subject = "[ContactOtter] Invitation to share %s's contact book" % (invite.sender)
txt = get_template('email/invitation.txt').render(context)
html = get_template('email/invitation.html').render(context)
try:
message = <API key>(
subject=subject,
body=txt,
from_email="ContactOtter <invites@contactotter.com>",
to=[invite.email,],
)
message.attach_alternative(html, "text/html")
message.send()
invite.status = Invitation.SENT
invite.sent = timezone.now()
invite.save()
except:
sentry.exception('Problem sending invite', exc_info=True, extra={'invite_id': invite.id})
invite.status = Invitation.ERROR
invite.save()
|
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Reflection;
using Newtonsoft.Json;
namespace HMS.SP{
<summary>
<para>https://msdn.microsoft.com/en-us/library/office/jj850797.aspx#properties</para>
</summary>
public class ServerSettings : SPBase{
[JsonProperty("__HMSError")]
public HMS.Util.__HMSError __HMSError_ { set; get; }
[JsonProperty("__status")]
public SP.__status __status_ { set; get; }
[JsonProperty("__deferred")]
public SP.__deferred __deferred_ { set; get; }
[JsonProperty("__metadata")]
public SP.__metadata __metadata_ { set; get; }
public Dictionary<string, string> __rest;
// no properties found
<summary>
<para> Endpoints </para>
</summary>
static string[] endpoints = {
};
public ServerSettings(ExpandoObject expObj)
{
try
{
var use_EO = ((dynamic)expObj).entry.content.properties;
HMS.SP.SPUtil.expando2obj(use_EO, this, typeof(ServerSettings));
}
catch (Exception ex)
{
}
}
// used by Newtonsoft.JSON
public ServerSettings()
{
}
public ServerSettings(string json)
{
if( json == String.Empty )
return;
dynamic jobject = Newtonsoft.Json.JsonConvert.DeserializeObject(json);
dynamic refObj = jobject;
if (jobject.d != null)
refObj = jobject.d;
string errInfo = "";
if (refObj.results != null)
{
if (refObj.results.Count > 1)
errInfo = "Result is Collection, only 1. entry displayed.";
refObj = refObj.results[0];
}
List<string> usedFields = new List<string>();
usedFields.Add("__HMSError");
HMS.SP.SPUtil.dyn_ValueSet("__HMSError", refObj, this);
usedFields.Add("__deferred");
this.__deferred_ = new SP.__deferred(HMS.SP.SPUtil.dyn_toString(refObj.__deferred));
usedFields.Add("__metadata");
this.__metadata_ = new SP.__metadata(HMS.SP.SPUtil.dyn_toString(refObj.__metadata));
this.__rest = new Dictionary<string, string>();
var dyn = ((Newtonsoft.Json.Linq.JContainer)refObj).First;
while (dyn != null)
{
string Name = ((Newtonsoft.Json.Linq.JProperty)dyn).Name;
string Value = ((Newtonsoft.Json.Linq.JProperty)dyn).Value.ToString();
if ( !usedFields.Contains( Name ))
this.__rest.Add( Name, Value);
dyn = dyn.Next;
}
if( errInfo != "")
this.__HMSError_.info = errInfo;
}
}
}
|
module BlocVoting.Tally.Resolution where
import qualified Data.ByteString as BS
data Resolution = Resolution {
rCategories :: Int
, rEndTimestamp :: Int
, rName :: BS.ByteString
, rUrl :: BS.ByteString
, rVotesFor :: Integer
, rVotesTotal :: Integer
, rResolved :: Bool
}
deriving (Show, Eq)
updateResolution :: Resolution -> Integer -> Integer -> Resolution
updateResolution (Resolution cats endT name url for total resolved) newForVotes newTotalVotes =
Resolution cats endT name url (for + newForVotes) (total + newTotalVotes) resolved
|
# Erase duplicate entries from history
export HISTCONTROL="erasedups"
# Increase history size
export HISTSIZE="10000"
|
<!DOCTYPE html>
<html lang="en">
<head>
{{ bokeh_css }}
{{ bokeh_js }}
<style>
{% include 'styles.css' %}
</style>
<meta charset="utf-8">
<title>MolExplorer</title>
</head>
<body>
<div>
<h1>Vizard</h1>
{{ plot_div|indent(8) }}
</div>
{{ plot_script|indent(8) }}
</body>
</html>
|
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using parser;
//namespace runic.lexer
// public class Lexer_Bootstrap_Old : Parser_Context
// public Lexer_Bootstrap_Old(Definition definition)
// : base(definition)
// public override object perform_action(string name, Pattern_Source data, Match match)
// if (data.name == null)
// data.name = name;
// var type = match.pattern.name;
// switch (type)
// case "string":
// case "regex":
// data = data.patterns[1];
// data.type = type;
// return data;
// // default:
// // throw new Exception("Invalid parser method: " + name + ".");
// return data;
|
# Instruction Counter
Counting number of instructions by `ptrace` system call
**This repository is for experimental use, so it may contain some dangerous code.
Use this repository at your own risk.**
## Requirement
The code is written assuming only when using GCC on Linux.
Probably it can not be compiled by compilers other than GCC.
Code that assumes x64 architecture is included. In particular, it does not
work on the ARM architecture.
## Usage
Simply typing `make` will generate a library file named `inst_counter.a` and
executable file named `inst_counter.out`.
To count the number of instructions, first call `<API key>`.
Then surround the range of the code you want to measure with
`<API key>` and `<API key>`.
In order to accurately measure, it is desirable to compile the range to be
measured without optimizing it (by using something like
`__attribute__((optimize("0")))`).
If you call `<API key>` just before the measurement,
you can change the string printed when measurement is over.
To execute a program which contains measuring code, execute it as follows:
sh
'inst_counter.out' <program> [<program arguments>...]
## Example
`sample.c` is a sample code for operation confirmation.
Compile and run it as follows:
sh
make
gcc -I./include -o sample sample.c inst_counter.a
./inst_counter.out ./sample
|
// Karma configuration file, see link for more information
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
'karma-jasmine',
'<API key>',
'karma-spec-reporter',
'@angular-devkit/build-angular/plugins/karma',
],
client: {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
reporters: ['spec'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
});
};
|
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using <API key>.DbContext;
namespace <API key>.Migrations
{
[DbContext(typeof(<API key>))]
[Migration("<API key>")]
partial class updateExAddCountry
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
modelBuilder
.HasAnnotation("ProductVersion", "1.1.1")
.HasAnnotation("SqlServer:<API key>", <API key>.IdentityColumn);
modelBuilder.Entity("<API key>.Data.Models.Companies", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("ADR_TSO");
b.Property<string>("ExchangeId");
b.Property<string>("IPOyear");
b.Property<string>("IndustryId");
b.Property<string>("LastSale");
b.Property<string>("MarketCap");
b.Property<string>("Name");
b.Property<string>("RegionId");
b.Property<string>("SectorId");
b.Property<string>("Symbol");
b.Property<string>("Type");
b.HasKey("Id");
b.HasIndex("ExchangeId");
b.HasIndex("IndustryId");
b.HasIndex("RegionId");
b.HasIndex("SectorId");
b.ToTable("Companies");
});
modelBuilder.Entity("<API key>.Data.Models.Country", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("CountryCode");
b.Property<string>("Name");
b.HasKey("Id");
b.ToTable("Country");
});
modelBuilder.Entity("<API key>.Data.Models.Currencies", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Code");
b.Property<string>("Currency");
b.Property<string>("Entity");
b.Property<string>("MinorUnit");
b.Property<int>("NumericCode");
b.HasKey("Id");
b.ToTable("Currencies");
});
modelBuilder.Entity("<API key>.Data.Models.Exchange", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("ClosingTimeLocal");
b.Property<string>("DataProvider");
b.Property<string>("Delay");
b.Property<string>("Name");
b.Property<string>("OpeningTimeLocal");
b.Property<string>("RegionId");
b.Property<string>("StockExchangeId");
b.Property<string>("Suffix");
b.Property<string>("TradingDays");
b.Property<string>("<API key>");
b.HasKey("Id");
b.HasIndex("RegionId");
b.ToTable("Exchange");
});
modelBuilder.Entity("<API key>.Data.Models.FinanceModel", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("<API key>");
b.Property<string>("AnnualizedGain");
b.Property<string>("Ask");
b.Property<string>("AskRealtime");
b.Property<string>("AverageDailyVolume");
b.Property<string>("Bid");
b.Property<string>("BidRealtime");
b.Property<string>("BookValue");
b.Property<string>("Change");
b.Property<string>("<API key>");
b.Property<string>("<API key>");
b.Property<string>("ChangeFromYearHigh");
b.Property<string>("ChangeFromYearLow");
b.Property<string>("<API key>");
b.Property<string>("ChangeRealtime");
b.Property<string>("<API key>");
b.Property<string>("ChangeinPercent");
b.Property<string>("Commission");
b.Property<string>("CompaniesId");
b.Property<string>("CurencyId");
b.Property<string>("CurrenciesId");
b.Property<string>("Currency");
b.Property<string>("Date");
b.Property<string>("DaysHigh");
b.Property<string>("DaysLow");
b.Property<string>("DaysRange");
b.Property<string>("DaysRangeRealtime");
b.Property<string>("DaysValueChange");
b.Property<string>("<API key>");
b.Property<string>("DividendPayDate");
b.Property<string>("DividendShare");
b.Property<string>("DividendYield");
b.Property<string>("EBITDA");
b.Property<string>("<API key>");
b.Property<string>("<API key>");
b.Property<string>("EPSEstimateNextYear");
b.Property<string>("EarningsShare");
b.Property<string>("<API key>");
b.Property<string>("ExDividendDate");
b.Property<string>("<API key>");
b.Property<string>("HighLimit");
b.Property<string>("HoldingsGain");
b.Property<string>("HoldingsGainPercent");
b.Property<string>("<API key>");
b.Property<string>("<API key>");
b.Property<string>("HoldingsValue");
b.Property<string>("<API key>");
b.Property<string>("LastTradeDate");
b.Property<string>("LastTradePriceOnly");
b.Property<string>("<API key>");
b.Property<string>("LastTradeTime");
b.Property<string>("LastTradeWithTime");
b.Property<string>("LowLimit");
b.Property<string>("MarketCapRealtime");
b.Property<string>("<API key>");
b.Property<string>("MoreInfo");
b.Property<string>("Name");
b.Property<string>("Notes");
b.Property<string>("OneyrTargetPrice");
b.Property<string>("Open");
b.Property<string>("OrderBookRealtime");
b.Property<string>("PEGRatio");
b.Property<string>("PERatio");
b.Property<string>("PERatioRealtime");
b.Property<string>("<API key>");
b.Property<string>("PercentChange");
b.Property<string>("<API key>");
b.Property<string>("<API key>");
b.Property<string>("<API key>");
b.Property<string>("PreviousClose");
b.Property<string>("PriceBook");
b.Property<string>("<API key>");
b.Property<string>("<API key>");
b.Property<string>("PricePaid");
b.Property<string>("PriceSales");
b.Property<string>("Rate");
b.Property<string>("SharesOwned");
b.Property<string>("ShortRatio");
b.Property<string>("StockExchange");
b.Property<string>("Symbol");
b.Property<string>("TickerTrend");
b.Property<string>("Time");
b.Property<string>("TradeDate");
b.Property<string>("<API key>");
b.Property<string>("Volume");
b.Property<string>("YearHigh");
b.Property<string>("YearLow");
b.Property<string>("YearRange");
b.HasKey("Id");
b.HasIndex("CompaniesId");
b.HasIndex("CurrenciesId");
b.ToTable("FinanceModel");
});
modelBuilder.Entity("<API key>.Data.Models.Industry", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name");
b.HasKey("Id");
b.ToTable("Industrie");
});
modelBuilder.Entity("<API key>.Data.Models.Region", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name");
b.HasKey("Id");
b.ToTable("Region");
});
modelBuilder.Entity("<API key>.Data.Models.Sector", b =>
{
b.Property<string>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Name");
b.HasKey("Id");
b.ToTable("Sector");
});
modelBuilder.Entity("<API key>.Data.Models.Companies", b =>
{
b.HasOne("<API key>.Data.Models.Exchange", "Exchange")
.WithMany()
.HasForeignKey("ExchangeId");
b.HasOne("<API key>.Data.Models.Industry", "Industry")
.WithMany()
.HasForeignKey("IndustryId");
b.HasOne("<API key>.Data.Models.Region", "Region")
.WithMany()
.HasForeignKey("RegionId");
b.HasOne("<API key>.Data.Models.Sector", "Sector")
.WithMany()
.HasForeignKey("SectorId");
});
modelBuilder.Entity("<API key>.Data.Models.Exchange", b =>
{
b.HasOne("<API key>.Data.Models.Region", "Region")
.WithMany()
.HasForeignKey("RegionId");
});
modelBuilder.Entity("<API key>.Data.Models.FinanceModel", b =>
{
b.HasOne("<API key>.Data.Models.Companies", "Companies")
.WithMany()
.HasForeignKey("CompaniesId");
b.HasOne("<API key>.Data.Models.Currencies", "Currencies")
.WithMany()
.HasForeignKey("CurrenciesId");
});
}
}
}
|
#import "MOBProjection.h"
@interface <API key> : MOBProjection
@end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.