Skip to content

Commit

Permalink
Исправление неправильного использования устаревших алиасов
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilBeaver committed Nov 5, 2024
1 parent 56fb337 commit fe68d7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/OneScript.StandardLibrary/Binary/GlobalBinaryData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static IAttachableContext CreateInstance()
/// </summary>
/// <param name="array">Массив объектов типа ДвоичныеДанные.</param>
/// <returns>Тип: ДвоичныеДанные.</returns>
[ContextMethod("СоединитьДвоичныеДанные", "ConcatenateBinaryData", IsDeprecated = true)]
[ContextMethod("ConcatenateBinaryData", IsDeprecated = true)]
[ContextMethod("СоединитьДвоичныеДанные", "ConcatBinaryData")]
public BinaryDataContext ConcatBinaryData(ArrayImpl array)
{
Expand Down
2 changes: 1 addition & 1 deletion src/OneScript.StandardLibrary/FileContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public string Extension
}
}

[ContextMethod("Существует","Exist", IsDeprecated = true)]
[ContextMethod("Exist", IsDeprecated = true)]
[ContextMethod("Существует","Exists")]
public bool Exists()
{
Expand Down
4 changes: 2 additions & 2 deletions src/OneScript.StandardLibrary/Http/HttpRequestContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ public IValue GetBodyFileName()
/// Установить тело запроса из объекта ДвоичныеДанные
/// </summary>
/// <param name="data"></param>
[ContextMethod("УстановитьТелоИзДвоичныхДанных", "SetBodyFromBinary", IsDeprecated = true)]
[ContextMethod("SetBodyFromBinary", IsDeprecated = true)]
[ContextMethod("УстановитьТелоИзДвоичныхДанных", "SetBodyFromBinaryData")]
public void SetBodyFromBinary(BinaryDataContext data)
{
SetBody(new HttpRequestBodyBinary(data));
}

[ContextMethod("ПолучитьТелоКакДвоичныеДанные", "GetBodyAsBinary", IsDeprecated = true)]
[ContextMethod("GetBodyAsBinary", IsDeprecated = true)]
[ContextMethod("ПолучитьТелоКакДвоичныеДанные", "GetBodyAsBinaryData")]
public IValue GetBodyFromBinary()
{
Expand Down

0 comments on commit fe68d7f

Please sign in to comment.