Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3
- Timestamp:
- 11/23/15 16:14:30 (9 years ago)
- Location:
- branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3/AssemblyExtensions.cs
r13337 r13338 24 24 25 25 namespace HeuristicLab.PluginInfrastructure { 26 public static class Assembly Helpers {26 public static class AssemblyExtensions { 27 27 //Based on the code from http://stackoverflow.com/a/7156425 28 public static string GetCustomAttributeValue<T>( Assembly assembly, string propertyName)28 public static string GetCustomAttributeValue<T>(this Assembly assembly, string propertyName) 29 29 where T : Attribute { 30 30 if (assembly == null || string.IsNullOrEmpty(propertyName)) { … … 49 49 } 50 50 51 public static string GetFileVersion( Assembly assembly) {51 public static string GetFileVersion(this Assembly assembly) { 52 52 return GetCustomAttributeValue<AssemblyFileVersionAttribute>(assembly, "Version"); 53 53 } -
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3/HeuristicLab.PluginInfrastructure-3.3.csproj
r13335 r13338 110 110 <Reference Include="System" /> 111 111 <Reference Include="System.Core" /> 112 <Reference Include="System.Data" />113 <Reference Include="System.Deployment" />114 <Reference Include="System.Drawing" />115 <Reference Include="System.IdentityModel" />116 <Reference Include="System.IO.Compression" />117 <Reference Include="System.Runtime.Serialization" />118 <Reference Include="System.ServiceModel" />119 <Reference Include="System.Windows.Forms" />120 <Reference Include="System.Xml" />121 112 </ItemGroup> 122 113 <ItemGroup> 123 <Compile Include="Advanced\InstallationManagerControl.cs"> 124 <SubType>UserControl</SubType> 125 </Compile> 126 <Compile Include="Advanced\InstallationManagerControl.Designer.cs"> 127 <DependentUpon>InstallationManagerControl.cs</DependentUpon> 128 </Compile> 129 <Compile Include="Advanced\InstallationManagerForm.cs"> 130 <SubType>Form</SubType> 131 </Compile> 132 <Compile Include="Advanced\InstallationManagerForm.Designer.cs"> 133 <DependentUpon>InstallationManagerForm.cs</DependentUpon> 134 </Compile> 135 <Compile Include="Advanced\InstalledPluginsView.cs"> 136 <SubType>UserControl</SubType> 137 </Compile> 138 <Compile Include="Advanced\InstalledPluginsView.Designer.cs"> 139 <DependentUpon>InstalledPluginsView.cs</DependentUpon> 140 </Compile> 141 <Compile Include="Advanced\LicenseView.cs"> 142 <SubType>Form</SubType> 143 </Compile> 144 <Compile Include="Advanced\LicenseView.Designer.cs"> 145 <DependentUpon>LicenseView.cs</DependentUpon> 146 </Compile> 147 <Compile Include="Advanced\MultiSelectListView.cs"> 148 <SubType>Component</SubType> 149 </Compile> 150 <Compile Include="Advanced\MultiSelectListView.Designer.cs"> 151 <DependentUpon>MultiSelectListView.cs</DependentUpon> 152 </Compile> 153 <Compile Include="Advanced\PluginView.cs"> 154 <SubType>Form</SubType> 155 </Compile> 156 <Compile Include="Advanced\PluginView.Designer.cs"> 157 <DependentUpon>PluginView.cs</DependentUpon> 158 </Compile> 159 <Compile Include="Advanced\Util.cs"> 160 <SubType>Code</SubType> 161 </Compile> 162 <Compile Include="AssemblyHelpers.cs" /> 114 <Compile Include="AssemblyExtensions.cs" /> 163 115 <Compile Include="CommandLineArgumentHandling\Arguments\OpenArgument.cs" /> 164 116 <Compile Include="CommandLineArgumentHandling\Arguments\HideStarterArgument.cs" /> … … 175 127 <Compile Include="BaseClasses\ApplicationBase.cs" /> 176 128 <Compile Include="BaseClasses\PluginBase.cs" /> 177 <Compile Include="Resources.Designer.cs">178 <AutoGen>True</AutoGen>179 <DesignTime>True</DesignTime>180 <DependentUpon>Resources.resx</DependentUpon>181 </Compile>182 129 <Compile Include="SandboxApplicationManager.cs" /> 183 130 <Compile Include="DefaultApplicationManager.cs" /> 184 <Compile Include="ErrorHandling\ErrorDialog.cs">185 <SubType>Form</SubType>186 </Compile>187 <Compile Include="ErrorHandling\ErrorDialog.Designer.cs">188 <DependentUpon>ErrorDialog.cs</DependentUpon>189 </Compile>190 <Compile Include="ErrorHandling\ErrorHandling.cs">191 </Compile>192 <Compile Include="ErrorHandling\FrameworkVersionErrorDialog.cs">193 <SubType>Form</SubType>194 </Compile>195 <Compile Include="ErrorHandling\FrameworkVersionErrorDialog.Designer.cs">196 <DependentUpon>FrameworkVersionErrorDialog.cs</DependentUpon>197 </Compile>198 131 <Compile Include="LightweightApplicationManager.cs" /> 199 132 <Compile Include="Interfaces\IPluginFile.cs" /> … … 214 147 <Compile Include="ApplicationManager.cs" /> 215 148 <Compile Include="PluginState.cs" /> 216 <Compile Include="Main.cs" />217 149 <Compile Include="Properties\AssemblyInfo.cs" /> 218 150 <Compile Include="Sandboxing\SandboxManager.cs"> … … 225 157 <None Include="HeuristicLab.snk" /> 226 158 <None Include="Properties\AssemblyInfo.cs.frame" /> 227 <Compile Include="Starter\AboutDialog.cs">228 <SubType>Form</SubType>229 </Compile>230 <Compile Include="Starter\AboutDialog.Designer.cs">231 <DependentUpon>AboutDialog.cs</DependentUpon>232 </Compile>233 <Compile Include="Starter\SplashScreen.cs">234 <SubType>Form</SubType>235 </Compile>236 <Compile Include="Starter\SplashScreen.Designer.cs">237 <DependentUpon>SplashScreen.cs</DependentUpon>238 </Compile>239 <Compile Include="Starter\StarterForm.cs">240 <SubType>Form</SubType>241 </Compile>242 <Compile Include="Starter\StarterForm.Designer.cs">243 <DependentUpon>StarterForm.cs</DependentUpon>244 </Compile>245 </ItemGroup>246 <ItemGroup>247 <None Include="Resources\Error.ico" />248 <Content Include="Resources\HeuristicLab.ico" />249 <None Include="Resources\HeuristicLabLogo.png" />250 <None Include="Resources\HeuristicLabBanner.png" />251 <None Include="Resources\VS2008ImageLibrary_Annotations_Error.png" />252 <Content Include="Resources\VS2008ImageLibrary_Objects_Plugin.png" />253 <EmbeddedResource Include="Resources.resx">254 <Generator>ResXFileCodeGenerator</Generator>255 <SubType>Designer</SubType>256 <LastGenOutput>Resources.Designer.cs</LastGenOutput>257 </EmbeddedResource>258 <None Include="Resources\show_icons.png" />259 <None Include="Resources\show_details.png" />260 <None Include="Resources\VS2008ImageLibrary_Objects_File.png" />261 <None Include="Resources\VS2008ImageLibrary_Objects_Document.png" />262 <None Include="Resources\VS2008ImageLibrary_Objects_Assembly.png" />263 </ItemGroup>264 <ItemGroup>265 <WCFMetadata Include="Service References\" />266 159 </ItemGroup> 267 160 <ItemGroup> -
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3/Manager/ApplicationDescription.cs
r12012 r13338 42 42 /// Gets or sets the version of the application. 43 43 /// </summary> 44 internalVersion Version {44 public Version Version { 45 45 get { return version; } 46 set { version = value; }46 internal set { version = value; } 47 47 } 48 48 private string description; … … 60 60 /// Gets or sets the boolean flag if the application should be automatically restarted. 61 61 /// </summary> 62 internalbool AutoRestart {62 public bool AutoRestart { 63 63 get { return autoRestart; } 64 set { autoRestart = value; }64 internal set { autoRestart = value; } 65 65 } 66 66 … … 69 69 /// Gets or sets the name of the assembly that contains the IApplication type. 70 70 /// </summary> 71 internalstring DeclaringAssemblyName {71 public string DeclaringAssemblyName { 72 72 get { return declaringAssemblyName; } 73 set { declaringAssemblyName = value; }73 internal set { declaringAssemblyName = value; } 74 74 } 75 75 … … 78 78 /// Gets or sets the name of the type that implements the interface IApplication. 79 79 /// </summary> 80 internalstring DeclaringTypeName {80 public string DeclaringTypeName { 81 81 get { return declaringTypeName; } 82 set { declaringTypeName = value; }82 internal set { declaringTypeName = value; } 83 83 } 84 84 -
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginDescription.cs
r12012 r13338 97 97 /// Gets the error message why this plugin has been disabled. 98 98 /// </summary> 99 internalstring LoadingErrorInformation {99 public string LoadingErrorInformation { 100 100 get { 101 101 return loadingErrorInformation;
Note: See TracChangeset
for help on using the changeset viewer.