当前位置: 首页>>代码示例>>C#>>正文


C# Privacy类代码示例

本文整理汇总了C#中Privacy的典型用法代码示例。如果您正苦于以下问题:C# Privacy类的具体用法?C# Privacy怎么用?C# Privacy使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Privacy类属于命名空间,在下文中一共展示了Privacy类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: CreateOrUpdateCatalogCommand

 public CreateOrUpdateCatalogCommand(long catalogId, string name, long userId, Privacy visibility)
 {
     CatalogId = catalogId;
     Name = name;
     UserId = userId;
     Visibility = visibility;
 }
开发者ID:sondreb,项目名称:InTheBoks,代码行数:7,代码来源:CreateOrUpdateCatalogCommand.cs

示例2: TextTag

 public TextTag(string Author, Privacy Privacy, string Id, long Timestamp)
 {
     author = Author;
     privacy = Privacy; 
     id = Id;
     timestamp = Timestamp;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:7,代码来源:Extensions.cs

示例3: Create

 public long Create(string catalogName, string description, Privacy privacy)
 {
     return Call<long>("create", new
     {
         Name = catalogName,
         Description = description,
         Privacy = privacy
     });
 }
开发者ID:SYW,项目名称:social-insight,代码行数:9,代码来源:CatalogsApi.cs

示例4: CanvasContentDescriptor

 public CanvasContentDescriptor(double X, double Y, double W, double H, Privacy P, string T)
 {
     x = X;
     y = Y;
     w = W;
     h = H;
     privacy = P;
     target = T;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:9,代码来源:ConversationDescriptor.cs

示例5: TextDescriptor

 public TextDescriptor(double X, double Y, double W, double H, Privacy P, string T, string Content, string FF, double FS, string FW, string FD, System.Windows.Media.Color FC) : base(X, Y, W, H,P,T)
 {
     fontFamily = FF;
     fontSize = FS;
     fontWeight = FW;
     fontDecoration = FD;
     content = Content;
     fontColor = FC;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:9,代码来源:ConversationDescriptor.cs

示例6: UploadPhoto

 public UploadPhoto(Guid id, Guid user, Stream file, string filename, string contenttype, Privacy privacy, ICommandSender bus)
 {
     Id = id;
     UserId = user;
     File = file;
     Filename = filename;
     ContentType = contenttype;
     Privacy = privacy;
     Bus = bus;
 }
开发者ID:ElizaReiGWCD,项目名称:ImageCandy,代码行数:10,代码来源:UploadPhoto.cs

示例7: ImageTag

 public ImageTag(string Author, Privacy Privacy, string Id, bool IsBackground, long Timestamp, string ResourceIdentity, int ZIndex = 0)
 {
     author = Author;
     privacy = Privacy; 
     id = Id;
     isBackground = IsBackground;
     zIndex = ZIndex;
     resourceIdentity = ResourceIdentity;
     timestamp = Timestamp;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:10,代码来源:Extensions.cs

示例8: VisualizedPowerpointContent

 public VisualizedPowerpointContent(int s, double x, double y, double w, double h, Privacy p, string t)
 {
     Slide = s;
     X = x;
     Y = y;
     Width = w;
     Height = h;
     Privacy = p;
     Target = t;
 }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:10,代码来源:PowerPointContent.xaml.cs

示例9: RemoteFile

        private RemoteFile(int id, string filename, string title, long size, int categoryId, bool active, int userId, Privacy privacy)
            : base(filename, title, privacy)
        {
            Id = id;
            Size = size;
            Active = active;

            this.userId = userId;

            this.categoryId = categoryId;
        }
开发者ID:rene-scheepers,项目名称:ict4events-filesharing,代码行数:11,代码来源:RemoteFile.cs

示例10: ApplyPrivacyStyling

        public static void ApplyPrivacyStyling(this FrameworkElement element, ContentBuffer contentBuffer, string target, Privacy newPrivacy)
        {
            if ((!Globals.conversationDetails.Permissions.studentCanWorkPublicly && !Globals.isAuthor) || (target == "notepad"))
            {
                element.RemovePrivacyStyling(contentBuffer); 
                return;
            }
            if (newPrivacy != Privacy.Private)
            {
                element.RemovePrivacyStyling(contentBuffer); 
                return;
            }

            ApplyShadowEffect(element, contentBuffer, Colors.Black);
        }
开发者ID:StackableRegiments,项目名称:metl2011,代码行数:15,代码来源:FrameworkElementExtensions.cs

示例11: AddMembershipAsync

 /// <remarks/>
 public void AddMembershipAsync(string accountName, MembershipData membershipInfo, string group, Privacy privacy, object userState) {
     if ((this.AddMembershipOperationCompleted == null)) {
         this.AddMembershipOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMembershipOperationCompleted);
     }
     this.InvokeAsync("AddMembership", new object[] {
                 accountName,
                 membershipInfo,
                 group,
                 privacy}, this.AddMembershipOperationCompleted, userState);
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:11,代码来源:Reference.cs

示例12: AddMembership

 public MembershipData AddMembership(string accountName, MembershipData membershipInfo, string group, Privacy privacy) {
     object[] results = this.Invoke("AddMembership", new object[] {
                 accountName,
                 membershipInfo,
                 group,
                 privacy});
     return ((MembershipData)(results[0]));
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:8,代码来源:Reference.cs

示例13: AddColleagueAsync

 /// <remarks/>
 public void AddColleagueAsync(string accountName, string colleagueAccountName, string group, Privacy privacy, bool isInWorkGroup, object userState) {
     if ((this.AddColleagueOperationCompleted == null)) {
         this.AddColleagueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddColleagueOperationCompleted);
     }
     this.InvokeAsync("AddColleague", new object[] {
                 accountName,
                 colleagueAccountName,
                 group,
                 privacy,
                 isInWorkGroup}, this.AddColleagueOperationCompleted, userState);
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:12,代码来源:Reference.cs

示例14: AddColleague

 public ContactData AddColleague(string accountName, string colleagueAccountName, string group, Privacy privacy, bool isInWorkGroup) {
     object[] results = this.Invoke("AddColleague", new object[] {
                 accountName,
                 colleagueAccountName,
                 group,
                 privacy,
                 isInWorkGroup});
     return ((ContactData)(results[0]));
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:9,代码来源:Reference.cs

示例15: UpdateMembershipPrivacy

 public void UpdateMembershipPrivacy(string accountName, System.Guid sourceInternal, string sourceReference, Privacy newPrivacy) {
     this.Invoke("UpdateMembershipPrivacy", new object[] {
                 accountName,
                 sourceInternal,
                 sourceReference,
                 newPrivacy});
 }
开发者ID:gcode-mirror,项目名称:chafam,代码行数:7,代码来源:Reference.cs


注:本文中的Privacy类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。