.net45 again
This commit is contained in:
@@ -2,14 +2,22 @@
|
|||||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
|
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
|
||||||
<MonoDevelop.Ide.Workbench ActiveDocument="src/NOCQ/Plugins/Email/ImapInput.cs">
|
<MonoDevelop.Ide.Workbench ActiveDocument="src/NOCQ/Plugins/Email/ImapInput.cs">
|
||||||
<Files>
|
<Files>
|
||||||
<File FileName="src/NOCQ/Plugins/Email/EmailSettings.cs" Line="14" Column="44" />
|
<File FileName="src/NOCQ/Plugins/Email/EmailSettings.cs" Line="15" Column="16" />
|
||||||
<File FileName="src/NOCQ/Plugins/Email/ImapInput.cs" Line="19" Column="7" />
|
<File FileName="src/NOCQ/Plugins/Email/ImapInput.cs" Line="68" Column="31" />
|
||||||
</Files>
|
</Files>
|
||||||
<Pads>
|
<Pads>
|
||||||
<Pad Id="ProjectPad">
|
<Pad Id="ProjectPad">
|
||||||
<State expanded="True">
|
<State expanded="True">
|
||||||
<Node name="NOCQ" expanded="True" selected="True" />
|
<Node name="NOCQ" expanded="True">
|
||||||
<Node name="NOCQ.Application" expanded="True" />
|
<Node name="Extensability" expanded="True" />
|
||||||
|
<Node name="Imports" expanded="True" />
|
||||||
|
<Node name="Plugins" expanded="True">
|
||||||
|
<Node name="Email" expanded="True" />
|
||||||
|
</Node>
|
||||||
|
</Node>
|
||||||
|
<Node name="NOCQ.Application" expanded="True" selected="True">
|
||||||
|
<Node name="References" expanded="True" />
|
||||||
|
</Node>
|
||||||
</State>
|
</State>
|
||||||
</Pad>
|
</Pad>
|
||||||
</Pads>
|
</Pads>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<RootNamespace>NOCQ.Application</RootNamespace>
|
<RootNamespace>NOCQ.Application</RootNamespace>
|
||||||
<AssemblyName>NOCQ.Application</AssemblyName>
|
<AssemblyName>NOCQ.Application</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -36,4 +37,10 @@
|
|||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\NOCQ\NOCQ.csproj">
|
||||||
|
<Project>{83651B7D-B58F-46B8-BFE2-BCC0A6C92C7A}</Project>
|
||||||
|
<Name>NOCQ</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -36,7 +36,7 @@ namespace NOCQ.Plugins.Email
|
|||||||
folderPath = sets.Folder;
|
folderPath = sets.Folder;
|
||||||
|
|
||||||
timer = new Timer (sets.Frequency);
|
timer = new Timer (sets.Frequency);
|
||||||
timer.Elapsed += (sender,args) => Execute (sender, args);
|
timer.Elapsed += Execute;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Execute(object sender, ElapsedEventArgs args)
|
public void Execute(object sender, ElapsedEventArgs args)
|
||||||
@@ -51,8 +51,7 @@ namespace NOCQ.Plugins.Email
|
|||||||
{
|
{
|
||||||
var realMsg = msg.Value;
|
var realMsg = msg.Value;
|
||||||
|
|
||||||
var from = realMsg.From;
|
Console.WriteLine ("FROM:" + realMsg.From);
|
||||||
var body = realMsg.Body;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -60,11 +59,13 @@ namespace NOCQ.Plugins.Email
|
|||||||
|
|
||||||
public void Run()
|
public void Run()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine ("Start");
|
||||||
timer.Start ();
|
timer.Start ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
|
Console.WriteLine ("Stop");
|
||||||
timer.Stop ();
|
timer.Stop ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user