public AttachedFiles( EntityFileManagerCollection entityFileManagers, IFileManager filer) { this.entityFileManagers = entityFileManagers; this.filer = filer; }
private static EntityFileManagerCollection GetDocumentSecurityRuleCollection(AppDependencyInjectionContainer container) { var ruleCollection = new EntityFileManagerCollection(container); ruleCollection.RegisterAssembly(typeof(Core.Bootstrap).GetAssembly()); return(ruleCollection); }
public DetachFile(IFileManager context, EntityFileManagerCollection documentSecurityRule, UserContext userContext) { this.context = context; this.documentSecurityRules = documentSecurityRule; this.userContext = userContext; }
public AttachFiles(IFileManager context, EntityFileManagerCollection entityFileSecurityRuleCollection, UserContext userContext) { this.context = context; this.entityFileSecurityRuleCollection = entityFileSecurityRuleCollection; this.userContext = userContext; }