You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.182
Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
parent
c911219690
commit
804b15604f
@@ -28,56 +28,74 @@
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System.Security.AccessControl;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
public static partial class FileSystemAclExtensions
|
||||
public static class FileSystemAclExtensions
|
||||
{
|
||||
[MonoTODO]
|
||||
public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo)
|
||||
public static DirectorySecurity GetAccessControl(this DirectoryInfo directoryInfo)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (directoryInfo == null)
|
||||
throw new ArgumentNullException (nameof (directoryInfo));
|
||||
|
||||
return directoryInfo.GetAccessControl ();
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.AccessControlSections includeSections)
|
||||
public static DirectorySecurity GetAccessControl(this DirectoryInfo directoryInfo, AccessControlSections includeSections)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (directoryInfo == null)
|
||||
throw new ArgumentNullException (nameof (directoryInfo));
|
||||
|
||||
return directoryInfo.GetAccessControl (includeSections);
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo)
|
||||
public static FileSecurity GetAccessControl(this FileInfo fileInfo)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (fileInfo == null)
|
||||
throw new ArgumentNullException (nameof (fileInfo));
|
||||
|
||||
return fileInfo.GetAccessControl ();
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.AccessControlSections includeSections)
|
||||
public static FileSecurity GetAccessControl(this FileInfo fileInfo, AccessControlSections includeSections)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (fileInfo == null)
|
||||
throw new ArgumentNullException (nameof (fileInfo));
|
||||
|
||||
return fileInfo.GetAccessControl (includeSections);
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileStream fileStream)
|
||||
public static FileSecurity GetAccessControl(this FileStream fileStream)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (fileStream == null)
|
||||
throw new ArgumentNullException (nameof (fileStream));
|
||||
|
||||
return fileStream.GetAccessControl ();
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
public static void SetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity)
|
||||
public static void SetAccessControl(this DirectoryInfo directoryInfo, DirectorySecurity directorySecurity)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (directoryInfo == null)
|
||||
throw new ArgumentNullException (nameof (directoryInfo));
|
||||
|
||||
directoryInfo.SetAccessControl (directorySecurity);
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
public static void SetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.FileSecurity fileSecurity)
|
||||
public static void SetAccessControl(this FileInfo fileInfo, FileSecurity fileSecurity)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (fileInfo == null)
|
||||
throw new ArgumentNullException (nameof (fileInfo));
|
||||
|
||||
fileInfo.SetAccessControl (fileSecurity);
|
||||
}
|
||||
|
||||
[MonoTODO]
|
||||
public static void SetAccessControl(this System.IO.FileStream fileStream, System.Security.AccessControl.FileSecurity fileSecurity)
|
||||
public static void SetAccessControl(this FileStream fileStream, FileSecurity fileSecurity)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
if (fileStream == null)
|
||||
throw new ArgumentNullException (nameof (fileStream));
|
||||
|
||||
fileStream.SetAccessControl (fileSecurity);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user