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