Exemplo n.º 1
0
 public AttachedFiles(
     EntityFileManagerCollection entityFileManagers,
     IFileManager filer)
 {
     this.entityFileManagers = entityFileManagers;
     this.filer = filer;
 }
Exemplo n.º 2
0
        private static EntityFileManagerCollection GetDocumentSecurityRuleCollection(AppDependencyInjectionContainer container)
        {
            var ruleCollection = new EntityFileManagerCollection(container);

            ruleCollection.RegisterAssembly(typeof(Core.Bootstrap).GetAssembly());

            return(ruleCollection);
        }
Exemplo n.º 3
0
 public DetachFile(IFileManager context, EntityFileManagerCollection documentSecurityRule, UserContext userContext)
 {
     this.context = context;
     this.documentSecurityRules = documentSecurityRule;
     this.userContext           = userContext;
 }
Exemplo n.º 4
0
 public AttachFiles(IFileManager context, EntityFileManagerCollection entityFileSecurityRuleCollection, UserContext userContext)
 {
     this.context = context;
     this.entityFileSecurityRuleCollection = entityFileSecurityRuleCollection;
     this.userContext = userContext;
 }