-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImageStorage.xml
187 lines (185 loc) · 7.46 KB
/
ImageStorage.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0"?>
<doc>
<assembly>
<name>ImageStorage</name>
</assembly>
<members>
<member name="T:ImageStorage.Controllers.ImageController">
<summary>
Image storage contoller
</summary>
</member>
<member name="M:ImageStorage.Controllers.ImageController.#ctor(ImageStorage.Services.IMagick,ImageStorage.Services.IStorage)">
<summary>
DI frough constructor
</summary>
<param name="magickService">Magick service</param>
<param name="storageService">Storage service</param>
</member>
<member name="M:ImageStorage.Controllers.ImageController.Add(System.String,System.Nullable{System.Guid})">
<summary>
Add image
<remarks>
Sample request:
POST imgage Base64String from body
</remarks>
</summary>
<param name="parrentId">Previos image id</param>
<param name="img">image</param>
<returns>Id image</returns>
</member>
<member name="M:ImageStorage.Controllers.ImageController.Get(System.Nullable{System.Guid})">
<summary>
Get image
</summary>
<param name="id">image id</param>
</member>
<member name="M:ImageStorage.Controllers.ImageController.GetPrevios(System.Guid)">
<summary>
Get previos image
</summary>
<param name="id">image id</param>
</member>
<member name="M:ImageStorage.Controllers.ImageController.GetCircle(System.Nullable{System.Guid})">
<summary>
Get circle image
</summary>
<param name="id">image id</param>
</member>
<member name="M:ImageStorage.Controllers.ImageController.GetResize(System.Int32,System.Int32,System.Nullable{System.Guid})">
<summary>
Get resize image
</summary>
<param name="id">image id</param>
<param name="height">height</param>
<param name="width">width</param>
</member>
<member name="M:ImageStorage.Controllers.ImageController.Delete(System.Guid)">
<summary>
Delete image
</summary>
<param name="id">Id image</param>
<response code="201">Returns true</response>
<response code="400">Return false if try delete default image</response>
</member>
<member name="T:ImageStorage.Models.StorageItem">
<summary>
Item redis storage
</summary>
</member>
<member name="P:ImageStorage.Models.StorageItem.Id">
<summary>
Id
</summary>
</member>
<member name="P:ImageStorage.Models.StorageItem.ParrentId">
<summary>
Parrent Id default Guid.Empty
</summary>
</member>
<member name="T:ImageStorage.Services.IMagick">
<summary>
Interface for works Magick.NET library
</summary>
</member>
<member name="M:ImageStorage.Services.IMagick.MakeCircle(System.Byte[])">
<summary>
Make circle image
</summary>
<param name="img">image</param>
<returns></returns>
</member>
<member name="M:ImageStorage.Services.IMagick.MakeResize(System.Byte[],System.Int32,System.Int32)">
<summary>
Make resize image
</summary>
<param name="img">image</param>
<param name="heigth">heigth</param>
<param name="width">width</param>
<returns></returns>
</member>
<member name="M:ImageStorage.Services.IMagick.MakeTransperent(System.Byte[])">
<summary>
Сhange white background to transparent
</summary>
<param name="img">Image</param>
<returns></returns>
</member>
<member name="T:ImageStorage.Services.IStorage">
<summary>
Storage interface
</summary>
</member>
<member name="M:ImageStorage.Services.IStorage.GetImage(System.Guid)">
<summary>
Get image
</summary>
<param name="id">id image</param>
<returns></returns>
</member>
<member name="M:ImageStorage.Services.IStorage.GetPreviosImage(System.Guid)">
<summary>
Get previos image
</summary>
<param name="id">id image</param>
<returns></returns>
</member>
<member name="M:ImageStorage.Services.IStorage.GetImagePath(System.Guid)">
<summary>
Get image path
</summary>
<param name="id">id image</param>
<returns></returns>
</member>
<member name="M:ImageStorage.Services.IStorage.SaveImage(System.Guid,System.Byte[])">
<summary>
Save image
</summary>
<param name="parrentId">parrent id image</param>
<param name="image">image</param>
<returns></returns>
</member>
<member name="M:ImageStorage.Services.IStorage.DeleteImage(System.Guid)">
<summary>
Delete image
</summary>
<param name="id">id image</param>
<returns></returns>
</member>
<member name="T:ImageStorage.Services.Magick">
<inheritdoc cref="T:ImageStorage.Services.IMagick"/>
</member>
<member name="M:ImageStorage.Services.Magick.MakeCircle(System.Byte[])">
<inheritdoc cref="M:ImageStorage.Services.IMagick.MakeCircle(System.Byte[])"/>
</member>
<member name="M:ImageStorage.Services.Magick.MakeResize(System.Byte[],System.Int32,System.Int32)">
<inheritdoc cref="M:ImageStorage.Services.IMagick.MakeResize(System.Byte[],System.Int32,System.Int32)"/>
</member>
<member name="M:ImageStorage.Services.Magick.MakeTransperent(System.Byte[])">
<inheritdoc cref="M:ImageStorage.Services.IMagick.MakeTransperent(System.Byte[])"/>
</member>
<member name="T:ImageStorage.Services.Storage">
<inheritdoc cref="T:ImageStorage.Services.IStorage"/>
</member>
<member name="P:ImageStorage.Services.Storage.StoragePath">
<summary>
Storage path
</summary>
</member>
<member name="M:ImageStorage.Services.Storage.SaveImage(System.Guid,System.Byte[])">
<inheritdoc cref="M:ImageStorage.Services.IStorage.SaveImage(System.Guid,System.Byte[])"/>
</member>
<member name="M:ImageStorage.Services.Storage.DeleteImage(System.Guid)">
<inheritdoc cref="M:ImageStorage.Services.IStorage.DeleteImage(System.Guid)"/>
</member>
<member name="M:ImageStorage.Services.Storage.GetImagePath(System.Guid)">
<inheritdoc cref="M:ImageStorage.Services.IStorage.GetImagePath(System.Guid)"/>
</member>
<member name="M:ImageStorage.Services.Storage.GetImage(System.Guid)">
<inheritdoc cref="M:ImageStorage.Services.IStorage.GetImage(System.Guid)"/>
</member>
<member name="M:ImageStorage.Services.Storage.GetPreviosImage(System.Guid)">
<inheritdoc cref="M:ImageStorage.Services.IStorage.GetPreviosImage(System.Guid)"/>
</member>
</members>
</doc>