コード例 #1
0
        public bool SetAttributes(NSFileAttributes attributes, string path)
        {
            NSError ignore;
            if (attributes == null)
                throw new ArgumentNullException ("attributes");

            return SetAttributes (attributes.ToDictionary (), path, out ignore);
        }
コード例 #2
0
 public bool CreateFile(string path, NSData data, NSFileAttributes attributes)
 {
     var dict = attributes == null ? null : attributes.ToDictionary ();
     return CreateFile (path, data, dict);
 }
コード例 #3
0
        public bool CreateFile(string path, NSData data, NSFileAttributes attributes)
        {
            var dict = attributes == null ? null : attributes.ToDictionary();

            return(CreateFile(path, data, dict));
        }
コード例 #4
0
 public bool CreateDirectory(string path, bool createIntermediates, NSFileAttributes attributes)
 {
     NSError error;
     var dict = attributes == null ? null : attributes.ToDictionary ();
     return CreateDirectory (path, createIntermediates, dict, out error);
 }
コード例 #5
0
        public bool CreateDirectory(string path, bool createIntermediates, NSFileAttributes attributes, out NSError error)
        {
            var dict = attributes == null ? null : attributes.ToDictionary();

            return(CreateDirectory(path, createIntermediates, dict, out error));
        }