Skip to content

Commit b54b397

Browse files
committed
Imported from 084635c250445bbe2aa67ce2f65108724e2e2d44
https://github.com/3F/vsSolutionBuildEvent
1 parent 6d93c70 commit b54b397

26 files changed

Lines changed: 2664 additions & 0 deletions

.gitignore

Lines changed: 251 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,251 @@
1+
# Specific
2+
3+
/SobaScript.MapperTest/Appveyor.TestLogger*
4+
5+
# ...
6+
7+
## Ignore Visual Studio temporary files, build results, and
8+
## files generated by popular Visual Studio add-ons.
9+
10+
# User-specific files
11+
*.suo
12+
*.user
13+
*.userosscache
14+
*.sln.docstates
15+
16+
# User-specific files (MonoDevelop/Xamarin Studio)
17+
*.userprefs
18+
19+
# Build results
20+
[Dd]ebug/
21+
[Dd]ebugPublic/
22+
[Rr]elease/
23+
[Rr]eleases/
24+
[Xx]64/
25+
[Xx]86/
26+
[Bb]uild/
27+
bld/
28+
[Bb]in/
29+
[Oo]bj/
30+
31+
# Visual Studio 2015 cache/options directory
32+
.vs/
33+
# Uncomment if you have tasks that create the project's static files in wwwroot
34+
#wwwroot/
35+
36+
# MSTest test Results
37+
[Tt]est[Rr]esult*/
38+
[Bb]uild[Ll]og.*
39+
40+
# NUNIT
41+
*.VisualState.xml
42+
TestResult.xml
43+
44+
# Build Results of an ATL Project
45+
[Dd]ebugPS/
46+
[Rr]eleasePS/
47+
dlldata.c
48+
49+
# DNX
50+
project.lock.json
51+
artifacts/
52+
53+
*_i.c
54+
*_p.c
55+
*_i.h
56+
*.ilk
57+
*.meta
58+
*.obj
59+
*.pch
60+
*.pdb
61+
*.pgc
62+
*.pgd
63+
*.rsp
64+
*.sbr
65+
*.tlb
66+
*.tli
67+
*.tlh
68+
*.tmp
69+
*.tmp_proj
70+
*.log
71+
*.vspscc
72+
*.vssscc
73+
.builds
74+
*.pidb
75+
*.svclog
76+
*.scc
77+
78+
# Chutzpah Test files
79+
_Chutzpah*
80+
81+
# Visual C++ cache files
82+
ipch/
83+
*.aps
84+
*.ncb
85+
*.opendb
86+
*.opensdf
87+
*.sdf
88+
*.cachefile
89+
*.VC.db
90+
91+
# Visual Studio profiler
92+
*.psess
93+
*.vsp
94+
*.vspx
95+
*.sap
96+
97+
# TFS 2012 Local Workspace
98+
$tf/
99+
100+
# Guidance Automation Toolkit
101+
*.gpState
102+
103+
# ReSharper is a .NET coding add-in
104+
_ReSharper*/
105+
*.[Rr]e[Ss]harper
106+
*.DotSettings.user
107+
108+
# JustCode is a .NET coding add-in
109+
.JustCode
110+
111+
# TeamCity is a build add-in
112+
_TeamCity*
113+
114+
# DotCover is a Code Coverage Tool
115+
*.dotCover
116+
117+
# NCrunch
118+
_NCrunch_*
119+
.*crunch*.local.xml
120+
nCrunchTemp_*
121+
122+
# MightyMoose
123+
*.mm.*
124+
AutoTest.Net/
125+
126+
# Web workbench (sass)
127+
.sass-cache/
128+
129+
# Installshield output folder
130+
[Ee]xpress/
131+
132+
# DocProject is a documentation generator add-in
133+
DocProject/buildhelp/
134+
DocProject/Help/*.HxT
135+
DocProject/Help/*.HxC
136+
DocProject/Help/*.hhc
137+
DocProject/Help/*.hhk
138+
DocProject/Help/*.hhp
139+
DocProject/Help/Html2
140+
DocProject/Help/html
141+
142+
# Click-Once directory
143+
publish/
144+
145+
# Publish Web Output
146+
*.[Pp]ublish.xml
147+
*.azurePubxml
148+
149+
# TODO: Un-comment the next line if you do not want to checkin
150+
# your web deploy settings because they may include unencrypted
151+
# passwords
152+
#*.pubxml
153+
*.publishproj
154+
155+
# NuGet Packages
156+
*.nupkg
157+
# The packages folder can be ignored because of Package Restore
158+
**/packages/*
159+
# except build/, which is used as an MSBuild target.
160+
!**/packages/build/
161+
# Uncomment if necessary however generally it will be regenerated when needed
162+
#!**/packages/repositories.config
163+
# NuGet v3's project.json files produces more ignoreable files
164+
*.nuget.props
165+
*.nuget.targets
166+
167+
# Microsoft Azure Build Output
168+
csx/
169+
*.build.csdef
170+
171+
# Microsoft Azure Emulator
172+
ecf/
173+
rcf/
174+
175+
# Microsoft Azure ApplicationInsights config file
176+
ApplicationInsights.config
177+
178+
# Windows Store app package directory
179+
AppPackages/
180+
BundleArtifacts/
181+
182+
# Visual Studio cache files
183+
# files ending in .cache can be ignored
184+
*.[Cc]ache
185+
# but keep track of directories ending in .cache
186+
!*.[Cc]ache/
187+
188+
# Others
189+
ClientBin/
190+
[Ss]tyle[Cc]op.*
191+
~$*
192+
*~
193+
*.dbmdl
194+
*.dbproj.schemaview
195+
*.pfx
196+
*.publishsettings
197+
node_modules/
198+
orleans.codegen.cs
199+
200+
# RIA/Silverlight projects
201+
Generated_Code/
202+
203+
# Backup & report files from converting an old project file
204+
# to a newer Visual Studio version. Backup files are not needed,
205+
# because we have git ;-)
206+
_UpgradeReport_Files/
207+
Backup*/
208+
UpgradeLog*.XML
209+
UpgradeLog*.htm
210+
211+
# SQL Server files
212+
*.mdf
213+
*.ldf
214+
215+
# Business Intelligence projects
216+
*.rdl.data
217+
*.bim.layout
218+
*.bim_*.settings
219+
220+
# Microsoft Fakes
221+
FakesAssemblies/
222+
223+
# GhostDoc plugin setting file
224+
*.GhostDoc.xml
225+
226+
# Node.js Tools for Visual Studio
227+
.ntvs_analysis.dat
228+
229+
# Visual Studio 6 build log
230+
*.plg
231+
232+
# Visual Studio 6 workspace options file
233+
*.opt
234+
235+
# Visual Studio LightSwitch build output
236+
**/*.HTMLClient/GeneratedArtifacts
237+
**/*.DesktopClient/GeneratedArtifacts
238+
**/*.DesktopClient/ModelManifest.xml
239+
**/*.Server/GeneratedArtifacts
240+
**/*.Server/ModelManifest.xml
241+
_Pvt_Extensions
242+
243+
# LightSwitch generated files
244+
GeneratedArtifacts/
245+
ModelManifest.xml
246+
247+
# Paket dependency manager
248+
.paket/paket.exe
249+
250+
# FAKE - F# Make
251+
.fake/
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2014-2019 Denis Kuzmin < x-3F@outlook.com > GitHub/3F
5+
* Copyright (c) SobaScript.Mapper contributors: https://github.com/3F/SobaScript.Mapper/graphs/contributors
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
* THE SOFTWARE.
24+
*/
25+
26+
using System;
27+
28+
namespace net.r_eg.SobaScript.Mapper
29+
{
30+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false)]
31+
public class ComponentAttribute: Attribute, IAttrDomLevelA
32+
{
33+
/// <summary>
34+
/// Component name.
35+
/// </summary>
36+
public string Name
37+
{
38+
get;
39+
protected set;
40+
}
41+
42+
/// <summary>
43+
/// About component.
44+
/// </summary>
45+
public string Description
46+
{
47+
get;
48+
protected set;
49+
}
50+
51+
/// <summary>
52+
/// Name of parent specification if exists or null.
53+
/// </summary>
54+
public string Parent
55+
{
56+
get;
57+
protected set;
58+
}
59+
60+
/// <summary>
61+
/// Aliases to the primary name if used.
62+
/// </summary>
63+
public string[] Aliases
64+
{
65+
get;
66+
protected set;
67+
}
68+
69+
/// <param name="name">Component name.</param>
70+
/// <param name="description">About component.</param>
71+
/// <param name="parent">Name of parent specification if exists or null.</param>
72+
public ComponentAttribute(string name, string description, string parent)
73+
{
74+
Name = name;
75+
Description = description;
76+
Parent = parent;
77+
}
78+
79+
/// <param name="name">Component name.</param>
80+
/// <param name="description">About component.</param>
81+
public ComponentAttribute(string name, string description)
82+
: this(name, description, null)
83+
{
84+
85+
}
86+
87+
/// <param name="name">Component name.</param>
88+
/// <param name="aliases">Aliases to the primary name if used.</param>
89+
/// <param name="description">About component.</param>
90+
/// <param name="parent">Name of parent specification if exists or null.</param>
91+
public ComponentAttribute(string name, string[] aliases, string description, string parent)
92+
: this(name, description, null)
93+
{
94+
Aliases = aliases;
95+
}
96+
97+
/// <param name="name">Component name.</param>
98+
/// <param name="aliases">Aliases to the primary name if used.</param>
99+
/// <param name="description">About component.</param>
100+
public ComponentAttribute(string name, string[] aliases, string description)
101+
: this(name, aliases, description, null)
102+
{
103+
104+
}
105+
}
106+
}

0 commit comments

Comments
 (0)