Skip to content
Browse files

.

  • Loading branch information...
1 parent c3c12d0 commit 7c16e345247c6f56ca938bc6b273d0da1d10570c @kg committed
View
223 GoonfleetGateway/GoonfleetGateway.cs
@@ -1,223 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using ShootBlues;
-using Squared.Task;
-using System.Windows.Forms;
-using System.IO;
-using Squared.Task.Data.Mapper;
-using System.Web.Script.Serialization;
-using System.Drawing;
-using Squared.Util.Event;
-using System.Net;
-using System.Linq;
-using System.Xml;
-using System.Xml.Linq;
-
-namespace ShootBlues.Script {
- public class GoonfleetGateway : ManagedScript, IMessageGateway {
- public const double SendInterval = 5.0;
- public const int MessageBodySize = 1024;
-
- ToolStripMenuItem CustomMenu;
- IFuture SendTaskFuture = null;
- BlockingQueue<string> Queue;
-
- public GoonfleetGateway (ScriptName name)
- : base(name) {
-
- AddDependency("Common.script.dll");
- AddDependency("EventNotifications.script.dll");
-
- CustomMenu = new ToolStripMenuItem("Goonfleet Gateway");
- CustomMenu.DropDownItems.Add("Configure", null, ConfigureGoonfleetGateway);
- CustomMenu.DropDownItems.Add("-");
- Program.AddCustomMenu(CustomMenu);
- }
-
- public override void Dispose () {
- base.Dispose();
-
- Program.RemoveCustomMenu(CustomMenu);
- CustomMenu.Dispose();
- }
-
- public void ConfigureGoonfleetGateway (object sender, EventArgs args) {
- Program.Scheduler.Start(
- Program.ShowStatusWindow("Goonfleet Gateway"),
- TaskExecutionPolicy.RunAsBackgroundTask
- );
- }
-
- public override IEnumerator<object> Initialize () {
- StartSendTask();
-
- yield break;
- }
-
- protected override IEnumerator<object> OnPreferencesChanged (EventInfo evt, string[] prefNames) {
- StartSendTask();
-
- return base.OnPreferencesChanged(evt, prefNames);
- }
-
- protected void StartSendTask () {
- if (SendTaskFuture != null) {
- SendTaskFuture.Dispose();
- SendTaskFuture = null;
- }
-
- SendTaskFuture = Program.Scheduler.Start(SendTask(), TaskExecutionPolicy.RunAsBackgroundTask);
- }
-
- protected IEnumerator<object> SendTask () {
- var sleep = new Sleep(SendInterval);
-
- Dictionary<string, object> prefs = new Dictionary<string, object>();
- yield return Preferences.GetAll().Bind(() => prefs);
-
- List<string> allItems = new List<string>();
-
- var oldQueue = Queue;
- Queue = new BlockingQueue<string>();
- if (oldQueue != null)
- Queue.EnqueueMultiple(oldQueue.DequeueAll());
-
- while (true) {
- var nextItem = Queue.Dequeue();
-
- using (nextItem)
- yield return nextItem;
-
- yield return sleep;
-
- allItems.Clear();
- allItems.Add(nextItem.Result);
- allItems.AddRange(Queue.DequeueAll());
-
- yield return new Start(
- Send(prefs, allItems.ToArray()), TaskExecutionPolicy.RunAsBackgroundTask
- );
- }
- }
-
- protected IEnumerator<object> Send (Dictionary<string, object> prefs, string[] messages) {
- var request = (HttpWebRequest)WebRequest.Create(
- (string)prefs["URI"]
- );
- request.Method = "POST";
- request.ContentType = "text/xml";
-
- // Disable UTF8 BOM
- var encoding = new UTF8Encoding(false);
-
- var ms = new MemoryStream();
- var settings = new XmlWriterSettings() {
- Encoding = encoding,
- CloseOutput = false,
- CheckCharacters = true,
- ConformanceLevel = ConformanceLevel.Document,
- Indent = true,
- IndentChars = " ",
- OmitXmlDeclaration = false
- };
-
- using (var xw = XmlWriter.Create(ms, settings)) {
- xw.WriteStartDocument();
- xw.WriteStartElement("messaging");
-
- xw.WriteStartElement("auth");
- xw.WriteElementString("sourceID", (string)prefs["Username"]);
- xw.WriteElementString("sharedKey", (string)prefs["Key"]);
- xw.WriteEndElement();
-
- xw.WriteStartElement("messages");
- int i = 0;
- foreach (var message in messages) {
- xw.WriteStartElement("message");
- xw.WriteElementString("id", i.ToString());
- xw.WriteElementString("target", (string)prefs["Target"]);
-
- if (message.Length > MessageBodySize)
- xw.WriteElementString("text", message.Substring(0, MessageBodySize - 13) + " (truncated)");
- else
- xw.WriteElementString("text", message);
-
- xw.WriteEndElement();
-
- i += 1;
- }
- xw.WriteEndElement();
-
- xw.WriteEndElement();
- }
-
- int count = (int)ms.Length;
- var buf = ms.GetBuffer();
- request.ContentLength = count;
-
- using (var rs = request.GetRequestStream())
- rs.Write(buf, 0, count);
-
- Squared.Task.Web.Response response = null;
- yield return Squared.Task.Web.IssueRequest(request).Bind(
- () => response
- );
-
- try {
- var body = XElement.Parse(response.Body);
- if (body.Element("error") != null) {
- Program.ShowErrorMessage(String.Format(
- "Failed to send Goonfleet notifications: Server returned error code {0} ({1}).",
- int.Parse(body.Element("error").Element("responseCode").Value),
- body.Element("error").Element("response").Value
- ));
- } else {
- var responseCodes = from e in body.Elements("message")
- select new {
- id = int.Parse(e.Element("id").Value),
- responseCode = int.Parse(e.Element("responseCode").Value),
- responseText = e.Element("response").Value
- };
-
- foreach (var rc in responseCodes) {
- if (rc.responseCode >= 400)
- Program.ShowErrorMessage(String.Format(
- "Failed to send Goonfleet notification '{0}': Server returned error code {1} ({2}).",
- messages[rc.id], rc.responseCode, rc.responseText
- ));
- }
- }
- } catch (Exception ex) {
- Program.ShowErrorMessage(String.Format(
- "Failed to parse response from Goonfleet notification server: {0}",
- ex
- ));
- }
- }
-
- public override IEnumerator<object> OnStatusWindowShown (IStatusWindow statusWindow) {
- var panel = new GoonfleetGatewayConfig(this);
- yield return panel.LoadConfiguration();
- statusWindow.ShowConfigurationPanel("Goonfleet Gateway", panel);
- }
-
- public override IEnumerator<object> OnStatusWindowHidden (IStatusWindow statusWindow) {
- statusWindow.HideConfigurationPanel("Goonfleet Gateway");
- yield break;
- }
-
- string[] IMessageGateway.GetEndpoints () {
- return new[] { "Goonfleet" };
- }
-
- bool IMessageGateway.Send (string endpoint, string message) {
- if (endpoint == "Goonfleet") {
- Queue.Enqueue(message);
- return true;
- }
-
- return false;
- }
- }
-}
View
138 GoonfleetGateway/GoonfleetGateway.csproj
@@ -1,138 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D99FE0C3-4E60-40B2-85A7-CB479CDF7FF7}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>ShootBlues.Script</RootNamespace>
- <AssemblyName>GoonfleetGateway.Script</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <UpgradeBackupLocation>
- </UpgradeBackupLocation>
- <OldToolsVersion>3.5</OldToolsVersion>
- <PublishUrl>publish\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Disk</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <ApplicationRevision>0</ApplicationRevision>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <IsWebBootstrapper>false</IsWebBootstrapper>
- <UseApplicationTrust>false</UseApplicationTrust>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- <TargetFrameworkProfile />
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
- <DebugSymbols>true</DebugSymbols>
- <OutputPath>..\..\ShootBlues\bin\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <DebugType>full</DebugType>
- <PlatformTarget>x86</PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
- <OutputPath>..\..\ShootBlues\bin\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <Optimize>true</Optimize>
- <DebugType>pdbonly</DebugType>
- <PlatformTarget>x86</PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Web.Extensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="GoonfleetGateway.cs" />
- <Compile Include="GoonfleetGatewayConfig.cs">
- <SubType>UserControl</SubType>
- </Compile>
- <Compile Include="GoonfleetGatewayConfig.designer.cs">
- <DependentUpon>GoonfleetGatewayConfig.cs</DependentUpon>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\Fracture\Squared\TaskLib\Squared.Task.csproj">
- <Project>{173ABDCA-7278-46FF-A300-D3BF8CCEF181}</Project>
- <Name>Squared.Task</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\..\Fracture\Squared\Util\Squared.Util.csproj">
- <Project>{D7F549CF-E0A6-491C-A78C-ECAB590BB2A7}</Project>
- <Name>Squared.Util</Name>
- </ProjectReference>
- <ProjectReference Include="..\..\ShootBlues\ShootBlues.csproj">
- <Project>{25141725-8333-425F-B5B6-7E096A19608E}</Project>
- <Name>ShootBlues</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\Common\Common.csproj">
- <Project>{390A5CD1-F8DE-491E-BECC-AD16FD237E50}</Project>
- <Name>Common</Name>
- <Private>False</Private>
- </ProjectReference>
- <ProjectReference Include="..\EventNotifications\EventNotifications.csproj">
- <Project>{D854ABA8-763A-4DEB-B938-F93734E7606F}</Project>
- <Name>EventNotifications</Name>
- <Private>False</Private>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="GoonfleetGatewayConfig.resx">
- <DependentUpon>GoonfleetGatewayConfig.cs</DependentUpon>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
View
37 GoonfleetGateway/GoonfleetGatewayConfig.cs
@@ -1,37 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-using Squared.Task;
-using Squared.Task.Data.Mapper;
-using Squared.Util.Bind;
-
-namespace ShootBlues.Script {
- public partial class GoonfleetGatewayConfig : GoonfleetGatewayConfigPanel {
- public GoonfleetGatewayConfig (GoonfleetGateway script)
- : base(script) {
- InitializeComponent();
-
- Prefs = new IBoundMember[] {
- BoundMember.New(() => URI.Text),
- BoundMember.New(() => Username.Text),
- BoundMember.New(() => Key.Text),
- BoundMember.New(() => Target.Text)
- };
- }
- }
-
- public class GoonfleetGatewayConfigPanel : SimpleConfigPanel<GoonfleetGateway> {
- public GoonfleetGatewayConfigPanel ()
- : base(null) {
- }
-
- public GoonfleetGatewayConfigPanel (GoonfleetGateway script)
- : base(script) {
- }
- }
-}
View
147 GoonfleetGateway/GoonfleetGatewayConfig.designer.cs
@@ -1,147 +0,0 @@
-namespace ShootBlues.Script {
- partial class GoonfleetGatewayConfig {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose (bool disposing) {
- if (disposing && (components != null)) {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Component Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent () {
- this.label3 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.URI = new System.Windows.Forms.TextBox();
- this.Target = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.Username = new System.Windows.Forms.TextBox();
- this.Key = new System.Windows.Forms.TextBox();
- this.SuspendLayout();
- //
- // label3
- //
- this.label3.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label3.Location = new System.Drawing.Point(3, 35);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(78, 16);
- this.label3.TabIndex = 10;
- this.label3.Text = "Username:";
- //
- // label5
- //
- this.label5.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label5.Location = new System.Drawing.Point(3, 93);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(78, 16);
- this.label5.TabIndex = 14;
- this.label5.Text = "Target:";
- //
- // URI
- //
- this.URI.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.URI.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.URI.Location = new System.Drawing.Point(87, 3);
- this.URI.Name = "URI";
- this.URI.Size = new System.Drawing.Size(258, 23);
- this.URI.TabIndex = 9;
- //
- // Target
- //
- this.Target.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.Target.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Target.Location = new System.Drawing.Point(87, 90);
- this.Target.Name = "Target";
- this.Target.Size = new System.Drawing.Size(258, 23);
- this.Target.TabIndex = 15;
- //
- // label1
- //
- this.label1.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(3, 6);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(78, 16);
- this.label1.TabIndex = 8;
- this.label1.Text = "URI:";
- //
- // label4
- //
- this.label4.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label4.Location = new System.Drawing.Point(3, 64);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(78, 16);
- this.label4.TabIndex = 12;
- this.label4.Text = "Key:";
- //
- // Username
- //
- this.Username.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.Username.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Username.Location = new System.Drawing.Point(87, 32);
- this.Username.Name = "Username";
- this.Username.Size = new System.Drawing.Size(258, 23);
- this.Username.TabIndex = 11;
- //
- // Key
- //
- this.Key.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.Key.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Key.Location = new System.Drawing.Point(87, 61);
- this.Key.Name = "Key";
- this.Key.PasswordChar = '';
- this.Key.Size = new System.Drawing.Size(258, 23);
- this.Key.TabIndex = 13;
- //
- // GoonfleetGatewayConfig
- //
- this.Controls.Add(this.label3);
- this.Controls.Add(this.label5);
- this.Controls.Add(this.URI);
- this.Controls.Add(this.Target);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.label4);
- this.Controls.Add(this.Username);
- this.Controls.Add(this.Key);
- this.Font = new System.Drawing.Font("MS Reference Sans Serif", 9.75F);
- this.Margin = new System.Windows.Forms.Padding(0);
- this.MinimumSize = new System.Drawing.Size(300, 120);
- this.Name = "GoonfleetGatewayConfig";
- this.Size = new System.Drawing.Size(348, 120);
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TextBox URI;
- private System.Windows.Forms.TextBox Target;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.TextBox Username;
- private System.Windows.Forms.TextBox Key;
-
-
-
- }
-}
View
120 GoonfleetGateway/GoonfleetGatewayConfig.resx
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
View
36 GoonfleetGateway/Properties/AssemblyInfo.cs
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("GoonfleetGateway")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("GoonfleetGateway")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("cb90eec1-71b9-4564-a18f-6b1a6339785a")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]

0 comments on commit 7c16e34

Please sign in to comment.
Something went wrong with that request. Please try again.