This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<string> FunctionHandler(S3Event evnt, ILambdaContext context) | |
{ | |
var s3Event = evnt.Records?[0].S3; | |
if(s3Event == null) | |
{ | |
return null; | |
} | |
try | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Web; | |
namespace Iwannabebot.Utility.Web | |
{ | |
public class MimeService | |
{ | |
public static string Get(string extension) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Amazon.Lambda.Core; | |
using Amazon.Lambda.S3Events; | |
using Amazon.S3; | |
using Amazon.S3.Util; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface XrmMetaAttribute { | |
LogicalName: string; | |
MetadataId: string; | |
DisplayName: DisplayName; | |
Description: Description; | |
IsCustomizable: IsCustomizable; | |
IsAuditEnabled: IsAuditEnabled; | |
OptionsSet: any; | |
AttributeType: string; | |
HasChanged?: any; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Extensions.Logging; | |
namespace GrapeCity.Documents.Imaging.FunctionsV2 | |
{ | |
public static class ThumbnailFunction | |
{ | |
[FunctionName("ThumbnailFunction")] | |
public static void Run( |
OlderNewer